diff options
Diffstat (limited to 'drivers/media/video/ir-kbd-i2c.c')
-rw-r--r-- | drivers/media/video/ir-kbd-i2c.c | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c index 3963481b3130..95bacf435414 100644 --- a/drivers/media/video/ir-kbd-i2c.c +++ b/drivers/media/video/ir-kbd-i2c.c | |||
@@ -44,45 +44,6 @@ | |||
44 | #include <media/ir-common.h> | 44 | #include <media/ir-common.h> |
45 | #include <media/ir-kbd-i2c.h> | 45 | #include <media/ir-kbd-i2c.h> |
46 | 46 | ||
47 | /* Mark Phalan <phalanm@o2.ie> */ | ||
48 | static IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE] = { | ||
49 | [ 0 ] = KEY_KP0, | ||
50 | [ 1 ] = KEY_KP1, | ||
51 | [ 2 ] = KEY_KP2, | ||
52 | [ 3 ] = KEY_KP3, | ||
53 | [ 4 ] = KEY_KP4, | ||
54 | [ 5 ] = KEY_KP5, | ||
55 | [ 6 ] = KEY_KP6, | ||
56 | [ 7 ] = KEY_KP7, | ||
57 | [ 8 ] = KEY_KP8, | ||
58 | [ 9 ] = KEY_KP9, | ||
59 | |||
60 | [ 18 ] = KEY_POWER, | ||
61 | [ 16 ] = KEY_MUTE, | ||
62 | [ 31 ] = KEY_VOLUMEDOWN, | ||
63 | [ 27 ] = KEY_VOLUMEUP, | ||
64 | [ 26 ] = KEY_CHANNELUP, | ||
65 | [ 30 ] = KEY_CHANNELDOWN, | ||
66 | [ 14 ] = KEY_PAGEUP, | ||
67 | [ 29 ] = KEY_PAGEDOWN, | ||
68 | [ 19 ] = KEY_SOUND, | ||
69 | |||
70 | [ 24 ] = KEY_KPPLUSMINUS, /* CH +/- */ | ||
71 | [ 22 ] = KEY_SUBTITLE, /* CC */ | ||
72 | [ 13 ] = KEY_TEXT, /* TTX */ | ||
73 | [ 11 ] = KEY_TV, /* AIR/CBL */ | ||
74 | [ 17 ] = KEY_PC, /* PC/TV */ | ||
75 | [ 23 ] = KEY_OK, /* CH RTN */ | ||
76 | [ 25 ] = KEY_MODE, /* FUNC */ | ||
77 | [ 12 ] = KEY_SEARCH, /* AUTOSCAN */ | ||
78 | |||
79 | /* Not sure what to do with these ones! */ | ||
80 | [ 15 ] = KEY_SELECT, /* SOURCE */ | ||
81 | [ 10 ] = KEY_KPPLUS, /* +100 */ | ||
82 | [ 20 ] = KEY_KPEQUAL, /* SYNC */ | ||
83 | [ 28 ] = KEY_MEDIA, /* PC/TV */ | ||
84 | }; | ||
85 | |||
86 | /* ----------------------------------------------------------------------- */ | 47 | /* ----------------------------------------------------------------------- */ |
87 | /* insmod parameters */ | 48 | /* insmod parameters */ |
88 | 49 | ||
@@ -342,7 +303,7 @@ static int ir_attach(struct i2c_adapter *adap, int addr, | |||
342 | ir->get_key = get_key_haup; | 303 | ir->get_key = get_key_haup; |
343 | ir_type = IR_TYPE_RC5; | 304 | ir_type = IR_TYPE_RC5; |
344 | if (hauppauge == 1) { | 305 | if (hauppauge == 1) { |
345 | ir_codes = ir_codes_rc5_tv_grey; | 306 | ir_codes = ir_codes_hauppauge_new; |
346 | } else { | 307 | } else { |
347 | ir_codes = ir_codes_rc5_tv; | 308 | ir_codes = ir_codes_rc5_tv; |
348 | } | 309 | } |