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

User-mappable buttons in WASD and SDL2 mods #20

Open
Clownacy opened this issue Jul 14, 2017 · 0 comments
Open

User-mappable buttons in WASD and SDL2 mods #20

Clownacy opened this issue Jul 14, 2017 · 0 comments

Comments

@Clownacy
Copy link
Owner

Clownacy commented Jul 14, 2017

This should be easy, really. From the user's point of view, there should just be a 'settings.txt' that looks like this:

jump = z
shoot = x
up = up
down = down
left = left
right = right

...Actually, now that I think about it, virtual vs. physical key locations will be tricky. I can just see the flood of '';' doesn't actually use ';'' issues already.

Well, this won't be an issue for controllers anyway... or will it? I guess I can just force XInput button names.

Or maybe even SDL2's own keycodes. They're not something I can just expect the user the know, however, so I may need to add comment support first.

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