[keyboard.xml] add KEY_HOMEPAGE keymapping (Home)
authorStephan Raue <stephan@openelec.tv>
Fri, 20 Nov 2015 10:03:14 +0000 (11:03 +0100)
committerStephan Raue <stephan@openelec.tv>
Fri, 20 Nov 2015 10:03:14 +0000 (11:03 +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 0c628cb..4eaf543 100644 (file)
       <browser_favorites>ActivateWindow(Favourites)</browser_favorites>
       <favorites>ActivateWindow(Favourites)</favorites>
       <browser_home>ActivateWindow(Home)</browser_home>
+      <homepage>ActivateWindow(Home)</homepage>
       <volume_mute>Mute</volume_mute>
       <volume_down>VolumeDown</volume_down>
       <volume_up>VolumeUp</volume_up>
index 0ecf3e4..169c374 100644 (file)
@@ -227,6 +227,7 @@ typedef enum {
   XBMCK_ZOOM        = 0x14b,
   XBMCK_TEXT        = 0x14c,
   XBMCK_FAVORITES   = 0x14d,
+  XBMCK_HOMEPAGE    = 0x14e,
 
   // Add any other keys here
 
index 13da5b1..7d79f23 100644 (file)
@@ -241,6 +241,7 @@ static const XBMCKEYTABLE XBMCKeyTable[] =
 , { XBMCK_ZOOM,                   0,    0, XBMCVK_ZOOM,          "zoom" }
 , { XBMCK_TEXT,                   0,    0, XBMCVK_TEXT,          "text" }
 , { XBMCK_FAVORITES,              0,    0, XBMCVK_FAVORITES,     "favorites" }
+, { XBMCK_HOMEPAGE ,              0,    0, XBMCVK_HOMEPAGE,      "homepage" }
 };
 
 static int XBMCKeyTableSize = sizeof(XBMCKeyTable)/sizeof(XBMCKEYTABLE);
index 9df9b51..9c6b111 100644 (file)
@@ -219,6 +219,7 @@ typedef enum {
   XBMCVK_ZOOM           = 0xE7,
   XBMCVK_TEXT           = 0xE8,
   XBMCVK_FAVORITES      = 0xE9,
+  XBMCVK_HOMEPAGE       = 0xEA,
 
   XBMCVK_LAST           = 0xFF
 } XBMCVKey;
index 86dcc3c..36406dd 100644 (file)
@@ -262,13 +262,12 @@ KeyMap keyMap[] = {
   { KEY_GREEN         , XBMCK_GREEN       },
   { KEY_YELLOW        , XBMCK_YELLOW      },
   { KEY_BLUE          , XBMCK_BLUE        },
+  { KEY_HOMEPAGE      , XBMCK_HOMEPAGE    },
   // The Little Black Box Remote Additions
   { 384               , XBMCK_LEFT        }, // Red
   { 378               , XBMCK_RIGHT       }, // Green
   { 381               , XBMCK_UP          }, // Yellow
   { 366               , XBMCK_DOWN        }, // Blue
-  // Rii i7 Home button / wetek openelec remote (code 172)
-  { KEY_HOMEPAGE      , XBMCK_HOME        },
 };
 
 typedef enum