-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,990 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,330 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- This file contains the mappings for a Steam Controller 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. --> | ||
|
||
<!-- The format of a mapping is: --> | ||
<!-- <device name="name"> --> | ||
<!-- <button id="x">action</button> --> | ||
<!-- <axis id="x" limit="y">action</axis> --> | ||
<!-- <hat id="1" position="left">action</hat> --> | ||
<!-- </device> --> | ||
|
||
<!-- Note that the action can be a built-in function. --> | ||
<!-- eg <button id="x">ActivateWindow(Home)</button> --> | ||
<!-- would automatically go to Home on the press of button 'x'. --> | ||
|
||
<!-- Joystick Name: Steam Controller | ||
<!-- Button Mappings on Steam Link: --> | ||
<!-- --> | ||
<!-- ID Button --> | ||
<!-- --> | ||
<!-- 1 A --> | ||
<!-- 2 B --> | ||
<!-- 3 X --> | ||
<!-- 4 Y --> | ||
<!-- 5 Left Shoulder --> | ||
<!-- 6 Right Shoulder --> | ||
<!-- 7 Back --> | ||
<!-- 8 Start --> | ||
<!-- 9 Guide --> | ||
<!-- 10 Left Stick Button --> | ||
<!-- 11 Right Grip --> | ||
<!-- 12 Left Grip --> | ||
|
||
<!-- Axis Mappings: --> | ||
<!-- --> | ||
<!-- ID Button --> | ||
<!-- --> | ||
<!-- 1 Left Stick L/R --> | ||
<!-- 2 Left Stick U/D --> | ||
<!-- 3 Left Trigger --> | ||
<!-- 4 Right Trigger --> | ||
|
||
<keymap> | ||
<joystickFamily name="Steam Controller"> | ||
<name>Steam Controller</name> | ||
</joystickFamily> | ||
<global> | ||
<joystick family="Steam Controller"> | ||
<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(Home)</button> | ||
<button id="10">ActivateWindow(ShutdownMenu)</button> | ||
<button id="11">VolumeUp</button> | ||
<button id="12">VolumeDown</button> | ||
<axis id="1" limit="-1">AnalogSeekBack</axis> | ||
<axis id="1" limit="+1">AnalogSeekForward</axis> | ||
<axis id="3" limit="+1">ScrollUp</axis> | ||
<axis id="4" limit="+1">ScrollDown</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 family="Steam Controller"> | ||
<button id="8">Skin.ToggleSetting(HomeViewToggle)</button> | ||
</joystick> | ||
</Home> | ||
<MyFiles> | ||
<joystick family="Steam Controller"> | ||
<button id="6">Highlight</button> | ||
</joystick> | ||
</MyFiles> | ||
<MyMusicPlaylist> | ||
<joystick family="Steam Controller"> | ||
<button id="5">Delete</button> | ||
</joystick> | ||
</MyMusicPlaylist> | ||
<MyMusicFiles> | ||
</MyMusicFiles> | ||
<MyMusicLibrary> | ||
</MyMusicLibrary> | ||
<FullscreenVideo> | ||
<joystick family="Steam Controller"> | ||
<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">Seek(-7)</button><!-- Replaces smallstepback --> | ||
<button id="8">Info</button> | ||
<button id="9">ActivateWindow(Home)</button> <!-- guide --> | ||
<button id="10">ActivateWindow(ShutdownMenu)</button> <!-- left stick --> | ||
<axis id="3" limit="+1">AnalogRewind</axis> | ||
<axis id="4" limit="+1">AnalogFastForward</axis> | ||
<hat id="1" position="up">ChapterOrBigStepForward</hat> | ||
<hat id="1" position="down">ChapterOrBigStepBack</hat> | ||
<hat id="1" position="left">StepBack</hat> | ||
<hat id="1" position="right">StepForward</hat> | ||
</joystick> | ||
</FullscreenVideo> | ||
<FullscreenLiveTV> | ||
<joystick family="Steam Controller"> | ||
<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 family="Steam Controller"> | ||
<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 family="Steam Controller"> | ||
<button id="2">Close</button> | ||
<button id="3">OSD</button> | ||
<button id="8">Close</button> | ||
<axis id="3" limit="+1">AnalogRewind</axis> | ||
<axis id="4" limit="+1">AnalogFastForward</axis> | ||
</joystick> | ||
</FullscreenInfo> | ||
<PlayerControls> | ||
<joystick family="Steam Controller"> | ||
<button id="3">Close</button> | ||
<button id="10">Close</button> | ||
</joystick> | ||
</PlayerControls> | ||
<Visualisation> | ||
<joystick family="Steam Controller"> | ||
<button id="1">Pause</button> | ||
<button id="2">Stop</button> | ||
<button id="3">ActivateWindow(MusicOSD)</button> | ||
<button id="5">ActivateWindow(VisualisationPresetList)</button> | ||
<button id="6">Info</button> | ||
<axis id="3" limit="+1">AnalogRewind</axis> | ||
<axis id="4" limit="+1">AnalogFastForward</axis> | ||
<hat id="1" position="up">SkipNext</hat> | ||
<hat id="1" position="down">SkipPrevious</hat> | ||
<hat id="1" position="left">PreviousPreset</hat> | ||
<hat id="1" position="right">NextPreset</hat> | ||
</joystick> | ||
</Visualisation> | ||
<MusicOSD> | ||
<joystick family="Steam Controller"> | ||
<button id="3">Close</button> | ||
<button id="6">Info</button> | ||
</joystick> | ||
</MusicOSD> | ||
<VisualisationSettings> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</VisualisationSettings> | ||
<VisualisationPresetList> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</VisualisationPresetList> | ||
<SlideShow> | ||
<joystick family="Steam Controller"> | ||
<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> | ||
<axis id="1">AnalogMoveX</axis> | ||
<axis id="2">AnalogMoveY</axis> | ||
<axis id="3" limit="+1">ZoomOut</axis> | ||
<axis id="4" 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 family="Steam Controller"> | ||
<button id="3">ResetCalibration</button> | ||
<button id="5">NextResolution</button> | ||
<button id="6">NextCalibration</button> | ||
</joystick> | ||
</ScreenCalibration> | ||
<GUICalibration> | ||
<joystick family="Steam Controller"> | ||
<button id="3">ResetCalibration</button> | ||
<button id="5">NextResolution</button> | ||
<button id="6">NextCalibration</button> | ||
</joystick> | ||
</GUICalibration> | ||
<VideoOSD> | ||
<joystick family="Steam Controller"> | ||
<button id="3">Close</button> | ||
</joystick> | ||
</VideoOSD> | ||
<VideoMenu> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Stop</button> | ||
<button id="3">OSD</button> | ||
<button id="5">AspectRatio</button> | ||
<button id="8">Info</button> | ||
</joystick> | ||
</VideoMenu> | ||
<OSDVideoSettings> | ||
<joystick family="Steam Controller"> | ||
<button id="5">AspectRatio</button> | ||
<button id="3">Close</button> | ||
</joystick> | ||
</OSDVideoSettings> | ||
<OSDAudioSettings> | ||
<joystick family="Steam Controller"> | ||
<button id="5">AspectRatio</button> | ||
<button id="3">Close</button> | ||
</joystick> | ||
</OSDAudioSettings> | ||
<VideoBookmarks> | ||
<joystick family="Steam Controller"> | ||
<button id="5">Delete</button> | ||
</joystick> | ||
</VideoBookmarks> | ||
<MyVideoLibrary> | ||
</MyVideoLibrary> | ||
<MyVideoFiles> | ||
</MyVideoFiles> | ||
<MyVideoPlaylist> | ||
<joystick family="Steam Controller"> | ||
<button id="5">Delete</button> | ||
</joystick> | ||
</MyVideoPlaylist> | ||
<VirtualKeyboard> | ||
<joystick family="Steam Controller"> | ||
<button id="2">BackSpace</button> | ||
<button id="4">Symbols</button> | ||
<button id="5">Shift</button> | ||
<button id="10">Enter</button> | ||
<axis id="3" limit="+1">CursorLeft</axis> | ||
<axis id="4" limit="+1">CursorRight</axis> | ||
</joystick> | ||
</VirtualKeyboard> | ||
<ContextMenu> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
<button id="3">Close</button> | ||
</joystick> | ||
</ContextMenu> | ||
<Scripts> | ||
<joystick family="Steam Controller"> | ||
<button id="3">ContextMenu</button> | ||
</joystick> | ||
</Scripts> | ||
<Settings> | ||
<joystick family="Steam Controller"> | ||
<button id="2">PreviousMenu</button> | ||
</joystick> | ||
</Settings> | ||
<AddonInformation> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</AddonInformation> | ||
<AddonSettings> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</AddonSettings> | ||
<TextViewer> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</TextViewer> | ||
<shutdownmenu> | ||
<joystick family="Steam Controller"> | ||
<button id="2">PreviousMenu</button> | ||
<button id="10">PreviousMenu</button> | ||
</joystick> | ||
</shutdownmenu> | ||
<submenu> | ||
<joystick family="Steam Controller"> | ||
<button id="2">PreviousMenu</button> | ||
</joystick> | ||
</submenu> | ||
<MusicInformation> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</MusicInformation> | ||
<MovieInformation> | ||
<joystick family="Steam Controller"> | ||
<button id="2">Close</button> | ||
</joystick> | ||
</MovieInformation> | ||
<NumericInput> | ||
<joystick family="Steam Controller"> | ||
<button id="2">BackSpace</button> | ||
<button id="10">Enter</button> | ||
</joystick> | ||
</NumericInput> | ||
<GamepadInput> | ||
<joystick family="Steam Controller"> | ||
<button id="10">Stop</button> | ||
</joystick> | ||
</GamepadInput> | ||
<LockSettings> | ||
<joystick family="Steam Controller"> | ||
<button id="2">PreviousMenu</button> | ||
<button id="10">Close</button> | ||
</joystick> | ||
</LockSettings> | ||
<ProfileSettings> | ||
<joystick family="Steam Controller"> | ||
<button id="2">PreviousMenu</button> | ||
<button id="10">Close</button> | ||
</joystick> | ||
</ProfileSettings> | ||
</keymap> | ||
</keymap> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.