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 <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-01-05 06:01:21 +01:00
parent db4900e014
commit 28f7c8aefa

View File

@ -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;