diff options
author | Sam Nazarko <email@samnazarko.co.uk> | 2020-12-02 20:19:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 20:19:19 +0000 |
commit | 6d955826d10a3b4f0bf703bce988dca2c646ac74 (patch) | |
tree | 19e1fe84320eb04771a1fcd347561de472ade156 | |
parent | 9adccc3a02b6ef2c577e840cf48c6d5253ebe2bb (diff) | |
parent | 213ad502df005640537ab655239eaac1c7ba0a60 (diff) |
Merge pull request #18895 from samnazarko/osmcrf_improve
Add keymap support for OSMC remote controllers
-rw-r--r-- | system/keymaps/osmc/osmc_remote.xml | 576 | ||||
-rw-r--r-- | system/peripherals.xml | 5 |
2 files changed, 581 insertions, 0 deletions
diff --git a/system/keymaps/osmc/osmc_remote.xml b/system/keymaps/osmc/osmc_remote.xml new file mode 100644 index 0000000000..79f392eb58 --- /dev/null +++ b/system/keymaps/osmc/osmc_remote.xml @@ -0,0 +1,576 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!-- The second and third generation OSMC remotes use i and c keys that stop functioning with some keyboard languages in OSMC. -->
+<!-- We have remapped those keys in OSMC to kpleftparen and kprightparen with udev to overcome this issue. This file maps those keys to -->
+<!-- Kodi actions and adds tweaks to provide enhanced function. Home was remapped in v1&2 for consistency. The buttons map in Kodi as... -->
+<!-- -->
+<!-- OSMC with udev remap non-OSMCv1 non-OSMCv2 non-OSMCv3 -->
+<!-- Home = escape <key id="61467"> Home = home Home = home Home = escape -->
+<!-- Info = leftbracket <key id="61480"> Info = Info = i Info = i -->
+<!-- Up = up <key id="61568"> Up = up Up = up Up = up -->
+<!-- Down = down <key id="61569"> Down = down Down = down Down = down -->
+<!-- Left = left <key id="61570"> Left = left Left = left Left = left -->
+<!-- Right = right <key id="61571"> Right = right Right = right Right = right -->
+<!-- OK = return <key id="61453"> OK = return OK = return OK = return -->
+<!-- Back = browser_back <key id="61616"> Back = browser_back Back = browser_back Back = browser_back -->
+<!-- Menu = rightbracket <key id="61481"> Menu = Menu = c Menu = c -->
+<!-- Play = play_pause <key id="61629"> Play = play_pause Play = play_pause Play = play_pause -->
+<!-- Stop = stop <key id="61628"> Stop = stop Stop = stop Stop = stop -->
+<!-- Vol- = volume_down <key id="61624"> RW = rewind Vol- = minus Vol- = minus -->
+<!-- Vol+ = volume_up <key id="61625"> FF = fastforward Vol+ = equals Vol+ = equals -->
+<!-- -->
+<!-- Keymap created by DarwinDesign version 20-11-02 -->
+<!-- -->
+<keymap>
+ <global>
+ <keyboard>
+ <escape>PreviousMenu</escape>
+ <home>PreviousMenu</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ <leftbracket>Info</leftbracket>
+ <i>Info</i>
+ <leftbracket mod="longpress">noop</leftbracket> <!-- stops cycling -->
+ <i mod="longpress">noop</i> <!-- stops cycling -->
+ <left>Left</left>
+ <right>Right</right>
+ <up>Up</up>
+ <down>Down</down>
+ <return>Select</return>
+ <return mod="longpress">noop</return> <!-- removes default context menu & stops cycling -->
+ <browser_back>Back</browser_back>
+ <rightbracket>ContextMenu</rightbracket>
+ <c>ContextMenu</c>
+ <rightbracket mod="longpress">Menu</rightbracket>
+ <c mod="longpress">Menu</c>
+ <play_pause>PlayPause</play_pause>
+ <p>PlayPause</p>
+ <play_pause mod="longpress">noop</play_pause> <!-- removes default info & stops cycling -->
+ <p mod="longpress">noop</p>
+ <stop>Stop</stop>
+ <x>Stop</x>
+ <volume_down>VolumeDown</volume_down>
+ <volume_up>VolumeUp</volume_up>
+ <f2>Notification(OSMC Remote Controller, Low Battery Please Replace,5000)</f2>
+ </keyboard>
+ </global>
+ <Home>
+ <keyboard>
+ <escape>CECActivateSource</escape>
+ <home>CECActivateSource</home>
+ <escape mod="longpress">CECStandby</escape>
+ <home mod="longpress">CECStandby</home>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <browser_back mod="longpress">ActivateWindow(ShutdownMenu)</browser_back>
+ <return mod="longpress">ReloadSkin()</return>
+ <play_pause mod="longpress">UpdateLibrary(video)</play_pause>
+ <p mod="longpress">UpdateLibrary(video)</p>
+ </keyboard>
+ </Home>
+ <VirtualKeyboard>
+ <keyboard>
+ <rightbracket mod="longpress">noop</rightbracket>
+ <c mod="longpress">noop</c>
+ <up mod="longpress">Shift</up>
+ <down mod="longpress">Symbols</down>
+ <return mod="longpress">Enter</return>
+ </keyboard>
+ </VirtualKeyboard>
+ <FileManager>
+ <keyboard>
+ <right mod="longpress">Highlight</right>
+ <left mod="longpress">Highlight</left>
+ </keyboard>
+ </FileManager>
+ <FullscreenVideo>
+ <keyboard>
+ <escape>ActivateWindow(videobookmarks)</escape>
+ <home>ActivateWindow(videobookmarks)</home>
+ <escape mod="longpress">playerdebug</escape>
+ <home mod="longpress">playerdebug</home>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <return mod="longpress">Playlist</return>
+ <up mod="longpress">SkipNext</up>
+ <down mod="longpress">SkipPrevious</down>
+ <left mod="longpress">AudioDelay</left>
+ <right mod="longpress">subtitledelay</right>
+ <rightbracket>ActivateWindow(osdvideosettings)</rightbracket>
+ <c>ActivateWindow(osdvideosettings)</c>
+ <rightbracket mod="longpress">ActivateWindow(osdaudiosettings)</rightbracket>
+ <c mod="longpress">ActivateWindow(osdaudiosettings)</c>
+ <play_pause mod="longpress">showsubtitles</play_pause>
+ <p mod="longpress">showsubtitles</p>
+ <stop mod="longpress">ActivateWindow(osdsubtitlesettings)</stop>
+ <x mod="longpress">ActivateWindow(osdsubtitlesettings)</x>
+ </keyboard>
+ </FullscreenVideo>
+ <FullscreenGame>
+ <keyboard>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket>OSD</rightbracket>
+ <c>OSD</c>
+ </keyboard>
+ </FullscreenGame>
+ <FullscreenInfo>
+ <keyboard>
+ <leftbracket>Back</leftbracket>
+ <i>Back</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </FullscreenInfo>
+ <Visualisation>
+ <keyboard>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ <return mod="longpress">ActivateWindow(MusicPlaylist)</return>
+ <rightbracket>Addon.Default.OpenSettings(xbmc.player.musicviz)</rightbracket>
+ <c>Addon.Default.OpenSettings(xbmc.player.musicviz)</c>
+ <rightbracket mod="longpress">ActivateWindow(VisualisationPresetList)</rightbracket>
+ <c mod="longpress">ActivateWindow(VisualisationPresetList)</c>
+ <p/>
+ </keyboard>
+ </Visualisation>
+ <MusicOSD>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <return mod="longpress">back</return>
+ <rightbracket>Addon.Default.OpenSettings(xbmc.player.musicviz)</rightbracket>
+ <c>Addon.Default.OpenSettings(xbmc.player.musicviz)</c>
+ <rightbracket mod="longpress">ActivateWindow(VisualisationPresetList)</rightbracket>
+ <c mod="longpress">ActivateWindow(VisualisationPresetList)</c>
+ <p/>
+ </keyboard>
+ </MusicOSD>
+ <VisualisationPresetList>
+ <keyboard>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket>back</rightbracket>
+ <c>back</c>
+ <p/>
+ </keyboard>
+ </VisualisationPresetList>
+ <slideshow>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <play_pause>pause</play_pause>
+ <p>pause</p>
+ <up mod="longpress">ZoomIn</up>
+ <down mod="longpress">ZoomOut</down>
+ <return mod="longpress">ZoomNormal</return>
+ <rightbracket></rightbracket> <!-- removes mapping from osmc-classic -->
+ </keyboard>
+ </slideshow>
+ <VideoOSD>
+ <keyboard>
+ <escape>ActivateWindow(videobookmarks)</escape>
+ <home>ActivateWindow(videobookmarks)</home>
+ <escape mod="longpress">playerdebug</escape>
+ <home mod="longpress">playerdebug</home>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <up mod="longpress">SkipNext</up>
+ <down mod="longpress">SkipPrevious</down>
+ <left mod="longpress">AudioDelay</left>
+ <right mod="longpress">subtitledelay</right>
+ <rightbracket>ActivateWindow(osdvideosettings)</rightbracket>
+ <return mod="longpress">back</return>
+ <c>ActivateWindow(osdvideosettings)</c>
+ <rightbracket mod="longpress">ActivateWindow(osdaudiosettings)</rightbracket>
+ <c mod="longpress">ActivateWindow(osdaudiosettings)</c>
+ <play_pause mod="longpress">showsubtitles</play_pause>
+ <p mod="longpress">showsubtitles</p>
+ <stop mod="longpress">ActivateWindow(osdsubtitlesettings)</stop>
+ <x mod="longpress">ActivateWindow(osdsubtitlesettings)</x>
+ </keyboard>
+ </VideoOSD>
+ <VideoMenu>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket></rightbracket> <!-- removes mapping from osmc-classic -->
+ </keyboard>
+ </VideoMenu>
+ <OSDVideoSettings>
+ <keyboard>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket>back</rightbracket>
+ <c>back</c>
+ <stop>back</stop>
+ <x>back</x>
+ </keyboard>
+ </OSDVideoSettings>
+ <OSDAudioSettings>
+ <keyboard>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket>back</rightbracket>
+ <c>back</c>
+ <stop>back</stop>
+ <x>back</x>
+ </keyboard>
+ </OSDAudioSettings>
+ <osdsubtitlesettings>
+ <keyboard>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <rightbracket>back</rightbracket>
+ <c>back</c>
+ <stop>back</stop>
+ <x>back</x>
+ </keyboard>
+ </osdsubtitlesettings>
+ <VideoBookmarks>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <rightbracket mod="longpress">back</rightbracket>
+ <c mod="longpress">back</c>
+ </keyboard>
+ </VideoBookmarks>
+ <Videos>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ <return mod="longpress">SendClick(14)</return> <!-- Toggle view between unwatched and all videos -->
+ <play_pause mod="longpress">togglewatched</play_pause>
+ <p mod="longpress">togglewatched</p>
+ </keyboard>
+ </Videos>
+ <VideoPlaylist>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ <return mod="longpress">Back</return>
+ </keyboard>
+ </VideoPlaylist>
+ <ContextMenu>
+ <keyboard>
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </ContextMenu>
+ <MusicInformation>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>Back</leftbracket>
+ <i>Back</i>
+ <leftbracket mod="longpress">noop</leftbracket> <!-- stops cycling -->
+ <i mod="longpress">noop</i> <!-- stops cycling -->
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </MusicInformation>
+ <MusicPlaylist>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ <return mod="longpress">back</return>
+ </keyboard>
+ </MusicPlaylist>
+ <SongInformation>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>Back</leftbracket>
+ <i>Back</i>
+ <leftbracket mod="longpress">noop</leftbracket> <!-- stops cycling -->
+ <i mod="longpress">noop</i> <!-- stops cycling -->
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </SongInformation>
+ <MovieInformation>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>Back</leftbracket>
+ <i>Back</i>
+ <leftbracket mod="longpress">noop</leftbracket> <!-- stops cycling -->
+ <i mod="longpress">noop</i> <!-- stops cycling -->
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </MovieInformation>
+ <PictureInfo>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>Back</leftbracket>
+ <i>Back</i>
+ <leftbracket mod="longpress">noop</leftbracket> <!-- stops cycling -->
+ <i mod="longpress">noop</i> <!-- stops cycling -->
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </PictureInfo>
+ <FullscreenLiveTV>
+ <keyboard>
+ <rightbracket>ActivateWindow(PVROSDChannels)</rightbracket>
+ <c>ActivateWindow(PVROSDChannels)</c>
+ <leftbracket>info</leftbracket>
+ <i>info</i>
+ <leftbracket mod="longpress">playerprocessinfo</leftbracket>
+ <i mod="longpress">playerprocessinfo</i>
+ <left mod="longpress">AudioDelay</left>
+ <right mod="longpress">subtitledelay</right>
+ <return mod="longpress">Record</return>
+ <play_pause mod="longpress">showsubtitles</play_pause>
+ <p mod="longpress">showsubtitles</p>
+ <stop mod="longpress">ActivateWindow(Teletext)</stop>
+ <x mod="longpress">ActivateWindow(Teletext)</x>
+ </keyboard>
+ </FullscreenLiveTV>
+ <TVGuide>
+ <keyboard>
+ <return mod="longpress">Record</return>
+ </keyboard>
+ </TVGuide>
+ <FullscreenRadio>
+ <keyboard>
+ <rightbracket>ActivateWindow(PVROSDChannels)</rightbracket>
+ <c>ActivateWindow(PVROSDChannels)</c>
+ </keyboard>
+ </FullscreenRadio>
+ <AddonInformation>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ <leftbracket>Back</leftbracket>
+ <i>Back</i>
+ <leftbracket mod="longpress">noop</leftbracket> <!-- stops cycling -->
+ <i mod="longpress">noop</i> <!-- stops cycling -->
+ <rightbracket>Back</rightbracket>
+ <c>Back</c>
+ </keyboard>
+ </AddonInformation>
+ <PlayerProcessInfo>
+ <keyboard>
+ <leftbracket>back</leftbracket>
+ <i>back</i>
+ <rightbracket>ActivateWindow(osdvideosettings)</rightbracket>
+ <c>ActivateWindow(osdvideosettings)</c>
+ <rightbracket mod="longpress">noop</rightbracket>
+ <c mod="longpress">noop</c>
+ <stop mod="longpress">ActivateWindow(osdsubtitlesettings)</stop>
+ <x mod="longpress">ActivateWindow(osdsubtitlesettings)</x>
+ </keyboard>
+ </PlayerProcessInfo>
+ <yesnodialog> <!-- Added to allow CEC when update dialog box appears -->
+ <keyboard>
+ <escape>CECActivateSource</escape>
+ <home>CECActivateSource</home>
+ <escape mod="longpress">CECStandby</escape>
+ <home mod="longpress">CECStandby</home>
+ </keyboard>
+ </yesnodialog>
+ <selectdialog>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ </keyboard>
+ </selectdialog>
+ <contextmenu>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ </keyboard>
+ </contextmenu>
+ <addonsettings>
+ <keyboard>
+ <escape>back</escape>
+ <home>back</home>
+ </keyboard>
+ </addonsettings>
+ <addonbrowser>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </addonbrowser>
+ <filemanager>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </filemanager>
+ <interfacesettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </interfacesettings>
+ <systeminfo>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </systeminfo>
+ <eventlog>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </eventlog>
+ <playersettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </playersettings>
+ <mediasettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </mediasettings>
+ <pvrsettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </pvrsettings>
+ <servicesettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </servicesettings>
+ <gamesettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </gamesettings>
+ <profiles>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </profiles>
+ <systemsettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </systemsettings>
+ <music>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </music>
+ <pictures>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </pictures>
+ <skinsettings>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </skinsettings>
+ <musicplaylisteditor>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </musicplaylisteditor>
+ <games>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </games>
+ <programs>
+ <keyboard>
+ <escape>ActivateWindow(Home)</escape>
+ <home>ActivateWindow(Home)</home>
+ <escape mod="longpress">fullscreen</escape>
+ <home mod="longpress">fullscreen</home>
+ </keyboard>
+ </programs>
+ </keymap>
diff --git a/system/peripherals.xml b/system/peripherals.xml index ff303e99ae..1fbb4bc924 100644 --- a/system/peripherals.xml +++ b/system/peripherals.xml @@ -52,6 +52,11 @@ <setting key="keymap" value="wetek-play" label="35007" configurable="0" /> </peripheral> + <peripheral vendor_product="2252:1037,2017:1688,2017:1689" bus="usb" name="OSMC RF Remote" mapTo="hid"> + <setting key="do_not_use_custom_keymap" type="bool" value="0" label="35009" order="1"/> + <setting key="keymap" value="osmc" label="35007" configurable="1"/> + </peripheral> + <peripheral class="joystick" mapTo="joystick"> <setting key="left_stick_deadzone" type="float" label="35078" order="1" value="0.2" min="0.0" step="0.05" max="1.0" /> <setting key="right_stick_deadzone" type="float" label="35079" order="2" value="0.2" min="0.0" step="0.05" max="1.0" /> |