Skip to content

Instantly share code, notes, and snippets.

@ypchen
Last active April 24, 2019 00:36
Show Gist options
  • Save ypchen/4150ff17a288232a949ca2858bcf5d00 to your computer and use it in GitHub Desktop.
Save ypchen/4150ff17a288232a949ca2858bcf5d00 to your computer and use it in GitHub Desktop.
keyboard.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- For kodi (v17 / v18) -->
<!-- 2019-0424 -->
<!-- ### custom keymaps for 'ID 1d57:ad02 Xenta SE340D PC Remote Control' ### -->
<!-- https://discourse.osmc.tv/t/ir-remote-using-cheap-usb-pc-remote-with-osmc/18695 -->
<!-- A: 389185; B: 389265; C: 389266; D: 389156; TAB: 61449; WIN: 2159104; ESC: 61647 -->
<!-- v18 - [WWW], [WIN] do not work on Raspberry PI 3 -->
<!-- [WWW], [ABCD], [MY PC], [DESKTOP] do not work on QNAP -->
<keymap>
<global>
<keyboard>
<!-- When powered by TV, Raspberry PI 3 might need rebooting at power on -->
<!-- power v18 --><power>ShutDown()</power>
<!-- close v18 --><f4 mod="alt">Reboot()</f4>
<!-- e-mail --><key id="61630">ActivateWindow(SystemInfo)</key>
<!-- open --><key id="127055">ActivateWindow(Favourites)</key>
<!-- Comment out on Raspberry Pi 3: BEGIN - ->
<backslash>Notification(Backslash, Can't change display mode, 3)</backslash>
<tab>ActivateWindow(fullscreenvideo)</tab>
<!- - close - -><key id="323731">ShutDown()</key>
<!- - Comment out on Raspberry Pi 3: END -->
</keyboard>
</global>
<FullscreenVideo>
<keyboard>
<!-- C/blue --><c mod="ctrl,alt">reloadkeymaps</c>
<!-- e-mail --><key id="61630">PlayerProcessInfo</key>
<!-- open --><key id="127055">PlayerDebug</key>
<!-- switch --><key id="323593">NextSubtitle</key>
<!-- my pc --><e mod="meta">NextSubtitle</e>
<!-- desktop --><d mod="meta">AudioNextLanguage</d>
<!-- A --><key id="389185">ActivateWindow(OSDAudioSettings)</key>
<!-- B/amber --><b mod="ctrl,alt">ActivateWindow(OSDVideoSettings)</b>
<!-- D/yellow --><d mod="ctrl,alt">ActivateWindow(OSDSubtitleSettings)</d>
<backspace>ActivateWindow(OSDSubtitleSettings)</backspace>
</keyboard>
</FullscreenVideo>
<SystemInfo>
<keyboard>
<!-- e-mail --><key id="61630">Back</key>
</keyboard>
</SystemInfo>
<PlayerProcessInfo>
<keyboard>
<!-- e-mail --><key id="61630">Back</key>
</keyboard>
</PlayerProcessInfo>
<PlayerDebug>
<keyboard>
<!-- open --><key id="127055">Back</key>
</keyboard>
</PlayerDebug>
<OSDSubtitleSettings>
<keyboard>
<!-- D/yellow --><d mod="ctrl,alt">Back</d>
<backspace>Back</backspace>
</keyboard>
</OSDSubtitleSettings>
<OSDAudioSettings>
<keyboard>
<!-- A --><key id="389185">Back</key>
</keyboard>
</OSDAudioSettings>
<OSDVideoSettings>
<keyboard>
<!-- B/amber --><b mod="ctrl,alt">Back</b>
</keyboard>
</OSDVideoSettings>
</keymap>
<!-- SELF_HASH="4150ff17a288232a949ca2858bcf5d00" -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment