Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Mapping a Game Controller in Kodi › Reply To: Mapping a Game Controller in Kodi
Hey dudleydes,
With the link you provided I was able to get joystick control in kodi no problems, but once I leave kodi a few things happen.
#1. The joystick no longer works
#2. If I quit ES afterwards to get to the terminal screen its just black and eventually goes back to ES. If I hit a key while its black it just stays black. I already upgraded to Kodi 15.2
When I run
sudo /home/pi/MyJoy/loadmap /home/pi/MyJoy/kodi.map
from the terminal I get the same output I listed above ( with the inclusion of the xbox gamepad from trying the other link ) but again nothing being written on the screen.
I also changed all the button presses to letters in the map file
button vendor=0x11c0 product=0x5500 src=2 target=kbd button="a"
button vendor=0x11c0 product=0x5500 src=1 target=kbd button="b"
# Triangle to bring up conextual menu
button vendor=0x11c0 product=0x5500 src=0 target=kbd button="c"
# Play Media
# R1 to play/pause and L1 to stop
#utton vendor=0x11c0 product=0x5500 src=11 target=kbd button="d"
#utton vendor=0x11c0 product=0x5500 src=10 target=kbd button="e"
# Exit Kodi by pressing Select and Start
button vendor=0x11c0 product=0x5500 src=9 target=kbd button="f"
button vendor=0x11c0 product=0x5500 src=8 target=kbd button="g"