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?
I think 305 is the x11 value for the right ctrl key. So try mapping a button to XK_305 using --ui-buttonmap a=XK_305
or --ui-buttonmap a=KEY_RIGHTCTRL
.