From 04fd6fa6e549ce0715413b9f4913356bb213683e Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 10:40:53 +0100 Subject: [PATCH 01/13] [keyboard.xml] add CTRL+R keymapping (Record) --- system/keymaps/keyboard.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index d11d765dfb8ef..c83e5e3d02ddb 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -151,6 +151,7 @@ SkipNext SkipPrevious Info + Record VolumeUp VolumeDown Mute From 44e62426ae8794220e33e7ccb0da1afb14efe9a5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 10:41:27 +0100 Subject: [PATCH 02/13] [keyboard.xml] add ALT+F4 keymapping (Exit) --- system/keymaps/keyboard.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index c83e5e3d02ddb..d0bb9e049b4ef 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -152,6 +152,7 @@ SkipPrevious Info Record + PreviousMenu VolumeUp VolumeDown Mute From 849842c5f62e39b882a6720af58d8b2aee09112a Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 10:48:17 +0100 Subject: [PATCH 03/13] [mouse.xml] add right click keymapping (Info) --- system/keymaps/mouse.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/keymaps/mouse.xml b/system/keymaps/mouse.xml index d83fab099010f..c2b39f86d3b43 100644 --- a/system/keymaps/mouse.xml +++ b/system/keymaps/mouse.xml @@ -29,4 +29,11 @@ NextPicture + + + Info + + + + From cc0dea22b08e085a31943f40a8f50cb4fa5a718b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 10:50:28 +0100 Subject: [PATCH 04/13] [keyboard.xml] add KEY_ZOOM keymapping (Zoom) --- system/keymaps/keyboard.xml | 2 ++ xbmc/input/XBMC_keysym.h | 1 + xbmc/input/XBMC_keytable.cpp | 1 + xbmc/input/XBMC_vkeys.h | 1 + xbmc/input/linux/LinuxInputDevices.cpp | 1 + 5 files changed, 6 insertions(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index d0bb9e049b4ef..b538a3372e359 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -304,6 +304,7 @@ Info CodecInfo AspectRatio + AspectRatio ShowSubtitles SubtitleAlign NextSubtitle @@ -474,6 +475,7 @@ Info CodecInfo AspectRatio + AspectRatio ShowSubtitles NextSubtitle AudioDelay diff --git a/xbmc/input/XBMC_keysym.h b/xbmc/input/XBMC_keysym.h index 873ed8a813893..f14712acaf014 100644 --- a/xbmc/input/XBMC_keysym.h +++ b/xbmc/input/XBMC_keysym.h @@ -224,6 +224,7 @@ typedef enum { XBMCK_GREEN = 0x148, XBMCK_YELLOW = 0x149, XBMCK_BLUE = 0x14a, + XBMCK_ZOOM = 0x14b, // Add any other keys here diff --git a/xbmc/input/XBMC_keytable.cpp b/xbmc/input/XBMC_keytable.cpp index dc462048387a7..22942be084be1 100644 --- a/xbmc/input/XBMC_keytable.cpp +++ b/xbmc/input/XBMC_keytable.cpp @@ -238,6 +238,7 @@ static const XBMCKEYTABLE XBMCKeyTable[] = , { XBMCK_GREEN, 0, 0, XBMCVK_GREEN, "green" } , { XBMCK_YELLOW, 0, 0, XBMCVK_YELLOW, "yellow" } , { XBMCK_BLUE, 0, 0, XBMCVK_BLUE, "blue" } +, { XBMCK_ZOOM, 0, 0, XBMCVK_ZOOM, "zoom" } }; static int XBMCKeyTableSize = sizeof(XBMCKeyTable)/sizeof(XBMCKEYTABLE); diff --git a/xbmc/input/XBMC_vkeys.h b/xbmc/input/XBMC_vkeys.h index 7fd8a8647d17f..ccec23a878e89 100644 --- a/xbmc/input/XBMC_vkeys.h +++ b/xbmc/input/XBMC_vkeys.h @@ -216,6 +216,7 @@ typedef enum { XBMCVK_GREEN = 0xE4, XBMCVK_YELLOW = 0xE5, XBMCVK_BLUE = 0xE6, + XBMCVK_ZOOM = 0xE7, XBMCVK_LAST = 0xFF } XBMCVKey; diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 723f7ae80af6b..c999e6993fed0 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -255,6 +255,7 @@ KeyMap keyMap[] = { { KEY_PRINT , XBMCK_PRINT }, { KEY_QUESTION , XBMCK_HELP }, { KEY_BACK , XBMCK_BACKSPACE }, + { KEY_ZOOM , XBMCK_ZOOM }, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From 9066630c7e3a8388b18673ef9a7ae2929479cd09 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 10:54:34 +0100 Subject: [PATCH 05/13] [keyboard.xml] add KEY_TEXT keymapping (Text) --- system/keymaps/keyboard.xml | 6 ++++++ xbmc/input/XBMC_keysym.h | 1 + xbmc/input/XBMC_keytable.cpp | 1 + xbmc/input/XBMC_vkeys.h | 1 + xbmc/input/linux/LinuxInputDevices.cpp | 1 + 5 files changed, 10 insertions(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index b538a3372e359..022177cba5adb 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -316,6 +316,7 @@ Fullscreen Playlist ActivateWindow(Teletext) + ActivateWindow(Teletext) SubtitleShiftUp SubtitleShiftDown SkipNext @@ -364,6 +365,7 @@ Info

ActivateWindow(VisualisationPresetList)

Addon.Default.OpenSettings(xbmc.player.musicviz) + Addon.Default.OpenSettings(xbmc.player.musicviz) ActivateWindow(MusicPlaylist) StepBack StepForward @@ -388,6 +390,7 @@ CodecInfo

ActivateWindow(VisualisationPresetList)

Addon.Default.OpenSettings(xbmc.player.musicviz) + Addon.Default.OpenSettings(xbmc.player.musicviz) ActivateWindow(MusicPlaylist) @@ -402,6 +405,7 @@ CodecInfo

ActivateWindow(VisualisationPresetList)

Back + Back ActivateWindow(MusicPlaylist) @@ -416,6 +420,7 @@ CodecInfo

Back

Back + Back ActivateWindow(MusicPlaylist) @@ -565,6 +570,7 @@ Back + Back diff --git a/xbmc/input/XBMC_keysym.h b/xbmc/input/XBMC_keysym.h index f14712acaf014..0879943c43075 100644 --- a/xbmc/input/XBMC_keysym.h +++ b/xbmc/input/XBMC_keysym.h @@ -225,6 +225,7 @@ typedef enum { XBMCK_YELLOW = 0x149, XBMCK_BLUE = 0x14a, XBMCK_ZOOM = 0x14b, + XBMCK_TEXT = 0x14c, // Add any other keys here diff --git a/xbmc/input/XBMC_keytable.cpp b/xbmc/input/XBMC_keytable.cpp index 22942be084be1..4dea61c94bb54 100644 --- a/xbmc/input/XBMC_keytable.cpp +++ b/xbmc/input/XBMC_keytable.cpp @@ -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); diff --git a/xbmc/input/XBMC_vkeys.h b/xbmc/input/XBMC_vkeys.h index ccec23a878e89..45ab72c6d5853 100644 --- a/xbmc/input/XBMC_vkeys.h +++ b/xbmc/input/XBMC_vkeys.h @@ -217,6 +217,7 @@ typedef enum { XBMCVK_YELLOW = 0xE5, XBMCVK_BLUE = 0xE6, XBMCVK_ZOOM = 0xE7, + XBMCVK_TEXT = 0xE8, XBMCVK_LAST = 0xFF } XBMCVKey; diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index c999e6993fed0..c3ab8834f1c32 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -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 From 00ed30f3f6e8a4fef5551a9312a451ed63a6a808 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 10:56:56 +0100 Subject: [PATCH 06/13] [keyboard.xml] add KEY_FAVORITES keymapping (Favorites) --- system/keymaps/keyboard.xml | 1 + xbmc/input/XBMC_keysym.h | 1 + xbmc/input/XBMC_keytable.cpp | 1 + xbmc/input/XBMC_vkeys.h | 1 + xbmc/input/linux/LinuxInputDevices.cpp | 1 + 5 files changed, 5 insertions(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index 022177cba5adb..05278c7dd078a 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -123,6 +123,7 @@ ActivateWindow(Favourites) + ActivateWindow(Favourites) ActivateWindow(Home) Mute VolumeDown diff --git a/xbmc/input/XBMC_keysym.h b/xbmc/input/XBMC_keysym.h index 0879943c43075..0ecf3e454c2de 100644 --- a/xbmc/input/XBMC_keysym.h +++ b/xbmc/input/XBMC_keysym.h @@ -226,6 +226,7 @@ typedef enum { XBMCK_BLUE = 0x14a, XBMCK_ZOOM = 0x14b, XBMCK_TEXT = 0x14c, + XBMCK_FAVORITES = 0x14d, // Add any other keys here diff --git a/xbmc/input/XBMC_keytable.cpp b/xbmc/input/XBMC_keytable.cpp index 4dea61c94bb54..13da5b1995521 100644 --- a/xbmc/input/XBMC_keytable.cpp +++ b/xbmc/input/XBMC_keytable.cpp @@ -240,6 +240,7 @@ static const XBMCKEYTABLE XBMCKeyTable[] = , { XBMCK_BLUE, 0, 0, XBMCVK_BLUE, "blue" } , { XBMCK_ZOOM, 0, 0, XBMCVK_ZOOM, "zoom" } , { XBMCK_TEXT, 0, 0, XBMCVK_TEXT, "text" } +, { XBMCK_FAVORITES, 0, 0, XBMCVK_FAVORITES, "favorites" } }; static int XBMCKeyTableSize = sizeof(XBMCKeyTable)/sizeof(XBMCKEYTABLE); diff --git a/xbmc/input/XBMC_vkeys.h b/xbmc/input/XBMC_vkeys.h index 45ab72c6d5853..9df9b5168b94c 100644 --- a/xbmc/input/XBMC_vkeys.h +++ b/xbmc/input/XBMC_vkeys.h @@ -218,6 +218,7 @@ typedef enum { XBMCVK_BLUE = 0xE6, XBMCVK_ZOOM = 0xE7, XBMCVK_TEXT = 0xE8, + XBMCVK_FAVORITES = 0xE9, XBMCVK_LAST = 0xFF } XBMCVKey; diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index c3ab8834f1c32..523c37e34e44a 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -257,6 +257,7 @@ KeyMap keyMap[] = { { KEY_BACK , XBMCK_BACKSPACE }, { KEY_ZOOM , XBMCK_ZOOM }, { KEY_TEXT , XBMCK_TEXT }, + { KEY_FAVORITES , XBMCK_FAVORITES }, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From 302b3549dcac380365fd81658794093ec6a40d3d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:01:44 +0100 Subject: [PATCH 07/13] [keyboard.xml] add KEY_RED,KEY_GREEN,KEY_YELLOW,KEY_BLUE keymapping (colored buttons) --- system/keymaps/keyboard.xml | 29 ++++++++++++++++++++++++++ xbmc/input/linux/LinuxInputDevices.cpp | 4 ++++ 2 files changed, 33 insertions(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index 05278c7dd078a..0c628cba7c76b 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -116,6 +116,11 @@ ActivateWindow(RadioChannels) ActivateWindow(TVRecordings) ActivateWindow(TVTimers) + + ActivateWindow(TVChannels) + ActivateWindow(MyVideos) + ActivateWindow(MyMusic) + ActivateWindow(MyPictures) Back @@ -214,6 +219,10 @@ Delete Rename PreviousMenu + Red + Green + Yellow + Blue @@ -221,6 +230,10 @@ Delete Rename PreviousMenu + Red + Green + Yellow + Blue @@ -233,12 +246,20 @@ Delete Rename + Red + Green + Yellow + Blue Delete Rename + Red + Green + Yellow + Blue @@ -572,6 +593,10 @@ Back Back + Red + Green + Yellow + Blue @@ -660,9 +685,13 @@ Red + Red Green + Green Yellow + Yellow Blue + Blue diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 523c37e34e44a..86dcc3c8fb608 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -258,6 +258,10 @@ KeyMap keyMap[] = { { KEY_ZOOM , XBMCK_ZOOM }, { KEY_TEXT , XBMCK_TEXT }, { KEY_FAVORITES , XBMCK_FAVORITES }, + { KEY_RED , XBMCK_RED }, + { KEY_GREEN , XBMCK_GREEN }, + { KEY_YELLOW , XBMCK_YELLOW }, + { KEY_BLUE , XBMCK_BLUE }, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From 91372b6bb35feb74ec68c72d94d4bc3c99f806b4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:03:14 +0100 Subject: [PATCH 08/13] [keyboard.xml] add KEY_HOMEPAGE keymapping (Home) --- system/keymaps/keyboard.xml | 1 + xbmc/input/XBMC_keysym.h | 1 + xbmc/input/XBMC_keytable.cpp | 1 + xbmc/input/XBMC_vkeys.h | 1 + xbmc/input/linux/LinuxInputDevices.cpp | 3 +-- 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index 0c628cba7c76b..4eaf543491d80 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -130,6 +130,7 @@ ActivateWindow(Favourites) ActivateWindow(Favourites) ActivateWindow(Home) + ActivateWindow(Home) Mute VolumeDown VolumeUp diff --git a/xbmc/input/XBMC_keysym.h b/xbmc/input/XBMC_keysym.h index 0ecf3e454c2de..169c374d188ec 100644 --- a/xbmc/input/XBMC_keysym.h +++ b/xbmc/input/XBMC_keysym.h @@ -227,6 +227,7 @@ typedef enum { XBMCK_ZOOM = 0x14b, XBMCK_TEXT = 0x14c, XBMCK_FAVORITES = 0x14d, + XBMCK_HOMEPAGE = 0x14e, // Add any other keys here diff --git a/xbmc/input/XBMC_keytable.cpp b/xbmc/input/XBMC_keytable.cpp index 13da5b1995521..7d79f23f6f358 100644 --- a/xbmc/input/XBMC_keytable.cpp +++ b/xbmc/input/XBMC_keytable.cpp @@ -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); diff --git a/xbmc/input/XBMC_vkeys.h b/xbmc/input/XBMC_vkeys.h index 9df9b5168b94c..9c6b111e76079 100644 --- a/xbmc/input/XBMC_vkeys.h +++ b/xbmc/input/XBMC_vkeys.h @@ -219,6 +219,7 @@ typedef enum { XBMCVK_ZOOM = 0xE7, XBMCVK_TEXT = 0xE8, XBMCVK_FAVORITES = 0xE9, + XBMCVK_HOMEPAGE = 0xEA, XBMCVK_LAST = 0xFF } XBMCVKey; diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 86dcc3c8fb608..36406dd92dba0 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -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 From 39beaea722d680242660ecab28cc430fa1ac0d47 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:06:12 +0100 Subject: [PATCH 09/13] [LinuxInputDevices] add KEY_MAIL support (launch_mail) --- xbmc/input/linux/LinuxInputDevices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 36406dd92dba0..2a867890fa2cb 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -263,6 +263,7 @@ KeyMap keyMap[] = { { KEY_YELLOW , XBMCK_YELLOW }, { KEY_BLUE , XBMCK_BLUE }, { KEY_HOMEPAGE , XBMCK_HOMEPAGE }, + { KEY_MAIL , XBMCK_LAUNCH_MAIL }, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From 398d2b81b9a0b3a026e0fef25d999feb4ee27194 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:07:27 +0100 Subject: [PATCH 10/13] [LinuxInputDevices] add KEY_SEARCH support (browser_search) --- xbmc/input/linux/LinuxInputDevices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 2a867890fa2cb..9ae7cb846aa76 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -264,6 +264,7 @@ KeyMap keyMap[] = { { KEY_BLUE , XBMCK_BLUE }, { KEY_HOMEPAGE , XBMCK_HOMEPAGE }, { KEY_MAIL , XBMCK_LAUNCH_MAIL }, + { KEY_SEARCH , XBMCK_BROWSER_SEARCH}, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From c9bffb68c2ff44d11527f9d3c35838490a442295 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:08:31 +0100 Subject: [PATCH 11/13] [LinuxInputDevices] add KEY_FILE support (launch_file_browser) --- xbmc/input/linux/LinuxInputDevices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 9ae7cb846aa76..64389c4f58c4e 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -265,6 +265,7 @@ KeyMap keyMap[] = { { KEY_HOMEPAGE , XBMCK_HOMEPAGE }, { KEY_MAIL , XBMCK_LAUNCH_MAIL }, { KEY_SEARCH , XBMCK_BROWSER_SEARCH}, + { KEY_FILE , XBMCK_LAUNCH_FILE_BROWSER}, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From 9f11b54cc4e431ba13df9544eaff8dca77220105 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:09:57 +0100 Subject: [PATCH 12/13] [LinuxInputDevices] add KEY_SELECT support (return) --- xbmc/input/linux/LinuxInputDevices.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 64389c4f58c4e..9f3e3673eef25 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -266,6 +266,7 @@ KeyMap keyMap[] = { { KEY_MAIL , XBMCK_LAUNCH_MAIL }, { KEY_SEARCH , XBMCK_BROWSER_SEARCH}, { KEY_FILE , XBMCK_LAUNCH_FILE_BROWSER}, + { KEY_SELECT , XBMCK_RETURN }, // The Little Black Box Remote Additions { 384 , XBMCK_LEFT }, // Red { 378 , XBMCK_RIGHT }, // Green From 6da8abe0baa6d8fcb82b8599fa601dce7880ccfe Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 20 Nov 2015 11:11:27 +0100 Subject: [PATCH 13/13] [keyboard.xml] add KEY_CONFIG keymapping (config) --- system/keymaps/keyboard.xml | 1 + xbmc/input/XBMC_keysym.h | 1 + xbmc/input/XBMC_keytable.cpp | 1 + xbmc/input/XBMC_vkeys.h | 1 + xbmc/input/linux/LinuxInputDevices.cpp | 1 + 5 files changed, 5 insertions(+) diff --git a/system/keymaps/keyboard.xml b/system/keymaps/keyboard.xml index 4eaf543491d80..7fe13d116b9b8 100644 --- a/system/keymaps/keyboard.xml +++ b/system/keymaps/keyboard.xml @@ -129,6 +129,7 @@ ActivateWindow(Favourites) ActivateWindow(Favourites) + ActivateWindow(Settings) ActivateWindow(Home) ActivateWindow(Home) Mute diff --git a/xbmc/input/XBMC_keysym.h b/xbmc/input/XBMC_keysym.h index 169c374d188ec..89c21f5c60e19 100644 --- a/xbmc/input/XBMC_keysym.h +++ b/xbmc/input/XBMC_keysym.h @@ -228,6 +228,7 @@ typedef enum { XBMCK_TEXT = 0x14c, XBMCK_FAVORITES = 0x14d, XBMCK_HOMEPAGE = 0x14e, + XBMCK_CONFIG = 0x14f, // Add any other keys here diff --git a/xbmc/input/XBMC_keytable.cpp b/xbmc/input/XBMC_keytable.cpp index 7d79f23f6f358..4d05464722491 100644 --- a/xbmc/input/XBMC_keytable.cpp +++ b/xbmc/input/XBMC_keytable.cpp @@ -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); diff --git a/xbmc/input/XBMC_vkeys.h b/xbmc/input/XBMC_vkeys.h index 9c6b111e76079..af114c976e7a7 100644 --- a/xbmc/input/XBMC_vkeys.h +++ b/xbmc/input/XBMC_vkeys.h @@ -220,6 +220,7 @@ typedef enum { XBMCVK_TEXT = 0xE8, XBMCVK_FAVORITES = 0xE9, XBMCVK_HOMEPAGE = 0xEA, + XBMCVK_CONFIG = 0xEB, XBMCVK_LAST = 0xFF } XBMCVKey; diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index 9f3e3673eef25..1c17a1327d169 100644 --- a/xbmc/input/linux/LinuxInputDevices.cpp +++ b/xbmc/input/linux/LinuxInputDevices.cpp @@ -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