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

Rewrite the input handling #496

Open
olofson opened this issue Oct 6, 2017 · 0 comments
Open

Rewrite the input handling #496

olofson opened this issue Oct 6, 2017 · 0 comments

Comments

@olofson
Copy link
Owner

olofson commented Oct 6, 2017

As of 0.7.x, there are basically two separate input handling subsystems; one for the UI and one for the actual game. Both of these have various issues;

  • Limited configurability. (Basic key binding config added recently, but that's all there is.)
  • Two different subsystems!?
  • The game input handler does parts of the decoding/combining on the wrong level, so for example, we can't temporarily disable mouse control without resetting and losing "stick" direction, regardless of actual source.
  • UI input lacks key repeat emulation. (This was once handled by SDL 1.2, but SDL2 doesn't have that feature.)

Maybe simply grab the input code (with config GUI) from Eelium/Kobo II, after incorporating EEL? Bonus: If people want really weird input configs, they can hack the scripts.

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

No branches or pull requests

1 participant