PS3 Joystick Remote with XBMC -no pause
#1
Hello,

I am testing a new remote with XBMC , which is actually intended as a PS3 DVD remote. When connected to Windows or Linux the IR dongle is recognized as a joystick.

I have been testing on an Ubuntu 10.10 (Mint 10) , to ultimately install on a dedicated XB<C live installation.

Here is what I have so far
Code:
$ grep PS3 /proc/bus/input/devices
N: Name="ACRUX IR PS3 Remote Pad"


$ jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (ACRUX IR PS3 Remote Pad) has 6 axes (X, Y, Z, Rz, Hat0X, Hat0Y)
and 13 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?).
Testing ... (interrupt to exit)
Axes:  0:-32767  1:-32767  2:-32767  3:-32767  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off


My keymap is based on the PS3 Remote pad which almost worked out of the box, however I wanted to modify some of the context specific keys as I was not getting to DVD menus, so I added the section at the end for "<VideoMenu>", which seems to allow me to navigate the DVD menus.

However once the video plays, I can not seem to get Pause and FF and REW to work (on the buttons I want) when the video is playing and I think this refers to the "<FullscreenVideo>" section



joystick.xml in next post



Thanks for any help
Reply
#2
<keymap>
<global>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="1">Info</button>
<button id="2">Play</button>
<button id="3">Stop</button>
<button id="4">OSD</button>
<button id="5">OSD</button>
<button id="7">Rewind</button>
<button id="8">FastForward</button>
<button id="9">Pause</button>
<button id="10">Pause</button>
<button id="12">VolumeUp</button>
<button id="11">VolumeDown</button>
<button id="13">XBMC.ActivateWindow(Home)</button>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
</joystick>
</global>



<Visualisation>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="4">XBMC.ActivateWindow(MusicOSD)</button>
<button id="1">Info</button>
<button id="2">Play</button>
<button id="3">Stop</button>
<hat id="1" position="left">SkipPrevious</hat>
<hat id="1" position="right">SkipNext</hat>
<hat id="1" position="up">IncreaseRating</hat>
<hat id="1" position="down">DecreaseRating</hat>
</joystick>
</Visualisation>

<MusicOSD>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="4">Close</button>
<button id="3">Close</button>
</joystick>
</MusicOSD>

<FullscreenInfo>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</FullscreenInfo>

<FullscreenVideo>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
<hat id="1" position="up">BigStepForward</hat>
<hat id="1" position="down">BigStepBack</hat>
</joystick>
</FullscreenVideo>

<VideoOSD>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="1">Info</button>
<button id="3">Close</button>
<button id="4">OSD</button>
</joystick>
</VideoOSD>

<OSDVideoSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</OSDVideoSettings>

<OSDAudioSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</OSDAudioSettings>

<ContextMenu>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</ContextMenu>

<shutdownmenu>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</shutdownmenu>

<submenu>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</submenu>

<Settings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</Settings>

<AddonInformation>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</AddonInformation>

<AddonSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</AddonSettings>

<TextViewer>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</TextViewer>

<MyPicturesSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</MyPicturesSettings>

<MyProgramsSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</MyProgramsSettings>

<MyWeatherSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</MyWeatherSettings>

<MyMusicSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</MyMusicSettings>

<SystemSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</SystemSettings>

<MyVideosSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</MyVideosSettings>

<NetworkSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</NetworkSettings>

<AppearanceSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="32">PreviousMenu</button>
</joystick>
</AppearanceSettings>

<Profiles>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</Profiles>

<systeminfo>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</systeminfo>

<MusicInformation>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</MusicInformation>

<MovieInformation>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</MovieInformation>

<LockSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</LockSettings>

<ProfileSettings>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">PreviousMenu</button>
</joystick>
</ProfileSettings>

<PictureInfo>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
<hat id="1" position="left">PreviousPicture</hat>
<hat id="1" position="right">NextPicture</hat>
</joystick>
</PictureInfo>

<FullscreenInfo>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="1">Close</button>
<button id="4">OSD</button>
</joystick>
</FullscreenInfo>

<NumericInput>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<button id="3">Close</button>
</joystick>
</NumericInput>

<VideoMenu>
<joystick name="ACRUX IR PS3 Remote Pad">
<altname>PS3 Remote Keyboard</altname>
<altname>MoSart PS3 Remote Keyboard</altname>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
</remote>
</joystick>
</VideoMenu>
</keymap>
Reply
#3
How did you get it work? the IR dongle & remote?
Reply

Logout Mark Read Team Forum Stats Members Help
PS3 Joystick Remote with XBMC -no pause0