diff options
Diffstat (limited to 'system/keymaps/joystick.Ouya.Controller.xml')
-rw-r--r-- | system/keymaps/joystick.Ouya.Controller.xml | 334 |
1 files changed, 334 insertions, 0 deletions
diff --git a/system/keymaps/joystick.Ouya.Controller.xml b/system/keymaps/joystick.Ouya.Controller.xml new file mode 100644 index 0000000000..347188d675 --- /dev/null +++ b/system/keymaps/joystick.Ouya.Controller.xml @@ -0,0 +1,334 @@ +<!-- Joystick Name: OUYA Game Controller --> +<!-- created by: N3MIS15 on the xbmc forum --> +<!-- http://forum.xbmc.org/showthread.php?tid=173516 --> + +<!-- Button Mappings in OpenELEC: --> +<!-- --> +<!-- ID Button --> +<!-- --> +<!-- 1 O --> +<!-- 2 U --> +<!-- 3 Y --> +<!-- 4 A --> +<!-- 5 Left Sholder --> +<!-- 6 Right Sholder --> +<!-- 7 Left Stick Button --> +<!-- 8 Right Stick Button --> +<!-- 9 D-Pad Up --> +<!-- 10 D-Pad Down --> +<!-- 11 D-Pad Left --> +<!-- 12 D-Pad Right --> + +<!-- Axis Mappings: --> +<!-- --> +<!-- ID Button --> +<!-- --> +<!-- 1 Left Stick L/R --> +<!-- 2 Left Stick U/D --> +<!-- 3 limit +1 Left Trigger Pressed --> +<!-- 3 limit -1 Left Trigger Depressed --> +<!-- 4 Right Stick L/R --> +<!-- 5 Right Stick U/D --> +<!-- 6 limit +1 Right Trigger Pressed --> +<!-- 6 limit -1 Right Trigger Depressed --> + +<keymap> + + <global> + <joystick name="OUYA Game Controller"> + <button id="1">Select</button> + <button id="2">ContextMenu</button> + <button id="3">FullScreen</button> + <button id="4">Back</button> + <button id="5">Queue</button> + <button id="6">Playlist</button> + <button id="7">PreviousMenu</button> + <button id="8">XBMC.ActivateWindow(Home)</button> + <button id="9">Up</button> + <button id="10">Down</button> + <button id="11">Left</button> + <button id="12">Right</button> + <axis id="4" limit="-1">AnalogSeekBack</axis> + <axis id="4" limit="+1">AnalogSeekForward</axis> + <axis id="2" limit="-1">ScrollUp</axis> + <axis id="2" limit="+1">ScrollDown</axis> + </joystick> + </global> + + <Home> + </Home> + + <MyFiles> + </MyFiles> + + <MyMusicPlaylist> + <joystick name="OUYA Game Controller"> + <button id="5">Delete</button> + </joystick> + </MyMusicPlaylist> + + <MyMusicFiles> + </MyMusicFiles> + + <MyMusicLibrary> + </MyMusicLibrary> + + <FullscreenVideo> + <joystick name="OUYA Game Controller"> + <button id="1">Pause</button> + <button id="2">OSD</button> + <button id="4">Stop</button> + <button id="5">AspectRatio</button> + <button id="6">ShowSubtitles</button> + <button id="7">SmallStepBack</button> + <button id="8">Info</button> + <button id="9">BigStepForward</button> + <button id="10">BigStepBack</button> + <button id="11">StepBack</button> + <button id="12">StepForward</button> + </joystick> + </FullscreenVideo> + + <FullscreenLiveTV> + <joystick name="OUYA Game Controller"> + <button id="9">ChannelUp</button> + <button id="10">ChannelDown</button> + <button id="11">PreviousChannelGroup</button> + <button id="12">NextChannelGroup</button> + </joystick> + </FullscreenLiveTV> + + <FullscreenInfo> + <joystick name="OUYA Game Controller"> + <button id="2">OSD</button> + <button id="4">Close</button> + <button id="8">Close</button> + <axis id="3" limit="+1">AnalogRewind</axis> + <axis id="3" limit="-1">AnalogFastForward</axis> + </joystick> + </FullscreenInfo> + + <PlayerControls> + <joystick name="OUYA Game Controller"> + <button id="2">Close</button> + <button id="7">Close</button> + <button id="8">Close</button> + </joystick> + </PlayerControls> + + <Visualisation> + <joystick name="OUYA Game Controller"> + <button id="1">Pause</button> + <button id="4">Stop</button> + <button id="2">XBMC.ActivateWindow(MusicOSD)</button> + <button id="5">XBMC.ActivateWindow(VisualisationPresetList)</button> + <button id="6">Info</button> + <button id="8">XBMC.ActivateWindow(MusicOSD)</button> + <button id="9">SkipNext</button> + <button id="10">SkipPrevious</button> + <button id="11">PreviousPreset</button> + <button id="12">NextPreset</button> + <axis id="3" limit="+1">AnalogRewind</axis> + <axis id="6" limit="+1">AnalogFastForward</axis> + </joystick> + </Visualisation> + + <MusicOSD> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + <button id="6">Info</button> + </joystick> + </MusicOSD> + + <VisualisationSettings> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </VisualisationSettings> + + <VisualisationPresetList> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </VisualisationPresetList> + + <SlideShow> + <joystick name="OUYA Game Controller"> + <button id="1">Pause</button> + <button id="4">Stop</button> + <button id="3">ZoomNormal</button> + <button id="5">Rotate</button> + <button id="6">CodecInfo</button> + <button id="11">PreviousPicture</button> + <button id="12">NextPicture</button> + <axis id="1">AnalogMove</axis> + <axis id="2">AnalogMove</axis> + <axis id="3" limit="+1">ZoomOut</axis> + <axis id="6" limit="+1">ZoomIn</axis> + </joystick> + </SlideShow> + + <ScreenCalibration> + <joystick name="OUYA Game Controller"> + <button id="2">ResetCalibration</button> + <button id="5">NextResolution</button> + <button id="6">NextCalibration</button> + </joystick> + </ScreenCalibration> + + <GUICalibration> + <joystick name="OUYA Game Controller"> + <button id="2">ResetCalibration</button> + <button id="5">NextResolution</button> + <button id="6">NextCalibration</button> + </joystick> + </GUICalibration> + + <VideoOSD> + <joystick name="OUYA Game Controller"> + <button id="2">Close</button> + </joystick> + </VideoOSD> + + <VideoMenu> + <joystick name="OUYA Game Controller"> + <button id="4">Stop</button> + <button id="2">OSD</button> + <button id="5">AspectRatio</button> + <button id="8">Info</button> + </joystick> + </VideoMenu> + + <OSDVideoSettings> + <joystick name="OUYA Game Controller"> + <button id="5">AspectRatio</button> + <button id="2">Close</button> + </joystick> + </OSDVideoSettings> + + <OSDAudioSettings> + <joystick name="OUYA Game Controller"> + <button id="5">AspectRatio</button> + <button id="2">Close</button> + </joystick> + </OSDAudioSettings> + + <VideoBookmarks> + <joystick name="OUYA Game Controller"> + <button id="5">Delete</button> + </joystick> + </VideoBookmarks> + + <MyVideoLibrary> + </MyVideoLibrary> + + <MyVideoFiles> + </MyVideoFiles> + + <MyVideoPlaylist> + <joystick name="OUYA Game Controller"> + <button id="5">Delete</button> + </joystick> + </MyVideoPlaylist> + + <VirtualKeyboard> + <joystick name="OUYA Game Controller"> + <button id="4">BackSpace</button> + <button id="3">Symbols</button> + <button id="5">Shift</button> + <button id="7">Enter</button> + <axis id="3" limit="+1">CursorLeft</axis> + <axis id="6" limit="+1">CursorRight</axis> + </joystick> + </VirtualKeyboard> + + <ContextMenu> + <joystick name="OUYA Game Controller"> + <button id="2">Close</button> + <button id="4">Close</button> + </joystick> + </ContextMenu> + + <Scripts> + <joystick name="OUYA Game Controller"> + <button id="2">Info</button> + </joystick> + </Scripts> + + <Settings> + <joystick name="OUYA Game Controller"> + <button id="4">PreviousMenu</button> + </joystick> + </Settings> + + <AddonInformation> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </AddonInformation> + + <AddonSettings> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </AddonSettings> + + <TextViewer> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </TextViewer> + + <shutdownmenu> + <joystick name="OUYA Game Controller"> + <button id="4">PreviousMenu</button> + <button id="7">PreviousMenu</button> + </joystick> + </shutdownmenu> + + <submenu> + <joystick name="OUYA Game Controller"> + <button id="4">PreviousMenu</button> + </joystick> + </submenu> + + <MusicInformation> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </MusicInformation> + + <MovieInformation> + <joystick name="OUYA Game Controller"> + <button id="4">Close</button> + </joystick> + </MovieInformation> + + <NumericInput> + <joystick name="OUYA Game Controller"> + <button id="4">BackSpace</button> + <button id="7">Enter</button> + </joystick> + </NumericInput> + + <GamepadInput> + <joystick name="OUYA Game Controller"> + <button id="7">Stop</button> + </joystick> + </GamepadInput> + + <LockSettings> + <joystick name="OUYA Game Controller"> + <button id="4">PreviousMenu</button> + <button id="7">Close</button> + </joystick> + </LockSettings> + + <ProfileSettings> + <joystick name="OUYA Game Controller"> + <button id="4">PreviousMenu</button> + <button id="7">Close</button> + </joystick> + </ProfileSettings> + +</keymap> |