diff options
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 49 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 1 | ||||
-rw-r--r-- | include/media/ir-common.h | 1 |
3 files changed, 51 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index d8229a0e9a9c..d7b205472e1c 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -2452,6 +2452,55 @@ IR_KEYTAB_TYPE ir_codes_kworld_plus_tv_analog[IR_KEYTAB_SIZE] = { | |||
2452 | }; | 2452 | }; |
2453 | EXPORT_SYMBOL_GPL(ir_codes_kworld_plus_tv_analog); | 2453 | EXPORT_SYMBOL_GPL(ir_codes_kworld_plus_tv_analog); |
2454 | 2454 | ||
2455 | /* Kaiomy TVnPC U2 | ||
2456 | Mauro Carvalho Chehab <mchehab@infradead.org> | ||
2457 | */ | ||
2458 | IR_KEYTAB_TYPE ir_codes_kaiomy[IR_KEYTAB_SIZE] = { | ||
2459 | [0x43] = KEY_POWER2, | ||
2460 | [0x01] = KEY_LIST, | ||
2461 | [0x0b] = KEY_ZOOM, | ||
2462 | [0x03] = KEY_POWER, | ||
2463 | |||
2464 | [0x04] = KEY_1, | ||
2465 | [0x08] = KEY_2, | ||
2466 | [0x02] = KEY_3, | ||
2467 | |||
2468 | [0x0f] = KEY_4, | ||
2469 | [0x05] = KEY_5, | ||
2470 | [0x06] = KEY_6, | ||
2471 | |||
2472 | [0x0c] = KEY_7, | ||
2473 | [0x0d] = KEY_8, | ||
2474 | [0x0a] = KEY_9, | ||
2475 | |||
2476 | [0x11] = KEY_0, | ||
2477 | |||
2478 | [0x09] = KEY_CHANNELUP, | ||
2479 | [0x07] = KEY_CHANNELDOWN, | ||
2480 | |||
2481 | [0x0e] = KEY_VOLUMEUP, | ||
2482 | [0x13] = KEY_VOLUMEDOWN, | ||
2483 | |||
2484 | [0x10] = KEY_HOME, | ||
2485 | [0x12] = KEY_ENTER, | ||
2486 | |||
2487 | [0x14] = KEY_RECORD, | ||
2488 | [0x15] = KEY_STOP, | ||
2489 | [0x16] = KEY_PLAY, | ||
2490 | [0x17] = KEY_MUTE, | ||
2491 | |||
2492 | [0x18] = KEY_UP, | ||
2493 | [0x19] = KEY_DOWN, | ||
2494 | [0x1a] = KEY_LEFT, | ||
2495 | [0x1b] = KEY_RIGHT, | ||
2496 | |||
2497 | [0x1c] = KEY_RED, | ||
2498 | [0x1d] = KEY_GREEN, | ||
2499 | [0x1e] = KEY_YELLOW, | ||
2500 | [0x1f] = KEY_BLUE, | ||
2501 | }; | ||
2502 | EXPORT_SYMBOL_GPL(ir_codes_kaiomy); | ||
2503 | |||
2455 | IR_KEYTAB_TYPE ir_codes_avermedia_a16d[IR_KEYTAB_SIZE] = { | 2504 | IR_KEYTAB_TYPE ir_codes_avermedia_a16d[IR_KEYTAB_SIZE] = { |
2456 | [0x20] = KEY_LIST, | 2505 | [0x20] = KEY_LIST, |
2457 | [0x00] = KEY_POWER, | 2506 | [0x00] = KEY_POWER, |
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index c62243ef73b4..2048a8761099 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -1260,6 +1260,7 @@ struct em28xx_board em28xx_boards[] = { | |||
1260 | .mts_firmware = 1, | 1260 | .mts_firmware = 1, |
1261 | .decoder = EM28XX_TVP5150, | 1261 | .decoder = EM28XX_TVP5150, |
1262 | .tuner_gpio = default_tuner_gpio, | 1262 | .tuner_gpio = default_tuner_gpio, |
1263 | .ir_codes = ir_codes_kaiomy, | ||
1263 | .input = { { | 1264 | .input = { { |
1264 | .type = EM28XX_VMUX_TELEVISION, | 1265 | .type = EM28XX_VMUX_TELEVISION, |
1265 | .vmux = TVP5150_COMPOSITE0, | 1266 | .vmux = TVP5150_COMPOSITE0, |
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index 5bf2ea00678c..31e62abb59ad 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -159,6 +159,7 @@ extern IR_KEYTAB_TYPE ir_codes_real_audio_220_32_keys[IR_KEYTAB_SIZE]; | |||
159 | extern IR_KEYTAB_TYPE ir_codes_msi_tvanywhere_plus[IR_KEYTAB_SIZE]; | 159 | extern IR_KEYTAB_TYPE ir_codes_msi_tvanywhere_plus[IR_KEYTAB_SIZE]; |
160 | extern IR_KEYTAB_TYPE ir_codes_ati_tv_wonder_hd_600[IR_KEYTAB_SIZE]; | 160 | extern IR_KEYTAB_TYPE ir_codes_ati_tv_wonder_hd_600[IR_KEYTAB_SIZE]; |
161 | extern IR_KEYTAB_TYPE ir_codes_kworld_plus_tv_analog[IR_KEYTAB_SIZE]; | 161 | extern IR_KEYTAB_TYPE ir_codes_kworld_plus_tv_analog[IR_KEYTAB_SIZE]; |
162 | extern IR_KEYTAB_TYPE ir_codes_kaiomy[IR_KEYTAB_SIZE]; | ||
162 | #endif | 163 | #endif |
163 | 164 | ||
164 | /* | 165 | /* |