aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorvdrfan <vdrfan@svn>2010-06-05 11:33:55 +0000
committervdrfan <vdrfan@svn>2010-06-05 11:33:55 +0000
commitad790402d8e4963e2e3a0e9f5551cfd9aa6ce3f8 (patch)
tree84fb890c13f9fc04d349982227ef72d8f08bd74f /system
parent664e940475a6fce07811f86da4db3db7905eb0eb (diff)
added: initial version of a ps3 remote keyboard keymap (thanks schusie!)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30839 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system')
-rw-r--r--system/keymaps/joystick.PS3.Remote.Keyboard.xml303
1 files changed, 303 insertions, 0 deletions
diff --git a/system/keymaps/joystick.PS3.Remote.Keyboard.xml b/system/keymaps/joystick.PS3.Remote.Keyboard.xml
new file mode 100644
index 0000000000..2fecd01147
--- /dev/null
+++ b/system/keymaps/joystick.PS3.Remote.Keyboard.xml
@@ -0,0 +1,303 @@
+<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
+<!-- The <global> section is a fall through - they will only be used if the button is not -->
+<!-- used in the current window's section. Note that there is only handling -->
+<!-- for a single action per button at this stage. -->
+<!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox -->
+<!-- gamepads. -->
+
+<!-- The format is: -->
+<!-- <device> -->
+<!-- <button>action</button> -->
+<!-- </device> -->
+
+<!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
+<!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
+<!-- You set it up by adding a <universalremote> block to the window or <global> section: -->
+<!-- <universalremote> -->
+<!-- <obc45>Stop</obc45> -->
+<!-- </universalremote> -->
+<!-- To find out the OBC's of your remote, try enabling the <displayremotecodes> tag in AdvancedSettings.xml -->
+
+<!-- Note that the action can be a built-in function. -->
+<!-- eg <B>XBMC.ActivateWindow(MyMusic)</B> -->
+<!-- would automatically go to My Music on the press of the B button. -->
+
+<!-- Joysticks / Gamepads: -->
+<!-- See the sample PS3 controller configuration below for the format. -->
+<!-- -->
+<!-- Joystick Name: -->
+<!-- Do 'cat /proc/bus/input/devices' or see your xbmc log file to find the names of -->
+<!-- detected joysticks. The name used in the configuration should match the detected name. -->
+<!-- -->
+<!-- Button Ids: -->
+<!-- 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear -->
+<!-- in xbmc.log when they are pressed. Use your log to map custom buttons to actions. -->
+<!-- -->
+<!-- Axis Ids / Analog Controls -->
+<!-- Coming soon. -->
+<keymap>
+ <global>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="1">Info</button>
+ <button id="2">Select</button>
+ <button id="3">ParentDir</button>
+ <button id="4">ContextMenu</button>
+ <button id="5">SkipPrevious</button>
+ <button id="6">SkipNext</button>
+ <button id="9">Select</button>
+ <button id="10">FullScreen</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>
+ <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>
+
+ <Visualisation>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <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="PLAYSTATION(R)3 Remote Keyboard">
+ <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="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">Close</button>
+ </joystick>
+ </FullscreenInfo>
+
+ <FullscreenVideo>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="2">Play</button>
+ <button id="3">Stop</button>
+ <button id="4">OSD</button>
+ <button id="7">Rewind</button>
+ <button id="8">FastForward</button>
+ <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="PLAYSTATION(R)3 Remote Keyboard">
+ <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="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">Close</button>
+ </joystick>
+ </OSDVideoSettings>
+
+ <OSDAudioSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">Close</button>
+ </joystick>
+ </OSDAudioSettings>
+
+ <ContextMenu>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">Close</button>
+ </joystick>
+ </ContextMenu>
+
+ <shutdownmenu>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </shutdownmenu>
+
+ <submenu>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </submenu>
+
+ <Settings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </Settings>
+
+ <MyPicturesSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </MyPicturesSettings>
+
+ <MyProgramsSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </MyProgramsSettings>
+
+ <MyWeatherSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </MyWeatherSettings>
+
+ <MyMusicSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </MyMusicSettings>
+
+ <SystemSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </SystemSettings>
+
+ <MyVideosSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </MyVideosSettings>
+
+ <NetworkSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </NetworkSettings>
+
+ <AppearanceSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="32">PreviousMenu</button>
+ </joystick>
+ </AppearanceSettings>
+
+ <Profiles>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </Profiles>
+
+ <systeminfo>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </systeminfo>
+
+ <MusicInformation>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">Close</button>
+ </joystick>
+ </MusicInformation>
+
+ <MovieInformation>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">Close</button>
+ </joystick>
+ </MovieInformation>
+
+ <LockSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </LockSettings>
+
+ <ProfileSettings>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="3">PreviousMenu</button>
+ </joystick>
+ </ProfileSettings>
+
+ <PictureInfo>
+ <joystick name="PLAYSTATION(R)3 Remote Keyboard">
+ <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="PLAYSTATION(R)3 Remote Keyboard">
+ <altname>PS3 Remote Keyboard</altname>
+ <altname>MoSart PS3 Remote Keyboard</altname>
+ <button id="1">Close</button>
+ <button id="4">OSD</button>
+ </joystick>
+ </FullscreenInfo>
+</keymap>