(2013-09-19, 23:40)extension23 Wrote: Are there any gamepads that work by default in openelec and retro player?
+1. I have a whole bunch of different gamepads, and have had limited success getting them to work with RetroPlayer (or in some cases XBMC itself)
Here's a list, and what the result was:
PS3 controller via Bluetooth -- Can't even pair this thing, tried sixpair and sixad, with no success. Got it to pair for a few seconds once, then it disappeared. Could be my crappy BT adapter. Pairs great with my Mac (and anything else)
Xbox 360 Wireless w/ adapter -- Pairs fine, buttons work, but the triggers are sending odd values, causing the Fast-forward to be stuck on. This is, apparently, a known issue according to the comments in the keymap, possibly related to the Xpad driver I could edit the xml and remove the back triggers, but I want/need to use them, if I want to, for example, play a PSX game
Xbox 360 Wired -- Same as above
Wiimote -- Pairs fine, but needs remapping. Controller extensions (Classic Controller) are not working, but that's a different/deeper issue.
Ouya controller -- Pairs fine, but needs remapping.
I'm new to getting under the hood with XBMC, but I'd be happy to dive in and help remap and track down issues with these.
I got the controller names out of /proc/bus/input/devices, so now all I need is a way to get the button and axis numbers. Various wiki pages point at xbmc.log, but the output there on a button press doesn't seem to correspond to what we need for the xml keymaps, and analog axes aren't reporting at all.
For example, here's me poking some buttons on the Ouya controller
Code:
22:59:54 T:140510102005568 DEBUG: ------ Window Init (Pointer.xml) ------
22:59:59 T:140510102005568 DEBUG: LIRC: Update - NEW at 2195480:160 0 KEY_OK devinput (KEY_OK)
22:59:59 T:140510102005568 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
22:59:59 T:140510102005568 DEBUG: ------ Window Deinit (Pointer.xml) ------
22:59:59 T:140510102005568 DEBUG: LIRC: Update - NEW at 2195647:160 0 KEY_OK_UP devinput (KEY_OK_UP)
23:00:19 T:140510102005568 DEBUG: LIRC: Update - NEW at 2215530:80 0 KEY_STOP devinput (KEY_STOP)
23:00:19 T:140510102005568 DEBUG: OnKey: 224 (0xe0) pressed, action is Stop
23:00:19 T:140510102005568 DEBUG: LIRC: Update - NEW at 2215663:80 0 KEY_STOP_UP devinput (KEY_STOP_UP)
23:00:31 T:140510102005568 DEBUG: LIRC: Update - NEW at 2227647:160 0 KEY_OK devinput (KEY_OK)
23:00:31 T:140510102005568 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
23:00:31 T:140510102005568 DEBUG: LIRC: Update - NEW at 2227813:160 0 KEY_OK_UP devinput (KEY_OK_UP)
23:00:34 T:140510102005568 DEBUG: LIRC: Update - NEW at 2231113:80 0 KEY_STOP devinput (KEY_STOP)
23:00:34 T:140510102005568 DEBUG: OnKey: 224 (0xe0) pressed, action is Stop
23:00:34 T:140510102005568 DEBUG: LIRC: Update - NEW at 2231263:80 0 KEY_STOP_UP devinput (KEY_STOP_UP)
23:00:52 T:140510102005568 DEBUG: LIRC: Update - NEW at 2248927:16d 0 KEY_EPG devinput (KEY_EPG)
23:00:52 T:140510102005568 DEBUG: OnKey: 229 (0xe5) pressed, action is ContextMenu
23:00:52 T:140510102005568 DEBUG: LIRC: Update - NEW at 2249043:16d 0 KEY_EPG_UP devinput (KEY_EPG_UP)
23:01:04 T:140510102005568 DEBUG: LIRC: Update - NEW at 2261043:ae 0 KEY_EXIT devinput (KEY_EXIT)
23:01:04 T:140510102005568 DEBUG: OnKey: menu (0xd8) pressed, action is Back
23:01:04 T:140510102005568 DEBUG: LIRC: Update - NEW at 2261160:ae 0 KEY_EXIT_UP devinput (KEY_EXIT_UP)
Would that be "button 11", followed by "button 224", etc?
In case it matters, I'm running from a Fusion x86_64 build I made from git yesterday afternoon. Everything else works absolutely great, so I'm eager to get a controller working!