summaryrefslogtreecommitdiffstats
path: root/system/keymaps/gamepad.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 18:07:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 18:07:22 +0000
commitc04dcc2e7d834218ef2d4194331e383402495ae1 (patch)
tree7333e38d10d75386e60f336b80c2443c1166031d /system/keymaps/gamepad.xml
parentInitial commit. (diff)
downloadkodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz
kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'system/keymaps/gamepad.xml')
-rw-r--r--system/keymaps/gamepad.xml322
1 files changed, 322 insertions, 0 deletions
diff --git a/system/keymaps/gamepad.xml b/system/keymaps/gamepad.xml
new file mode 100644
index 0000000..cc440c3
--- /dev/null
+++ b/system/keymaps/gamepad.xml
@@ -0,0 +1,322 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- This file contains the mapping of EventServer "gamepad" keys to actions within Kodi. -->
+<!-- -->
+<!-- The format is: -->
+<!-- <window> -->
+<!-- <device> -->
+<!-- <button>action</button> -->
+<!-- </device> -->
+<!-- </window> -->
+<!-- -->
+<!-- The <global> section is a fall through - they will only be used if the button is -->
+<!-- not used in the current window's section. -->
+<!-- -->
+<!-- Actions can be built-in functions. -->
+<!-- eg <B>ActivateWindow(Music)</B> -->
+<!-- would automatically go to Music on the press of the B button. -->
+<!-- -->
+<!-- -->
+<!-- An empty action removes the corresponding mapping from default and parent keymaps. -->
+<!-- This is different from a "noop" action, which disables a button. -->
+<!-- -->
+<!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps -->
+<keymap>
+ <global>
+ <gamepad>
+ <A>Select</A>
+ <B>Back</B>
+ <X>FullScreen</X>
+ <Y>Queue</Y>
+ <white>ContextMenu</white>
+ <black/>
+ <start>ActivateWindow(PlayerControls)</start>
+ <back>PreviousMenu</back>
+ <dpadleft>Left</dpadleft>
+ <dpadright>Right</dpadright>
+ <dpadup>Up</dpadup>
+ <dpaddown>Down</dpaddown>
+ <leftthumbbutton>Screenshot</leftthumbbutton>
+ <rightthumbbutton>ActivateWindow(ShutdownMenu)</rightthumbbutton>
+ <leftanalogtrigger>ScrollUp</leftanalogtrigger>
+ <rightanalogtrigger>ScrollDown</rightanalogtrigger>
+ <rightthumbstickleft>AnalogSeekBack</rightthumbstickleft>
+ <rightthumbstickright>AnalogSeekForward</rightthumbstickright>
+ <rightthumbstickup>VolumeUp</rightthumbstickup>
+ <rightthumbstickdown>VolumeDown</rightthumbstickdown>
+ </gamepad>
+ </global>
+ <FileManager>
+ <gamepad>
+ <Y>Highlight</Y>
+ </gamepad>
+ </FileManager>
+ <MusicPlaylist>
+ <gamepad>
+ <Y>Delete</Y>
+ <black>Back</black>
+ </gamepad>
+ </MusicPlaylist>
+ <MusicPlaylistEditor>
+ <gamepad>
+ <Y>Queue</Y>
+ </gamepad>
+ </MusicPlaylistEditor>
+ <Music>
+ <gamepad>
+ <Y>Queue</Y>
+ <black>Playlist</black>
+ </gamepad>
+ </Music>
+ <FullscreenVideo>
+ <gamepad>
+ <A>Pause</A>
+ <B>Stop</B>
+ <Y>AspectRatio</Y>
+ <black>PlayerProcessInfo</black>
+ <white>Info</white>
+ <back>Seek(-7)</back><!-- Replaces smallstepback -->
+ <start>OSD</start>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ <dpadleft>StepBack</dpadleft>
+ <dpadright>StepForward</dpadright>
+ <dpadup>ChapterOrBigStepForward</dpadup>
+ <dpaddown>ChapterOrBigStepBack</dpaddown>
+ </gamepad>
+ </FullscreenVideo>
+ <FullscreenGame>
+ <gamepad>
+ <A>Pause</A>
+ <B>Stop</B>
+ <Y>AspectRatio</Y>
+ <black>CodecInfo</black>
+ <white>Info</white>
+ <back>Seek(-7)</back><!-- Replaces smallstepback -->
+ <start>OSD</start>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ <dpadleft>StepBack</dpadleft>
+ <dpadright>StepForward</dpadright>
+ </gamepad>
+ </FullscreenGame>
+ <FullscreenLiveTV>
+ <gamepad>
+ <dpadleft>StepBack</dpadleft>
+ <dpadright>StepForward</dpadright>
+ <dpadup>ChannelUp</dpadup>
+ <dpaddown>ChannelDown</dpaddown>
+ </gamepad>
+ </FullscreenLiveTV>
+ <FullscreenRadio>
+ <gamepad>
+ <dpadleft>StepBack</dpadleft>
+ <dpadright>StepForward</dpadright>
+ <dpadup>ChannelUp</dpadup>
+ <dpaddown>ChannelDown</dpaddown>
+ </gamepad>
+ </FullscreenRadio>
+ <FullscreenInfo>
+ <gamepad>
+ <start>OSD</start>
+ <black>PlayerProcessInfo</black>
+ <white>Back</white>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </FullscreenInfo>
+ <PlayerControls>
+ <gamepad>
+ <start>Back</start>
+ </gamepad>
+ </PlayerControls>
+ <Visualisation>
+ <gamepad>
+ <A>Pause</A>
+ <B>Stop</B>
+ <Y>ActivateWindow(VisualisationPresetList)</Y>
+ <black>PlayerProcessInfo</black>
+ <white>Info</white>
+ <start>OSD</start>
+ <back>LockPreset</back>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ <dpadleft>StepBack</dpadleft>
+ <dpadright>StepForward</dpadright>
+ <dpadup>SkipNext</dpadup>
+ <dpaddown>SkipPrevious</dpaddown>
+ </gamepad>
+ </Visualisation>
+ <MusicOSD>
+ <gamepad>
+ <start>Back</start>
+ <black>PlayerProcessInfo</black>
+ <white>Info</white>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </MusicOSD>
+ <AddonSettings>
+ <gamepad>
+ <start>Back</start>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </AddonSettings>
+ <VisualisationPresetList>
+ <gamepad>
+ <start>Back</start>
+ <Y>Back</Y>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </VisualisationPresetList>
+ <SlideShow>
+ <gamepad>
+ <A>Pause</A>
+ <B>Stop</B>
+ <Y>Rotate</Y>
+ <X>ZoomNormal</X>
+ <black>Info</black>
+ <white>Info</white>
+ <righttrigger>NextPicture</righttrigger>
+ <lefttrigger>PreviousPicture</lefttrigger>
+ <dpadleft>PreviousPicture</dpadleft>
+ <dpadright>NextPicture</dpadright>
+ <dpadup>ZoomIn</dpadup>
+ <dpaddown>ZoomOut</dpaddown>
+ <leftthumbstick>AnalogMove</leftthumbstick>
+ <back>Stop</back>
+ </gamepad>
+ </SlideShow>
+ <ScreenCalibration>
+ <gamepad>
+ <leftthumbstick>AnalogMove</leftthumbstick>
+ <A>NextCalibration</A>
+ <black>ResetCalibration</black>
+ <white>NextResolution</white>
+ </gamepad>
+ </ScreenCalibration>
+ <ScreenCalibration>
+ <gamepad>
+ <leftthumbstick>AnalogMove</leftthumbstick>
+ <A>NextCalibration</A>
+ <black>ResetCalibration</black>
+ </gamepad>
+ </ScreenCalibration>
+ <VideoOSD>
+ <gamepad>
+ <start>Back</start>
+ <black>PlayerProcessInfo</black>
+ <white>Info</white>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </VideoOSD>
+ <VideoMenu>
+ <gamepad>
+ <Y>AspectRatio</Y>
+ <B>Stop</B>
+ <start>OSD</start>
+ <white>Info</white>
+ <black>PlayerProcessInfo</black>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </VideoMenu>
+ <OSDVideoSettings>
+ <gamepad>
+ <X/>
+ <Y>AspectRatio</Y>
+ <start>Back</start>
+ <black>PlayerProcessInfo</black>
+ <white>Info</white>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </OSDVideoSettings>
+ <OSDAudioSettings>
+ <gamepad>
+ <X/>
+ <Y>AspectRatio</Y>
+ <start>Back</start>
+ <black>PlayerProcessInfo</black>
+ <white>Info</white>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </OSDAudioSettings>
+ <VideoBookmarks>
+ <gamepad>
+ <X/>
+ <Y>Delete</Y>
+ <start>Back</start>
+ <leftanalogtrigger>AnalogRewind</leftanalogtrigger>
+ <rightanalogtrigger>AnalogFastForward</rightanalogtrigger>
+ </gamepad>
+ </VideoBookmarks>
+ <Videos>
+ <gamepad>
+ <black>Delete</black>
+ </gamepad>
+ </Videos>
+ <VideoPlaylist>
+ <gamepad>
+ <Y>Delete</Y>
+ <black>Back</black>
+ </gamepad>
+ </VideoPlaylist>
+ <VirtualKeyboard>
+ <gamepad>
+ <start>Enter</start>
+ <B>BackSpace</B>
+ <Y>Shift</Y>
+ <X>Symbols</X>
+ <lefttrigger>CursorLeft</lefttrigger>
+ <righttrigger>CursorRight</righttrigger>
+ </gamepad>
+ </VirtualKeyboard>
+ <ContextMenu>
+ <gamepad>
+ <white>Back</white>
+ </gamepad>
+ </ContextMenu>
+ <Programs>
+ <gamepad>
+ <black>info</black>
+ </gamepad>
+ </Programs>
+ <NumericInput>
+ <gamepad>
+ <B>BackSpace</B>
+ <start>Enter</start>
+ <lefttrigger>SkipPrevious</lefttrigger>
+ <righttrigger>SkipNext</righttrigger>
+ </gamepad>
+ </NumericInput>
+ <GamepadInput>
+ <gamepad>
+ <start>Stop</start> <!-- Enter Password -->
+ </gamepad>
+ </GamepadInput>
+ <LockSettings>
+ <gamepad>
+ <start>Back</start>
+ </gamepad>
+ </LockSettings>
+ <ProfileSettings>
+ <gamepad>
+ <start>Back</start>
+ </gamepad>
+ </ProfileSettings>
+ <PictureInfo>
+ <gamepad>
+ <dpadleft>PreviousPicture</dpadleft>
+ <dpadright>NextPicture</dpadright>
+ </gamepad>
+ </PictureInfo>
+ <PlayerProcessInfo>
+ <gamepad>
+ <black>PlayerProcessInfo</black>
+ </gamepad>
+ </PlayerProcessInfo>
+</keymap>