diff options
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 73 | ||||
-rw-r--r-- | include/media/ir-common.h | 1 |
2 files changed, 74 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index abb5c73fbd12..9bbe6b1e9871 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -3320,3 +3320,76 @@ struct ir_scancode_table ir_codes_rc5_hauppauge_new_table = { | |||
3320 | .ir_type = IR_TYPE_RC5, | 3320 | .ir_type = IR_TYPE_RC5, |
3321 | }; | 3321 | }; |
3322 | EXPORT_SYMBOL_GPL(ir_codes_rc5_hauppauge_new_table); | 3322 | EXPORT_SYMBOL_GPL(ir_codes_rc5_hauppauge_new_table); |
3323 | |||
3324 | /* Terratec Cinergy Hybrid T USB XS FM | ||
3325 | Mauro Carvalho Chehab <mchehab@redhat.com> | ||
3326 | */ | ||
3327 | static struct ir_scancode ir_codes_nec_terratec_cinergy_xs[] = { | ||
3328 | { 0x1441, KEY_HOME}, | ||
3329 | { 0x1401, KEY_POWER2}, | ||
3330 | |||
3331 | { 0x1442, KEY_MENU}, /* DVD menu */ | ||
3332 | { 0x1443, KEY_SUBTITLE}, | ||
3333 | { 0x1444, KEY_TEXT}, /* Teletext */ | ||
3334 | { 0x1445, KEY_DELETE}, | ||
3335 | |||
3336 | { 0x1402, KEY_1}, | ||
3337 | { 0x1403, KEY_2}, | ||
3338 | { 0x1404, KEY_3}, | ||
3339 | { 0x1405, KEY_4}, | ||
3340 | { 0x1406, KEY_5}, | ||
3341 | { 0x1407, KEY_6}, | ||
3342 | { 0x1408, KEY_7}, | ||
3343 | { 0x1409, KEY_8}, | ||
3344 | { 0x140a, KEY_9}, | ||
3345 | { 0x140c, KEY_0}, | ||
3346 | |||
3347 | { 0x140b, KEY_TUNER}, /* AV */ | ||
3348 | { 0x140d, KEY_MODE}, /* A.B */ | ||
3349 | |||
3350 | { 0x1446, KEY_TV}, | ||
3351 | { 0x1447, KEY_DVD}, | ||
3352 | { 0x1449, KEY_VIDEO}, | ||
3353 | { 0x144a, KEY_RADIO}, /* Music */ | ||
3354 | { 0x144b, KEY_CAMERA}, /* PIC */ | ||
3355 | |||
3356 | { 0x1410, KEY_UP}, | ||
3357 | { 0x1411, KEY_LEFT}, | ||
3358 | { 0x1412, KEY_OK}, | ||
3359 | { 0x1413, KEY_RIGHT}, | ||
3360 | { 0x1414, KEY_DOWN}, | ||
3361 | |||
3362 | { 0x140f, KEY_EPG}, | ||
3363 | { 0x1416, KEY_INFO}, | ||
3364 | { 0x144d, KEY_BACKSPACE}, | ||
3365 | |||
3366 | { 0x141c, KEY_VOLUMEUP}, | ||
3367 | { 0x141e, KEY_VOLUMEDOWN}, | ||
3368 | |||
3369 | { 0x144c, KEY_PLAY}, | ||
3370 | { 0x141d, KEY_MUTE}, | ||
3371 | |||
3372 | { 0x141b, KEY_CHANNELUP}, | ||
3373 | { 0x141f, KEY_CHANNELDOWN}, | ||
3374 | |||
3375 | { 0x1417, KEY_RED}, | ||
3376 | { 0x1418, KEY_GREEN}, | ||
3377 | { 0x1419, KEY_YELLOW}, | ||
3378 | { 0x141a, KEY_BLUE}, | ||
3379 | |||
3380 | { 0x1458, KEY_RECORD}, | ||
3381 | { 0x1448, KEY_STOP}, | ||
3382 | { 0x1440, KEY_PAUSE}, | ||
3383 | |||
3384 | { 0x1454, KEY_LAST}, | ||
3385 | { 0x144e, KEY_REWIND}, | ||
3386 | { 0x144f, KEY_FASTFORWARD}, | ||
3387 | { 0x145c, KEY_NEXT}, | ||
3388 | }; | ||
3389 | struct ir_scancode_table ir_codes_nec_terratec_cinergy_xs_table = { | ||
3390 | .scan = ir_codes_nec_terratec_cinergy_xs, | ||
3391 | .size = ARRAY_SIZE(ir_codes_nec_terratec_cinergy_xs), | ||
3392 | .ir_type = IR_TYPE_NEC, | ||
3393 | }; | ||
3394 | EXPORT_SYMBOL_GPL(ir_codes_nec_terratec_cinergy_xs_table); | ||
3395 | |||
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 28d1b9c65f2e..45bf5cf59458 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -200,4 +200,5 @@ extern struct ir_scancode_table ir_codes_evga_indtube_table; | |||
200 | extern struct ir_scancode_table ir_codes_terratec_cinergy_xs_table; | 200 | extern struct ir_scancode_table ir_codes_terratec_cinergy_xs_table; |
201 | extern struct ir_scancode_table ir_codes_videomate_s350_table; | 201 | extern struct ir_scancode_table ir_codes_videomate_s350_table; |
202 | extern struct ir_scancode_table ir_codes_gadmei_rm008z_table; | 202 | extern struct ir_scancode_table ir_codes_gadmei_rm008z_table; |
203 | extern struct ir_scancode_table ir_codes_nec_terratec_cinergy_xs_table; | ||
203 | #endif | 204 | #endif |