[keyboard.xml] add KEY_TEXT keymapping (Text)
authorStephan Raue <stephan@openelec.tv>
Fri, 20 Nov 2015 09:54:34 +0000 (10:54 +0100)
committerStephan Raue <stephan@openelec.tv>
Fri, 20 Nov 2015 09:54:34 +0000 (10:54 +0100)
system/keymaps/keyboard.xml
xbmc/input/XBMC_keysym.h
xbmc/input/XBMC_keytable.cpp
xbmc/input/XBMC_vkeys.h
xbmc/input/linux/LinuxInputDevices.cpp

index b538a33..022177c 100644 (file)
       <escape>Fullscreen</escape>
       <c>Playlist</c>
       <v>ActivateWindow(Teletext)</v>
+      <text>ActivateWindow(Teletext)</text>
       <up mod="ctrl">SubtitleShiftUp</up>
       <down mod="ctrl">SubtitleShiftDown</down>
       <pageup>SkipNext</pageup>
       <i>Info</i>
       <p>ActivateWindow(VisualisationPresetList)</p>
       <v>Addon.Default.OpenSettings(xbmc.player.musicviz)</v>
+      <text>Addon.Default.OpenSettings(xbmc.player.musicviz)</text>
       <n>ActivateWindow(MusicPlaylist)</n>
       <left>StepBack</left>
       <right>StepForward</right>
       <o>CodecInfo</o>
       <p>ActivateWindow(VisualisationPresetList)</p>
       <v>Addon.Default.OpenSettings(xbmc.player.musicviz)</v>
+      <text>Addon.Default.OpenSettings(xbmc.player.musicviz)</text>
       <n>ActivateWindow(MusicPlaylist)</n>
     </keyboard>
   </MusicOSD>
       <o>CodecInfo</o>
       <p>ActivateWindow(VisualisationPresetList)</p>
       <v>Back</v>
+      <text>Back</text>
       <n>ActivateWindow(MusicPlaylist)</n>
     </keyboard>
   </VisualisationSettings>
       <o>CodecInfo</o>
       <p>Back</p>
       <v>Back</v>
+      <text>Back</text>
       <n>ActivateWindow(MusicPlaylist)</n>
     </keyboard>
   </VisualisationPresetList>
   <Teletext>
     <keyboard>
       <v>Back</v>
+      <text>Back</text>
     </keyboard>
   </Teletext>
   <Favourites>
index f14712a..0879943 100644 (file)
@@ -225,6 +225,7 @@ typedef enum {
   XBMCK_YELLOW      = 0x149,
   XBMCK_BLUE        = 0x14a,
   XBMCK_ZOOM        = 0x14b,
+  XBMCK_TEXT        = 0x14c,
 
   // Add any other keys here
 
index 22942be..4dea61c 100644 (file)
@@ -239,6 +239,7 @@ static const XBMCKEYTABLE XBMCKeyTable[] =
 , { XBMCK_YELLOW,                 0,    0, XBMCVK_YELLOW,        "yellow" }
 , { XBMCK_BLUE,                   0,    0, XBMCVK_BLUE,          "blue" }
 , { XBMCK_ZOOM,                   0,    0, XBMCVK_ZOOM,          "zoom" }
+, { XBMCK_TEXT,                   0,    0, XBMCVK_TEXT,          "text" }
 };
 
 static int XBMCKeyTableSize = sizeof(XBMCKeyTable)/sizeof(XBMCKEYTABLE);
index ccec23a..45ab72c 100644 (file)
@@ -217,6 +217,7 @@ typedef enum {
   XBMCVK_YELLOW         = 0xE5,
   XBMCVK_BLUE           = 0xE6,
   XBMCVK_ZOOM           = 0xE7,
+  XBMCVK_TEXT           = 0xE8,
 
   XBMCVK_LAST           = 0xFF
 } XBMCVKey;
index c999e69..c3ab883 100644 (file)
@@ -256,6 +256,7 @@ KeyMap keyMap[] = {
   { KEY_QUESTION      , XBMCK_HELP        },
   { KEY_BACK          , XBMCK_BACKSPACE   },
   { KEY_ZOOM          , XBMCK_ZOOM        },
+  { KEY_TEXT          , XBMCK_TEXT        },
   // The Little Black Box Remote Additions
   { 384               , XBMCK_LEFT        }, // Red
   { 378               , XBMCK_RIGHT       }, // Green