Archive:Alternative keymaps for Tronsmart Mars G01

From Official Kodi Wiki
Revision as of 15:00, 27 April 2016 by Ned Scott (talk | contribs) (Created page with "<?xml version="1.0" encoding="UTF-8"?> <!-- joystick.Tronsmart.Mars.G01.xml 2015/12/13 Tom Wizetek <[email protected]> based on joystick.xml.sample plus enhancements ** Of the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<?xml version="1.0" encoding="UTF-8"?>


<keymap>

 <global>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="1">Select</button>
     <button id="2">Back</button>
     <button id="3">ContextMenu</button>
     <button id="4">FullScreen</button>
     <button id="5">Queue</button>
     <button id="6">Playlist</button>
     <button id="7">PreviousMenu</button>
     <button id="8">ActivateWindow(Home)</button>
     <button id="9">ActivateWindow(ShutdownMenu)</button>
     <button id="10">Mute</button>
     <axis id="1" limit="-1">AnalogSeekBack</axis>
     <axis id="1" limit="+1">AnalogSeekForward</axis>
     <axis id="2" limit="-1">ScrollUp</axis>
     <axis id="2" limit="+1">ScrollDown</axis>
     <axis id="3" limit="+1">ScrollUp</axis>
     <axis id="3" limit="-1">ScrollDown</axis>
     <axis id="5" limit="-1">volampup</axis>
     <axis id="5" limit="+1">volampdown</axis>
     <axis id="4" limit="-1">VolumeDown</axis>
     <axis id="4" limit="+1">VolumeUp</axis>
     <hat id="1" position="up">Up</hat>
     <hat id="1" position="down">Down</hat>
     <hat id="1" position="left">Left</hat>
     <hat id="1" position="right">Right</hat>
   </joystick>
 </global>
 <Home>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="8">reloadkeymaps</button>
     <button id="6">Playlist</button>
     <button id="2">XBMC.ActivateWindow(Favourites)</button>
   </joystick>
 </Home>
 <MyFiles>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="6">Highlight</button>
   </joystick>
 </MyFiles>
 <MyMusicPlaylist>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="5">Delete</button>
     <button id="7">MoveItemUp</button>
     <button id="8">MoveItemDown</button>
   </joystick>
 </MyMusicPlaylist>
 <MyMusicFiles>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="10">XBMC.ActivateWindow(Favourites)</button>
   </joystick>
 </MyMusicFiles>
 <MyMusicLibrary>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="10">XBMC.ActivateWindow(Favourites)</button>
   </joystick>
 </MyMusicLibrary>
 <FullscreenVideo>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="1">Pause</button>
     <button id="2">Stop</button>
     <button id="3">OSD</button>
     <button id="5">AspectRatio</button>
     <button id="6">ShowSubtitles</button>
     <button id="7">ShowTime</button>
     <button id="8">Info</button>
     <axis id="3" limit="+1">audiodelay</axis>
     <axis id="3" limit="-1">subtitledelay</axis>
     <hat id="1" position="up">BigStepForward</hat>
     <hat id="1" position="down">BigStepBack</hat>
     <hat id="1" position="left">StepBack</hat>
     <hat id="1" position="right">StepForward</hat>
   </joystick>
 </FullscreenVideo>
 <FullscreenLiveTV>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <hat id="1" position="up">ChannelUp</hat>
     <hat id="1" position="down">ChannelDown</hat>
     <hat id="1" position="left">StepBack</hat>
     <hat id="1" position="right">StepForward</hat>
   </joystick>
 </FullscreenLiveTV>
 <FullscreenRadio>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <hat id="1" position="up">ChannelUp</hat>
     <hat id="1" position="down">ChannelDown</hat>
     <hat id="1" position="left">StepBack</hat>
     <hat id="1" position="right">StepForward</hat>
   </joystick>
 </FullscreenRadio>
 <FullscreenInfo>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
     <button id="3">OSD</button>
     <button id="8">Close</button>
   </joystick>
 </FullscreenInfo>
 <PlayerControls>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="3">Close</button>
     <button id="7">Close</button>
     <button id="8">Close</button>
   </joystick>
 </PlayerControls>
 <Visualisation>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="1">Pause</button>
     <button id="2">Stop</button>
     <button id="3">ActivateWindow(MusicOSD)</button>
     <button id="7">ActivateWindow(VisualisationPresetList)</button>
     <button id="8">Info</button>
     <button id="5">PreviousPreset</button>
     <button id="6">NextPreset</button>
     <axis id="3" limit="+1">AnalogSeekBack</axis>
     <axis id="3" limit="-1">AnalogSeekForward</axis>
     <hat id="1" position="up">SkipNext</hat>
     <hat id="1" position="down">SkipPrevious</hat>
     <hat id="1" position="left">StepBack</hat>
     <hat id="1" position="right">StepForward</hat>
   </joystick>
 </Visualisation>
 <MusicOSD>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="3">Close</button>
     <button id="6">Info</button>
   </joystick>
 </MusicOSD>
 <VisualisationSettings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </VisualisationSettings>
 <VisualisationPresetList>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </VisualisationPresetList>
 <SlideShow>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="1">Pause</button>
     <button id="2">Stop</button>
     <button id="4">ZoomNormal</button>
     <button id="5">Rotate</button>
     <button id="6">CodecInfo</button>
     <button id="3">Info</button>
     <button id="8">Info</button>
     <axis id="1">AnalogMove</axis>
     <axis id="2" limit="-1">Up</axis>
     <axis id="2" limit="+1">Down</axis>
     <axis id="3" limit="+1">ZoomOut</axis>
     <axis id="3" limit="-1">ZoomIn</axis>
     <hat id="1" position="up">ZoomIn</hat>
     <hat id="1" position="down">ZoomOut</hat>
     <hat id="1" position="left">PreviousPicture</hat>
     <hat id="1" position="right">NextPicture</hat>
   </joystick>
 </SlideShow>
 <ScreenCalibration>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="3">ResetCalibration</button>
     <button id="5">NextResolution</button>
     <button id="6">NextCalibration</button>
   </joystick>
 </ScreenCalibration>
 <GUICalibration>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="3">ResetCalibration</button>
     <button id="5">NextResolution</button>
     <button id="6">NextCalibration</button>
   </joystick>
 </GUICalibration>
 <VideoOSD>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="3">Close</button>
   </joystick>
 </VideoOSD>
 <VideoMenu>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Stop</button>
     <button id="3">OSD</button>
     <button id="5">AspectRatio</button>
     <button id="8">Info</button>
   </joystick>
 </VideoMenu>
 <OSDVideoSettings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="5">AspectRatio</button>
     <button id="3">Close</button>
   </joystick>
 </OSDVideoSettings>
 <OSDAudioSettings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="5">AspectRatio</button>
     <button id="3">Close</button>
   </joystick>
 </OSDAudioSettings>
 <VideoBookmarks>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="5">Delete</button>
     <button id="7">MoveItemUp</button>
     <button id="8">MoveItemDown</button>
   </joystick>
 </VideoBookmarks>
 <MyVideoLibrary>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="10">XBMC.ActivateWindow(Favourites)</button>
   </joystick>
 </MyVideoLibrary>
 <MyVideoFiles>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="10">XBMC.ActivateWindow(Favourites)</button>
   </joystick>
 </MyVideoFiles>
 <MyVideoPlaylist>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="5">Delete</button>
     <button id="7">MoveItemUp</button>
     <button id="8">MoveItemDown</button>
   </joystick>
 </MyVideoPlaylist>
 <VirtualKeyboard>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">BackSpace</button>
     <button id="4">Symbols</button>
     <button id="3">Shift</button>
     <button id="5">CursorLeft</button>
     <button id="6">CursorRight</button>
     <button id="8">Enter</button>
     <axis id="3" limit="+1">CursorLeft</axis>
     <axis id="3" limit="-1">CursorRight</axis>
   </joystick>
 </VirtualKeyboard>
 <ContextMenu>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
     <button id="3">Close</button>
   </joystick>
 </ContextMenu>
 <Scripts>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="3">Info</button>
   </joystick>
 </Scripts>
 <Settings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">PreviousMenu</button>
   </joystick>
 </Settings>
 <AddonInformation>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </AddonInformation>
 <AddonSettings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </AddonSettings>
 <TextViewer>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </TextViewer>
 <shutdownmenu>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">PreviousMenu</button>
     <button id="9">PreviousMenu</button>
     <button id="7">PreviousMenu</button>
   </joystick>
 </shutdownmenu>
 <submenu>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">PreviousMenu</button>
   </joystick>
 </submenu>
 <MusicInformation>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </MusicInformation>
 <MovieInformation>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">Close</button>
   </joystick>
 </MovieInformation>
 <NumericInput>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">BackSpace</button>
     <button id="8">Enter</button>
   </joystick>
 </NumericInput>
 <GamepadInput>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="8">Stop</button>
   </joystick>
 </GamepadInput>
 <LockSettings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">PreviousMenu</button>
     <button id="8">Close</button>
   </joystick>
 </LockSettings>
 <ProfileSettings>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="2">PreviousMenu</button>
     <button id="8">Close</button>
   </joystick>
 </ProfileSettings>
 <Favourites>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="7">MoveItemUp</button>
     <button id="8">MoveItemDown</button>
   </joystick>
 </Favourites>
 <PictureInfo>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="6">Back</button>
   </joystick>
 </PictureInfo>
 <MyPictures>
   <joystick name="Gamepad For Windows (Controller)">
     <altname>Tronsmart</altname>
     <button id="10">XBMC.ActivateWindow(Favourites)</button>
   </joystick>
 </MyPictures>

</keymap>