-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
ui: Support changing controller/keyboard mappings #1516
base: master
Are you sure you want to change the base?
Conversation
Hello! Good job! Will there be mouse support? |
Mouse support is out of scope for this PR |
bd67afa
to
a33bec2
Compare
2df6c52
to
d9a01b2
Compare
Can we also have an option to switch the controller image to Controller S? |
2a055d3
to
35244d8
Compare
It is planned to add mapping profiles? That way they can be assigned per-game. |
This section takes up a lot of space vertically in the UI. Would it be better to have the grid in a collapsible container? |
This could use a rebase, and also, I second that the UI rebind should be a smaller element with a slider that way you can go through it, that's a long boi |
Adds a configuration scheme and UI for remapping keyboard/gamepad inputs to the emulated controller. I tried to keep it as modular as possible so that #1478 can extend this system with other devices and the other devices can be mapped independently.
Resolves #136 and supersedes #1301
Leaving in draft initially as this requires some genconfig PRs to be merged-- the genconfig submodule is currently pointed to my fork. I've formatted the PR using clang-format, which is why it differs at points from neighboring code. I am leaving it as-is because formatting code I haven't touched will make this already large change harder to review, but can do so if needed.