2011-04-16, 08:34
Okay this s not really a gamepad but presents itself as one in Ubuntu 10.10 (Linux Mint 10).
I: Bus=0003 Vendor=1130 Product=0202 Version=0110
N: Name="Compx Game Controller"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input42
U: Uniq=
H: Handlers=event4 js0
B: EV=1b
B: KEY=fff 0 0 0 0 0 0 0 0 0
B: ABS=3002f
B: MSC=10
It is the BluWave remote for PS3. It comes with its own IR Dongle and successfully sends Joystick commands to jstest /dev/input/js0
I have edited the PS3 remote file joystick.Sony.PLAYSTATION®3.Controller.xml
as follows and renamed it both gamepad.xml and remote.xml.
<code>
<keymap>
<global>
<joystick name="Compx Game Controller">
<altname>BluWave</altname>
<altname>IR Remote</altname>
<button id="15">Select</button>
<button id="14">ParentDir</button>
<button id="16">FullScreen</button>
<button id="13">Queue</button>
<button id="11">PreviousMenu</button>
<button id="8">Left</button>
<button id="6">Right</button>
<button id="5">Up</button>
<button id="7">Down</button>
<button id="2">Screenshot</button>
<button id="3">XBMC.ActivateWindow(ShutdownMenu)</button>
<button id="4">XBMC.ActivateWindow(PlayerControls)</button>
<axis limit="+1" id="4">VolumeDown</axis>
<axis limit="-1" id="4">VolumeUp</axis>
<axis limit="+1" id="1">AnalogSeekForward</axis>
<axis limit="-1" id="1">AnalogSeekBack</axis>
<axis limit="+1" id="13">ScrollUp</axis>
<axis limit="+1" id="14">ScrollDown</axis>
</joystick>
</global>
</keymap>
</code>
Unfortunately I get nothing out of XBMC . I then enabled debugging and see nothing for a detected game controller or remote
Am I missing something for XBMC to detect the remote that is effectively a USB gamepad?
Thanks
I: Bus=0003 Vendor=1130 Product=0202 Version=0110
N: Name="Compx Game Controller"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input42
U: Uniq=
H: Handlers=event4 js0
B: EV=1b
B: KEY=fff 0 0 0 0 0 0 0 0 0
B: ABS=3002f
B: MSC=10
It is the BluWave remote for PS3. It comes with its own IR Dongle and successfully sends Joystick commands to jstest /dev/input/js0
I have edited the PS3 remote file joystick.Sony.PLAYSTATION®3.Controller.xml
as follows and renamed it both gamepad.xml and remote.xml.
<code>
<keymap>
<global>
<joystick name="Compx Game Controller">
<altname>BluWave</altname>
<altname>IR Remote</altname>
<button id="15">Select</button>
<button id="14">ParentDir</button>
<button id="16">FullScreen</button>
<button id="13">Queue</button>
<button id="11">PreviousMenu</button>
<button id="8">Left</button>
<button id="6">Right</button>
<button id="5">Up</button>
<button id="7">Down</button>
<button id="2">Screenshot</button>
<button id="3">XBMC.ActivateWindow(ShutdownMenu)</button>
<button id="4">XBMC.ActivateWindow(PlayerControls)</button>
<axis limit="+1" id="4">VolumeDown</axis>
<axis limit="-1" id="4">VolumeUp</axis>
<axis limit="+1" id="1">AnalogSeekForward</axis>
<axis limit="-1" id="1">AnalogSeekBack</axis>
<axis limit="+1" id="13">ScrollUp</axis>
<axis limit="+1" id="14">ScrollDown</axis>
</joystick>
</global>
</keymap>
</code>
Unfortunately I get nothing out of XBMC . I then enabled debugging and see nothing for a detected game controller or remote
Am I missing something for XBMC to detect the remote that is effectively a USB gamepad?
Thanks