xemu
xemu copied to clipboard
ui: Support changing controller/keyboard mappings
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.
Hello! Good job! Will there be mouse support?
Hello! Good job! Will there be mouse support?
Mouse support is out of scope for this PR
Can we also have an option to switch the controller image to Controller S?
It is planned to add mapping profiles? That way they can be assigned per-game.