Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › How to add an Atari 5200 libretro Emulator? › Reply To: How to add an Atari 5200 libretro Emulator?
For me, I need to change the lines in /etc/rc.local to initialize xboxdrv. I haven’t worked out exactly what the change should be, since what I wrote above isn’t exactly working. I’ll try again later tonight though.
the jist of the change is this. in rc.local currently, you probably have something like this:
xboxdrv --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent &
Adding –next-config you can specify a second controller configuration that can be accessed by hitting the xbox button.
Using –ui-buttonmap, you can map the d-pad and buttons to keyboard buttons. So you should be able to add --next-config --ui-buttonmap followed by the key mapping before the &.
The part I’m missing, I think, is the correct key mapping.