Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- 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> -->
- <!-- 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="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">Select</button>
- <button id="2">ParentDir</button>
- <button id="3">FullScreen</button>
- <button id="4">ContextMenu</button>
- <button id="5">Stop</button>
- <button id="6">Pause</button>
- <button id="7">PreviousMenu</button>
- <button id="8">XBMC.ActivateWindow(shutdownmenu) </button>
- <button id="9">Playlist</button>
- <button id="10">XBMC.UpdateLibrary(video)</button>
- <hat id="1" position="up">Up</hat>
- <hat id="1" position="down">Down</hat>
- <hat id="1" position="right">Right</hat>
- <hat id="1" position="left">Left</hat>
- <axis limit="-1" id="4">VolumeUp</axis>
- <axis limit="+1" id="4">VolumeDown</axis>
- <axis limit="-1" id="5">AnalogSeekBack</axis>
- <axis limit="+1" id="5">AnalogSeekForward</axis>
- <axis limit="-1" id="3">ScrollDown</axis>
- <axis limit="+1" id="3">ScrollUp</axis>
- </joystick>
- </global>
- <Home>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">XBMC.Skin.ToggleSetting(HomeViewToggle)</button>
- </joystick>
- </Home>
- <MyFiles>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="5">Highlight</button>
- </joystick>
- </MyFiles>
- <MyMusicPlaylist>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">Back</button>
- <button id="5">Delete</button>
- </joystick>
- </MyMusicPlaylist>
- <MyMusicFiles>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">Playlist</button>
- <button id="5">Queue</button>
- </joystick>
- </MyMusicFiles>
- <MyMusicLibrary>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">Playlist</button>
- <button id="5">Queue</button>
- </joystick>
- </MyMusicLibrary>
- <FullscreenVideo>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">Pause</button>
- <button id="2">Stop</button>
- <button id="3">CodecInfo</button>
- <button id="5">AspectRatio</button>
- <button id="6">Info</button>
- <button id="9">OSD</button>
- <button id="13">BigStepForward</button>
- <button id="14">StepForward</button>
- <button id="15">BigStepBack</button>
- <button id="16">StepBack</button>
- <button id="17">SmallStepBack</button>
- <axis limit="0" id="3">AnalogRewind</axis>
- <axis limit="0" id="6">AnalogFastForward</axis>
- </joystick>
- </FullscreenVideo>
- <FullscreenInfo>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">Pause</button>
- <button id="2">Stop</button>
- <button id="3">FullScreen</button>
- <button id="4">SkipNext</button>
- <button id="5">CodecInfo</button>
- <button id="6">ShowTime</button>
- <button id="7">Info</button>
- <button id="8">OSD</button>
- <axis limit="-1" id="3">AnalogFastForward</axis>
- <axis limit="+1" id="3">AnalogRewind</axis>
- <hat id="1" position="up">BigStepForward</hat>
- <hat id="1" position="right">StepForward</hat>
- <hat id="1" position="down">BigStepBack</hat>
- <hat id="1" position="left">StepBack</hat>
- </joystick>
- </FullscreenInfo>
- <PlayerControls>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="9">Back</button>
- </joystick>
- </PlayerControls>
- <Visualisation>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">Pause</button>
- <button id="2">Stop</button>
- <button id="3">CodecInfo</button>
- <button id="5">XBMC.ActivateWindow(VisualisationPresetList)</button>
- <button id="6">Info</button>
- <button id="9">XBMC.ActivateWindow(MusicOSD)</button>
- <button id="13">NextPreset</button>
- <button id="14">SkipNext</button>
- <button id="15">PreviousPreset</button>
- <button id="16">SkipPrevious</button>
- <axis limit="0" id="3">AnalogRewind</axis>
- <axis limit="0" id="6">AnalogFastForward</axis>
- </joystick>
- </Visualisation>
- <MusicOSD>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="19">Back</button>
- <button id="3">CodecInfo</button>
- <button id="6">Info</button>
- </joystick>
- </MusicOSD>
- <VisualisationSettings>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">Back</button>
- <button id="9">Back</button>
- </joystick>
- </VisualisationSettings>
- <VisualisationPresetList>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">Back</button>
- <button id="5">Back</button>
- <button id="9">Back</button>
- </joystick>
- </VisualisationPresetList>
- <SlideShow>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">Pause</button>
- <button id="2">Stop</button>
- <button id="3">CodecInfo</button>
- <button id="4">ZoomNormal</button>
- <button id="5">Rotate</button>
- <button id="6">Info</button>
- <button id="13">ZoomIn</button>
- <button id="14">NextPicture</button>
- <button id="15">ZoomOut</button>
- <button id="16">PreviousPicture</button>
- <button id="17">Stop</button>
- </joystick>
- </SlideShow>
- <ScreenCalibration>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">NextCalibration</button>
- <button id="3">ResetCalibration</button>
- <button id="6">NextResolution</button>
- </joystick>
- </ScreenCalibration>
- <GUICalibration>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="1">NextCalibration</button>
- <button id="3">ResetCalibration</button>
- <button id="6">NextResolution</button>
- </joystick>
- </GUICalibration>
- <VideoOSD>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="9">Back</button>
- </joystick>
- </VideoOSD>
- <VideoMenu>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="5">AspectRatio</button>
- <button id="2">Stop</button>
- <button id="9">OSD</button>
- <button id="6">Info</button>
- <button id="3">CodecInfo</button>
- </joystick>
- </VideoMenu>
- <OSDVideoSettings>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="4"/>
- <button id="5">AspectRatio</button>
- <button id="19">Back</button>
- </joystick>
- </OSDVideoSettings>
- <OSDAudioSettings>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="4"/>
- <button id="5">AspectRatio</button>
- <button id="19">Back</button>
- </joystick>
- </OSDAudioSettings>
- <VideoBookmarks>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="4"/>
- <button id="5">Delete</button>
- <button id="19">Back</button>
- </joystick>
- </VideoBookmarks>
- <MyVideoLibrary>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">Delete</button>
- </joystick>
- </MyVideoLibrary>
- <MyVideoFiles>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="5">Queue</button>
- <button id="3">Playlist</button>
- </joystick>
- </MyVideoFiles>
- <MyVideoPlaylist>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="5">Delete</button>
- <button id="3">Back</button>
- </joystick>
- </MyVideoPlaylist>
- <VirtualKeyboard>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="9">Enter</button>
- <button id="2">BackSpace</button>
- <button id="5">Shift</button>
- <button id="4">Symbols</button>
- </joystick>
- </VirtualKeyboard>
- <ContextMenu>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="6">Back</button>
- </joystick>
- </ContextMenu>
- <Scripts>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="3">XBMC.ActivateWindow(ScriptsDebugInfo)</button>
- </joystick>
- </Scripts>
- <NumericInput>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="2">BackSpace</button>
- <button id="9">Enter</button>
- </joystick>
- </NumericInput>
- <GamepadInput>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="9">Stop</button> <!-- Enter Password -->
- </joystick>
- </GamepadInput>
- <LockSettings>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="9">Back</button>
- </joystick>
- </LockSettings>
- <ProfileSettings>
- <joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">
- <button id="9">Back</button>
- </joystick>
- </ProfileSettings>
- </keymap>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement