Kodi Community Forum
Detect which gamepad slot inserted - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+--- Thread: Detect which gamepad slot inserted (/showthread.php?tid=23045)



Detect which gamepad slot inserted - Rover - 2006-11-06

Is there anyway to detect a gamepad insertion ?

I'd like to create an autostart script to kick off my snes emulator only if a gamepad is insterted into say slot 4.


- solexalex - 2006-11-06

arf
As I know... no !
I wanted to use such a thing too, but I didn't succeed.
For example when you connect a memory card, it is mounted on the fly, the header for the mount is memX:// with X the first number available (first mounted = mem0, second = mem1...)
It would have been great to know where it is mounted.

Another solution can be to use skin variables as it is a known info in the skin...