7th Sep, 2013, 11:34 AM
I finally got RetroPie up and running on Xbian. Lots of little issue's along the way (getting sound working was one). Now I would like to control XBMC via my PS3 controller, which is already working in Xbian over usb. I tried creating a keymap.xml is ".xbmc/userdata/keymaps/keymap.xml" but it still it not working. Controller works fine in emulationstation/retroarch. i got the ps3 config from the xbmc wiki.
I got the name of my generic PS3 controller using the following command.
Which gave me the name and following info.
I edited in the name of my controller but it still it not working. Here is a snippet of the edit to keymap.xml
What do I need to do to get this PS3 controller working in XBMC?
Off topic quetion. I stopped XBMC from starting on boot, but how do I set emulationstation to start on boot?
Code:
<keymap>
<global>
<joystick name="PLAYSTATION(R)3 Controller (00:06:F7:66:24:76)">
<button id="1">Info</button> <!-- Select -->
<button id="2">ContextMenu</button> <!-- L3 -->
<button id="3">CodecInfo</button> <!-- R3 -->
<button id="4">Play</button> <!-- Start -->
<button id="5">Up</button> <!-- D-Pad Up -->
<button id="6">Right</button> <!-- D-Pad Right -->
<button id="7">Down</button> <!-- D-Pad Down -->
<button id="8">Left</button> <!-- D-Pad Left -->
<button id="9">Rewind</button> <!-- L2 -->
<button id="10">FastForward</button> <!-- R2 -->
<button id="11">SkipPrevious</button> <!-- L1 -->
<button id="12">SkipNext</button> <!-- R1 -->
<button id="13">ParentDir</button> <!-- Triangle -->
<button id="14">Stop</button> <!-- Circle -->
<button id="15">Select</button> <!-- X -->
<button id="16">OSD</button> <!-- Square -->
</joystick>
</global>
</keymap>
I got the name of my generic PS3 controller using the following command.
Code:
cat /proc/bus/input/devices
Code:
I: Bus=0003 Vendor=054c Product=0268 Version=0111
N: Name="SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller"
P: Phys=usb-bcm2708_usb-1.2/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input2
U: Uniq=
H: Handlers=event2 js0
B: PROP=0
B: EV=1b
B: KEY=7 0 0 0 0 0 0 0 0 0 0 0 0 ffff 0 0 0 0 0 0 0 0 0
B: ABS=7fffff00 27
B: MSC=10
Code:
<keymap>
<global>
<joystick name="SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller">
What do I need to do to get this PS3 controller working in XBMC?
Off topic quetion. I stopped XBMC from starting on boot, but how do I set emulationstation to start on boot?