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

Override only configurable keys (partially fixes #1400) #1406

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

szborows
Copy link
Contributor

See #1400

Idea here is to introduce "configurable keys" because (unless there are some hacks in config file) it doesn't make sense to re-bind keys that can't be configured through GUI menu.

I'm not very familiar with the code base. I'm not sure if proposed resolution is proper one. I think it's a little bit fragile because it will be easy to introduce inconsistencies (e.g. adding more items to menu but forgetting about configurable keys set in keyboard config class).

Therefore please advise where this PR should go. And please let me know if re-binding keys that aren't present in the kbd menu should be allowed.

@szborows szborows force-pushed the 1400 branch 2 times, most recently from 5afc059 to e0265f3 Compare May 23, 2020 18:12
@tobbi
Copy link
Member

tobbi commented Jun 2, 2020

Thanks for that!

@tobbi tobbi merged commit f1438e4 into SuperTux:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants