Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input doesnt work #290

Open
aloaf opened this issue Mar 1, 2022 · 9 comments
Open

input doesnt work #290

aloaf opened this issue Mar 1, 2022 · 9 comments

Comments

@aloaf
Copy link

aloaf commented Mar 1, 2022

for some reason, with any binary, the game launches but i cant get past the "press any key to regain control" screen. its the same with allure of the stars.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 1, 2022

Hi! Thank you for the report. Which binaries do you mean? Could you try some older versions? What's your OS? What's your SDL library version?

@Mikolaj
Copy link
Member

Mikolaj commented Mar 1, 2022

One more thing: could you try not only keyboard, but also the mouse? Could you try a commandline option that starts the game not in the mode with "press any key to regain control"?

@aloaf
Copy link
Author

aloaf commented Mar 2, 2022

OS: linux
SDL version : 2.0.20
mouse doesnt work either
everything works fine when its run through the terminal, it seems like its the SDL window that doesnt take any inputs, including close.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 2, 2022

Thank you.

I wonder what they broke again in SDL. I see SDL 2.0.20 is in Debian testing (https://packages.debian.org/bookworm/libsdl2-2.0-0) and Ubuntu 22.04, so it should soon be available to ordinary users. I guess I won't be able to debug until then.

Any help is kindly welcome.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 7, 2022

And it also seems that it can't compile with sdl2 2.0.20: haskell-game/sdl2#245

@dpwiz
Copy link

dpwiz commented Mar 10, 2022

I merged some polling fix, please try with sdl2 master.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 10, 2022

I've retried the windows CI (it uses sdl2 master branch) and it still doesn't build: https://ci.appveyor.com/project/Mikolaj/lambdahack/build/job/mun11rbmig1cb575

I can't test if it builds on Linux and whether it works once built. @aloaf: can you?

@aloaf
Copy link
Author

aloaf commented Mar 31, 2022

it builds, but now instead of not recognizing input at all, it completely stops responding after any input.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 31, 2022

Oh dear. Was that with version 2.5.3.2 of sdl2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants