2015-03-19, 21:03
Hi,
Does anyone know how to prevent Kodi from grabbing the event devices in "/dev/input"? Or, alternatively, how make kodi release these devices at runtime?
The reason I need to do this is that I'm using Kodi in combination with Advanced Launcher for launching emulators (retroarch, mupen64plus and the like). Since I'm running kodi on an ARM-SBC without X11, I need to stop kodi before launching the actual emulator and resume it after exiting the game, which i'm doing via a custom launcher script:
This part basically works great, except that my Xbox360 controller does not work when I launch emulators like that, because kodi still has control of /dev/input/event2 so that retroarch cannot use them, as reported by:
I disabled joystick and mouse support in guisettings.xml (I'm only using yatse to control Kodi).
Thanks in advance,
Jan
Does anyone know how to prevent Kodi from grabbing the event devices in "/dev/input"? Or, alternatively, how make kodi release these devices at runtime?
The reason I need to do this is that I'm using Kodi in combination with Advanced Launcher for launching emulators (retroarch, mupen64plus and the like). Since I'm running kodi on an ARM-SBC without X11, I need to stop kodi before launching the actual emulator and resume it after exiting the game, which i'm doing via a custom launcher script:
Code:
kill -STOP $(pgrep kodi.bin)
# playing games
kill -CONT $(pgrep kodi.bin)
Code:
$ lsof /dev/input/event0
I disabled joystick and mouse support in guisettings.xml (I'm only using yatse to control Kodi).
Thanks in advance,
Jan