aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/ir-keymaps.c
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@netup.ru>2009-02-26 01:49:44 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:00 -0400
commitb72857dd457b96de653b19b3c40394dac6285819 (patch)
treee9cfbd22366b976d4dd3f95a1cca1210ce67e5c1 /drivers/media/common/ir-keymaps.c
parentd1498ffc474b18574ed2d5e4d9a33fd21eaaf3cf (diff)
V4L/DVB (10744): dm1105: infrared remote code is remaked.
The driver infrared remote code part is altered to switch to a work queue. Also ir_codes table moved to ir-common module for shared access. Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/ir-keymaps.c')
-rw-r--r--drivers/media/common/ir-keymaps.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index 97e78f71c60d..3fe158ac7bbf 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -2712,3 +2712,41 @@ IR_KEYTAB_TYPE ir_codes_ati_tv_wonder_hd_600[IR_KEYTAB_SIZE] = {
2712}; 2712};
2713 2713
2714EXPORT_SYMBOL_GPL(ir_codes_ati_tv_wonder_hd_600); 2714EXPORT_SYMBOL_GPL(ir_codes_ati_tv_wonder_hd_600);
2715
2716/* DVBWorld remotes
2717 Igor M. Liplianin <liplianin@me.by>
2718 */
2719IR_KEYTAB_TYPE ir_codes_dm1105_nec[IR_KEYTAB_SIZE] = {
2720 [0x0a] = KEY_Q, /*power*/
2721 [0x0c] = KEY_M, /*mute*/
2722 [0x11] = KEY_1,
2723 [0x12] = KEY_2,
2724 [0x13] = KEY_3,
2725 [0x14] = KEY_4,
2726 [0x15] = KEY_5,
2727 [0x16] = KEY_6,
2728 [0x17] = KEY_7,
2729 [0x18] = KEY_8,
2730 [0x19] = KEY_9,
2731 [0x10] = KEY_0,
2732 [0x1c] = KEY_PAGEUP, /*ch+*/
2733 [0x0f] = KEY_PAGEDOWN, /*ch-*/
2734 [0x1a] = KEY_O, /*vol+*/
2735 [0x0e] = KEY_Z, /*vol-*/
2736 [0x04] = KEY_R, /*rec*/
2737 [0x09] = KEY_D, /*fav*/
2738 [0x08] = KEY_BACKSPACE, /*rewind*/
2739 [0x07] = KEY_A, /*fast*/
2740 [0x0b] = KEY_P, /*pause*/
2741 [0x02] = KEY_ESC, /*cancel*/
2742 [0x03] = KEY_G, /*tab*/
2743 [0x00] = KEY_UP, /*up*/
2744 [0x1f] = KEY_ENTER, /*ok*/
2745 [0x01] = KEY_DOWN, /*down*/
2746 [0x05] = KEY_C, /*cap*/
2747 [0x06] = KEY_S, /*stop*/
2748 [0x40] = KEY_F, /*full*/
2749 [0x1e] = KEY_W, /*tvmode*/
2750 [0x1b] = KEY_B, /*recall*/
2751};
2752EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec);