V4L/DVB (5383): Fix duplicated codes in Pinnacle Grey remote
authorEmil Georgiev <emilonlinester@gmail.com>
Sun, 4 Mar 2007 10:03:17 +0000 (07:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:15 +0000 (15:44 -0300)
The keymap for this remote had duplicated labels for different keys,
which resulted in those key pairs being unable to function as different
inputs.

Signed-off-by: Emil Georgiev <emilonlinester@gmail.com>
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/ir-keymaps.c

index 03b47a2..5ead66f 100644 (file)
@@ -667,7 +667,7 @@ IR_KEYTAB_TYPE ir_codes_pinnacle_grey[IR_KEYTAB_SIZE] = {
        [ 0x1f ] = KEY_L,
        [ 0x2b ] = KEY_I,
 
-       [ 0x2d ] = KEY_ZOOM,
+       [ 0x2d ] = KEY_SCREEN,
        [ 0x1e ] = KEY_ZOOM,
        [ 0x1b ] = KEY_VOLUMEUP,
        [ 0x0f ] = KEY_VOLUMEDOWN,
@@ -682,12 +682,12 @@ IR_KEYTAB_TYPE ir_codes_pinnacle_grey[IR_KEYTAB_SIZE] = {
 
        [ 0x3f ] = KEY_UP,
        [ 0x3e ] = KEY_DOWN,
-       [ 0x1a ] = KEY_PAUSE,
+       [ 0x1a ] = KEY_ENTER,
 
        [ 0x1d ] = KEY_MENU,
-       [ 0x19 ] = KEY_PLAY,
-       [ 0x16 ] = KEY_REWIND,
-       [ 0x13 ] = KEY_FORWARD,
+       [ 0x19 ] = KEY_AGAIN,
+       [ 0x16 ] = KEY_PREVIOUSSONG,
+       [ 0x13 ] = KEY_NEXTSONG,
        [ 0x15 ] = KEY_PAUSE,
        [ 0x0e ] = KEY_REWIND,
        [ 0x0d ] = KEY_PLAY,