swer
2009-05-28, 20:55
Hello I have a problem mapping my PS3 remote in XBMC
I'm using bdremote to connect my PS3 remote, This is working well with Mplayer Xine VDR MMS adnd irexec.
First I mapped all my Lirc keys using this Lircmap.xml
<lircmap>
<remote device="SonyBDRemote">
<obc1>1</obc1>
<obc2>2</obc2>
<obc3>3</obc3>
<obc4>4</obc4>
<obc5>5</obc5>
<obc6>6</obc6>
<obc7>7</obc7>
<obc8>8</obc8>
<obc9>9</obc9>
<obc10>0</obc10>
<obc11>enter</obc11>
<obc12>up</obc12>
<obc13>right</obc13>
<obc14>down</obc14>
<obc15>left</obc15>
<obc16>circle</obc16>
<obc17>stop</obc17>
<obc18>pause</obc18>
<obc19>ps</obc19>
<obc20>prev</obc20>
<obc21>next</obc21>
<obc22>play</obc22>
<obc23>scanrev</obc23>
<obc24>scanfwd</obc24>
<obc25>cross</obc25>
<obc26>eject</obc26>
<obc27>select</obc27>
<obc28>l3</obc28>
<obc29>r3</obc29>
<obc30>start</obc30>
<obc31>l2</obc31>
<obc32>r2</obc32>
<obc33>l1</obc33>
<obc34>r1</obc34>
<obc35>triangle</obc35>
<obc36>topmenu</obc36>
<obc37>time</obc37>
<obc38>square</obc38>
<obc39>return</obc39>
<obc40>clear</obc40>
<obc41>popup</obc41>
<obc42>steprev</obc42>
<obc43>stepfwd</obc43>
<obc44>subtitle</obc44>
<obc45>audio</obc45>
<obc46>angle</obc46>
<obc47>display</obc47>
<obc48>blue</obc48>
<obc49>red</obc49>
<obc50>green</obc50>
<obc51>yellow</obc51>
</remote>
</lircmap>
Then I crated a basic Keymap.xml with only a few Keys int the global section. But some Keys worked in XBMC even they wasn't in the Keymap.xml.
Some examples are:
yellow obc51 did vol down.
display obc47 did vol down
scanrev obc23 brings a Configure Screenshots menu
subtitle obc44 did pagedown
So is there some build in defaults for obc codes. How can I Over write them.
I tried obc47></obc47 and mapped obc51 to ToggleWatched but it didn't helped.
This is my Keymap.xml for the moment.
<keymap>
<global>
<universalremote>
<obc1>Number1</obc1>
<obc2>Number2</obc2>
<obc3>Number3</obc3>
<obc4>Number4</obc4>
<obc5>Number5</obc5>
<obc6>Number6</obc6>
<obc7>Number7</obc7>
<obc8>Number8</obc8>
<obc9>Number9</obc9>
<obc10>Number0</obc10>
<obc11>Select</obc11>
<obc12>Up</obc12>
<obc13>Right</obc13>
<obc14>Down</obc14>
<obc15>Left</obc15>
<obc16>PreviousMenu</obc16>
<obc17>Stop</obc17>
<obc18>Pause</obc18>
<obc19>XBMC.ActivateWindow(ShutDownMenu)</obc19>
<obc20>SkipPrevious</obc20>
<obc21>SkipNext</obc21>
<obc22>Play</obc22>
<obc23>Rewind</obc23>
<obc24>FastForward</obc24>
<obc25>Info</obc25>
<obc26>XBMC.EjectTray()</obc26>
<obc27>Select</obc27>
<obc28>ShowSubtitles</obc28>
<obc29>NextSubtitle</obc29>
<obc30>Play</obc30>
<obc31>ZoomOut</obc31>
<obc32>ZoomIn</obc32>
<obc33>PageUp</obc33>
<obc34>PageDown</obc34>
<obc35>ContextMenu</obc35>
<obc36>ShowVideoMenu</obc36>
<obc37>ShowTime</obc37>
<obc38>AspectRatio</obc38>
<obc39>ParentDir</obc39>
<obc40>BackSpace</obc40>
<obc41>ContextMenu</obc41>
<obc42>StepBack</obc42>
<obc43>StepForward</obc43>
<obc44>ShowSubtitles</obc44>
<obc45></obc45>
<obc46></obc46>
<obc47>CodecInfo</obc47>
<obc48>ToggleWatched</obc48>
<obc49>ToggleWatched</obc49>
<obc50>ToggleWatched</obc50>
<obc51>ToggleWatched</obc51>
</universalremote>
</global>
<fullscreenvideo>
<universalremote>
<obc11>OSD</obc11>
<obc16>FullScreen</obc16>
<obc39>FullScreen</obc39>
<obc45>XBMC.ActivateWindow(124)</obc45>
<obc46>XBMC.ActivateWindow(123)</obc46>
</universalremote>
</fullscreenvideo>
<visualisation>
<universalremote>
<obc11>OSD</obc11>
<obc39>FullScreen</obc39>
<obc16>FullScreen</obc16>
</universalremote>
</visualisation>
<shutdownmenu>
<universalremote>
<obc19>PreviousMenu</obc19>
</universalremote>
</shutdownmenu>
<home>
<universalremote>
<obc16>FullScreen</obc16>
<obc39>FullScreen</obc39>
</universalremote>
</home>
</keymap>
I'm on gentoo using the svn version of xbmc (pre-9.20 r20643)
Compiled with ebuilt from portage.
Arch is x86_64.
Im not sure if this problem apply only for Linux or if its a general Problem.
I'm using bdremote to connect my PS3 remote, This is working well with Mplayer Xine VDR MMS adnd irexec.
First I mapped all my Lirc keys using this Lircmap.xml
<lircmap>
<remote device="SonyBDRemote">
<obc1>1</obc1>
<obc2>2</obc2>
<obc3>3</obc3>
<obc4>4</obc4>
<obc5>5</obc5>
<obc6>6</obc6>
<obc7>7</obc7>
<obc8>8</obc8>
<obc9>9</obc9>
<obc10>0</obc10>
<obc11>enter</obc11>
<obc12>up</obc12>
<obc13>right</obc13>
<obc14>down</obc14>
<obc15>left</obc15>
<obc16>circle</obc16>
<obc17>stop</obc17>
<obc18>pause</obc18>
<obc19>ps</obc19>
<obc20>prev</obc20>
<obc21>next</obc21>
<obc22>play</obc22>
<obc23>scanrev</obc23>
<obc24>scanfwd</obc24>
<obc25>cross</obc25>
<obc26>eject</obc26>
<obc27>select</obc27>
<obc28>l3</obc28>
<obc29>r3</obc29>
<obc30>start</obc30>
<obc31>l2</obc31>
<obc32>r2</obc32>
<obc33>l1</obc33>
<obc34>r1</obc34>
<obc35>triangle</obc35>
<obc36>topmenu</obc36>
<obc37>time</obc37>
<obc38>square</obc38>
<obc39>return</obc39>
<obc40>clear</obc40>
<obc41>popup</obc41>
<obc42>steprev</obc42>
<obc43>stepfwd</obc43>
<obc44>subtitle</obc44>
<obc45>audio</obc45>
<obc46>angle</obc46>
<obc47>display</obc47>
<obc48>blue</obc48>
<obc49>red</obc49>
<obc50>green</obc50>
<obc51>yellow</obc51>
</remote>
</lircmap>
Then I crated a basic Keymap.xml with only a few Keys int the global section. But some Keys worked in XBMC even they wasn't in the Keymap.xml.
Some examples are:
yellow obc51 did vol down.
display obc47 did vol down
scanrev obc23 brings a Configure Screenshots menu
subtitle obc44 did pagedown
So is there some build in defaults for obc codes. How can I Over write them.
I tried obc47></obc47 and mapped obc51 to ToggleWatched but it didn't helped.
This is my Keymap.xml for the moment.
<keymap>
<global>
<universalremote>
<obc1>Number1</obc1>
<obc2>Number2</obc2>
<obc3>Number3</obc3>
<obc4>Number4</obc4>
<obc5>Number5</obc5>
<obc6>Number6</obc6>
<obc7>Number7</obc7>
<obc8>Number8</obc8>
<obc9>Number9</obc9>
<obc10>Number0</obc10>
<obc11>Select</obc11>
<obc12>Up</obc12>
<obc13>Right</obc13>
<obc14>Down</obc14>
<obc15>Left</obc15>
<obc16>PreviousMenu</obc16>
<obc17>Stop</obc17>
<obc18>Pause</obc18>
<obc19>XBMC.ActivateWindow(ShutDownMenu)</obc19>
<obc20>SkipPrevious</obc20>
<obc21>SkipNext</obc21>
<obc22>Play</obc22>
<obc23>Rewind</obc23>
<obc24>FastForward</obc24>
<obc25>Info</obc25>
<obc26>XBMC.EjectTray()</obc26>
<obc27>Select</obc27>
<obc28>ShowSubtitles</obc28>
<obc29>NextSubtitle</obc29>
<obc30>Play</obc30>
<obc31>ZoomOut</obc31>
<obc32>ZoomIn</obc32>
<obc33>PageUp</obc33>
<obc34>PageDown</obc34>
<obc35>ContextMenu</obc35>
<obc36>ShowVideoMenu</obc36>
<obc37>ShowTime</obc37>
<obc38>AspectRatio</obc38>
<obc39>ParentDir</obc39>
<obc40>BackSpace</obc40>
<obc41>ContextMenu</obc41>
<obc42>StepBack</obc42>
<obc43>StepForward</obc43>
<obc44>ShowSubtitles</obc44>
<obc45></obc45>
<obc46></obc46>
<obc47>CodecInfo</obc47>
<obc48>ToggleWatched</obc48>
<obc49>ToggleWatched</obc49>
<obc50>ToggleWatched</obc50>
<obc51>ToggleWatched</obc51>
</universalremote>
</global>
<fullscreenvideo>
<universalremote>
<obc11>OSD</obc11>
<obc16>FullScreen</obc16>
<obc39>FullScreen</obc39>
<obc45>XBMC.ActivateWindow(124)</obc45>
<obc46>XBMC.ActivateWindow(123)</obc46>
</universalremote>
</fullscreenvideo>
<visualisation>
<universalremote>
<obc11>OSD</obc11>
<obc39>FullScreen</obc39>
<obc16>FullScreen</obc16>
</universalremote>
</visualisation>
<shutdownmenu>
<universalremote>
<obc19>PreviousMenu</obc19>
</universalremote>
</shutdownmenu>
<home>
<universalremote>
<obc16>FullScreen</obc16>
<obc39>FullScreen</obc39>
</universalremote>
</home>
</keymap>
I'm on gentoo using the svn version of xbmc (pre-9.20 r20643)
Compiled with ebuilt from portage.
Arch is x86_64.
Im not sure if this problem apply only for Linux or if its a general Problem.