Mapping function keys to Xbox controller buttons
-
I'm running the latest version of RetroPie and I'm trying to get the Atari 800 emulator working, but it uses keyboard keys like F1-F4 for machine-specific buttons like Start, etc.
Is there a way to map these to the buttons on the controller? By default I'm using the kernel driver (Xpad) and the guides I've seen recommend using the user space version (xboxdrv), but the wiki says that doesn't work properly with the new kernel.
The controller works fine in everything else, I just need to map, for example, the shoulder buttons to F1, etc.
-
JoyMap and Linux Joystick Mapper are two alternatives that may work.
-
Joymap doesn't contain anything and Joystick Mapper requires you to disable xpad to get the jsX device. Is there something that watches the jsX device and can send function key events?
-
Okay, I found a solution to my problem:
https://github.com/jfroco/atari800-rpi
It's an alternative binary for the atari800 emulator that maps RetroArch buttons to the START, SELECT and RESET keys. It adds some new options to the atari800.cfg file.
No need to do keymaps.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.