2010-11-21, 23:46
hey,
I'm having trouble configuring a psx controller to navigate in xbmc. I created a file ~/.xbmc/userdata/keymaps/psx-controller.xml containing :
(buttons and axis copied from http://forum.xbmc.org/archive/index.php/t-34608.html)
the controllers (there is two) are recognize:
the psx-controller.xml is loaded:
when pressing button/axis nothing happens, it said that "Joystick button ids of connected joysticks appear in xbmc.log when they are pressed." but nothing appears (debug is on).
I tried "remote send keyboard keys" option even if i'm not sure it's related => no changes.
cat /dev/input/js0 and cat /dev/input/js1 produce output when pressing buttons.
any idea why no button ids appears in log?
I'm having trouble configuring a psx controller to navigate in xbmc. I created a file ~/.xbmc/userdata/keymaps/psx-controller.xml containing :
Code:
<keymap>
<global>
<joystick name="Dual USB Vibration Joystick">
<button id="3">Select</button>
<button id="2">ParentDir</button>
<button id="1">Queue</button>
<button id="4">FullScreen</button>
<button id="8">ContextMenu</button>
<button id="9">PreviousMenu</button>
<button id="12">XBMC.ActivateWindow(ShutdownMenu)</button>
<button id="10">XBMC.ActivateWindow(PlayerControls)</button>
<axis id="2" limit="+1">VolumeDown</axis>
<axis id="2" limit="-1">VolumeUp</axis>
<axis id="4" limit="+1">AnalogSeekForward</axis>
<axis id="4" limit="-1">AnalogSeekBack</axis>
<axis id="5" limit="-1">Left</axis>
<axis id="5" limit="1">Right</axis>
<axis id="6" limit="-1">Up</axis>
<axis id="6" limit="1">Down</axis>
</joystick>
</global>
</keymap>
the controllers (there is two) are recognize:
Quote:$ cat xbmc.log | grep -i USB
22:22:48 T:3019474736 M:340013056 NOTICE: Enabled Joystick: Dual USB Vibration Joystick
22:22:48 T:3019474736 M:340025344 NOTICE: Enabled Joystick: Dual USB Vibration Joystick
the psx-controller.xml is loaded:
Quote:$ cat xbmc.log | grep psx
22:40:56 T:3019589424 M:326762496 INFO: Loading special://masterprofile/keymaps/psx-controller.xml
22:40:56 T:3019589424 M:326762496 INFO: Loading special://profile/keymaps/psx-controller.xml
when pressing button/axis nothing happens, it said that "Joystick button ids of connected joysticks appear in xbmc.log when they are pressed." but nothing appears (debug is on).
I tried "remote send keyboard keys" option even if i'm not sure it's related => no changes.
cat /dev/input/js0 and cat /dev/input/js1 produce output when pressing buttons.
any idea why no button ids appears in log?