From 28f7c8aefa2017273a1eadf2b62db0165a8554af Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 5 Jan 2016 06:01:21 +0100 Subject: [PATCH] projects/WeTek_Play/patches/linux: update keymappings to fix some mappings on the WeTek remote (this breaks some on the OpenELEC remote, but we can live with that, we have enough buttons for the same mappings Signed-off-by: Stephan Raue --- .../patches/linux/linux-054-hbgic-remote-0.2.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/WeTek_Play/patches/linux/linux-054-hbgic-remote-0.2.patch b/projects/WeTek_Play/patches/linux/linux-054-hbgic-remote-0.2.patch index 647081e159..92b0b81f68 100644 --- a/projects/WeTek_Play/patches/linux/linux-054-hbgic-remote-0.2.patch +++ b/projects/WeTek_Play/patches/linux/linux-054-hbgic-remote-0.2.patch @@ -42,10 +42,10 @@ diff -Naur linux-amlogic-3.10-9df7905/drivers/hid/hid-hbgic-kbd.c linux-amlogic- + unsigned long **bit, int *max) +{ + switch (usage->hid) { -+ case 0x00070029: hbgic_map_key(KEY_BACK); break; ++ case 0x00070029: hbgic_map_key(KEY_ESC); break; + case 0x0007002a: hbgic_map_key(KEY_BACK); break; -+ case 0x0007003a: hbgic_map_key(KEY_BACK); break; -+ case 0x0007003b: hbgic_map_key(KEY_HOME); break; ++ case 0x0007003a: hbgic_map_key(KEY_ZOOM); break; ++ case 0x0007003b: hbgic_map_key(KEY_EPG); break; + case 0x0007003c: hbgic_map_key(KEY_HOMEPAGE); break; + case 0x0007003d: hbgic_map_key(KEY_MENU); break; + case 0x0007003e: hbgic_map_key(KEY_ZOOM); break; @@ -56,7 +56,7 @@ diff -Naur linux-amlogic-3.10-9df7905/drivers/hid/hid-hbgic-kbd.c linux-amlogic- + case 0x00070043: hbgic_map_key(KEY_YELLOW); break; + case 0x00070044: hbgic_map_key(KEY_TEXT); break; + case 0x0007004a: hbgic_map_key(KEY_HOMEPAGE); break; -+ case 0x000700f1: hbgic_map_key(KEY_BACK); break; ++ case 0x000700f1: hbgic_map_key(KEY_ESC); break; + case 0x000c00e2: hbgic_map_key(KEY_MUTE); break; + case 0x000c019e: hbgic_map_key(KEY_MUTE); break; + case 0x000c01c2: hbgic_map_key(KEY_BLUE); break;