[keyboard.xml] add KEY_CONFIG keymapping (config)
authorStephan Raue <stephan@openelec.tv>
Fri, 20 Nov 2015 10:11:27 +0000 (11:11 +0100)
committerStephan Raue <stephan@openelec.tv>
Fri, 20 Nov 2015 10:11:27 +0000 (11:11 +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 4eaf543..7fe13d1 100644 (file)
       <browser_search/>
       <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
       <favorites>ActivateWindow(Favourites)</favorites>
+      <config>ActivateWindow(Settings)</config>
       <browser_home>ActivateWindow(Home)</browser_home>
       <homepage>ActivateWindow(Home)</homepage>
       <volume_mute>Mute</volume_mute>
index 169c374..89c21f5 100644 (file)
@@ -228,6 +228,7 @@ typedef enum {
   XBMCK_TEXT        = 0x14c,
   XBMCK_FAVORITES   = 0x14d,
   XBMCK_HOMEPAGE    = 0x14e,
+  XBMCK_CONFIG      = 0x14f,
 
   // Add any other keys here
 
index 7d79f23..4d05464 100644 (file)
@@ -242,6 +242,7 @@ static const XBMCKEYTABLE XBMCKeyTable[] =
 , { XBMCK_TEXT,                   0,    0, XBMCVK_TEXT,          "text" }
 , { XBMCK_FAVORITES,              0,    0, XBMCVK_FAVORITES,     "favorites" }
 , { XBMCK_HOMEPAGE ,              0,    0, XBMCVK_HOMEPAGE,      "homepage" }
+, { XBMCK_CONFIG,                 0,    0, XBMCVK_CONFIG,        "config" }
 };
 
 static int XBMCKeyTableSize = sizeof(XBMCKeyTable)/sizeof(XBMCKEYTABLE);
index 9c6b111..af114c9 100644 (file)
@@ -220,6 +220,7 @@ typedef enum {
   XBMCVK_TEXT           = 0xE8,
   XBMCVK_FAVORITES      = 0xE9,
   XBMCVK_HOMEPAGE       = 0xEA,
+  XBMCVK_CONFIG         = 0xEB,
 
   XBMCVK_LAST           = 0xFF
 } XBMCVKey;
index 9f3e367..1c17a13 100644 (file)
@@ -267,6 +267,7 @@ KeyMap keyMap[] = {
   { KEY_SEARCH        , XBMCK_BROWSER_SEARCH},
   { KEY_FILE          , XBMCK_LAUNCH_FILE_BROWSER},
   { KEY_SELECT        , XBMCK_RETURN      },
+  { KEY_CONFIG        , XBMCK_CONFIG      },
   // The Little Black Box Remote Additions
   { 384               , XBMCK_LEFT        }, // Red
   { 378               , XBMCK_RIGHT       }, // Green