aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-11-19 18:42:46 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:53 -0500
commitb0ddb0f364f926785f50a8cea8a399ba63e3c227 (patch)
treecfe356313de62392279885e6dab41aced36d9a13 /drivers/media/rc/keymaps
parenta29df8579ab2779605b181a38ac7fb99796666df (diff)
[media] saa7134: use full keycode for BeholdTV
Using the full keycode for BeholdTV hardware makes another module parameter unnecessary. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps')
-rw-r--r--drivers/media/rc/keymaps/rc-behold.c70
1 files changed, 35 insertions, 35 deletions
diff --git a/drivers/media/rc/keymaps/rc-behold.c b/drivers/media/rc/keymaps/rc-behold.c
index ae4d2354c7b9..0ee1f149364c 100644
--- a/drivers/media/rc/keymaps/rc-behold.c
+++ b/drivers/media/rc/keymaps/rc-behold.c
@@ -29,8 +29,8 @@ static struct rc_map_table behold[] = {
29 /* 0x1c 0x12 * 29 /* 0x1c 0x12 *
30 * TV/FM POWER * 30 * TV/FM POWER *
31 * */ 31 * */
32 { 0x1c, KEY_TUNER }, /* XXX KEY_TV / KEY_RADIO */ 32 { 0x6b861c, KEY_TUNER }, /* XXX KEY_TV / KEY_RADIO */
33 { 0x12, KEY_POWER }, 33 { 0x6b8612, KEY_POWER },
34 34
35 /* 0x01 0x02 0x03 * 35 /* 0x01 0x02 0x03 *
36 * 1 2 3 * 36 * 1 2 3 *
@@ -41,28 +41,28 @@ static struct rc_map_table behold[] = {
41 * 0x07 0x08 0x09 * 41 * 0x07 0x08 0x09 *
42 * 7 8 9 * 42 * 7 8 9 *
43 * */ 43 * */
44 { 0x01, KEY_1 }, 44 { 0x6b8601, KEY_1 },
45 { 0x02, KEY_2 }, 45 { 0x6b8602, KEY_2 },
46 { 0x03, KEY_3 }, 46 { 0x6b8603, KEY_3 },
47 { 0x04, KEY_4 }, 47 { 0x6b8604, KEY_4 },
48 { 0x05, KEY_5 }, 48 { 0x6b8605, KEY_5 },
49 { 0x06, KEY_6 }, 49 { 0x6b8606, KEY_6 },
50 { 0x07, KEY_7 }, 50 { 0x6b8607, KEY_7 },
51 { 0x08, KEY_8 }, 51 { 0x6b8608, KEY_8 },
52 { 0x09, KEY_9 }, 52 { 0x6b8609, KEY_9 },
53 53
54 /* 0x0a 0x00 0x17 * 54 /* 0x0a 0x00 0x17 *
55 * RECALL 0 MODE * 55 * RECALL 0 MODE *
56 * */ 56 * */
57 { 0x0a, KEY_AGAIN }, 57 { 0x6b860a, KEY_AGAIN },
58 { 0x00, KEY_0 }, 58 { 0x6b8600, KEY_0 },
59 { 0x17, KEY_MODE }, 59 { 0x6b8617, KEY_MODE },
60 60
61 /* 0x14 0x10 * 61 /* 0x14 0x10 *
62 * ASPECT FULLSCREEN * 62 * ASPECT FULLSCREEN *
63 * */ 63 * */
64 { 0x14, KEY_SCREEN }, 64 { 0x6b8614, KEY_SCREEN },
65 { 0x10, KEY_ZOOM }, 65 { 0x6b8610, KEY_ZOOM },
66 66
67 /* 0x0b * 67 /* 0x0b *
68 * Up * 68 * Up *
@@ -73,17 +73,17 @@ static struct rc_map_table behold[] = {
73 * 0x015 * 73 * 0x015 *
74 * Down * 74 * Down *
75 * */ 75 * */
76 { 0x0b, KEY_CHANNELUP }, 76 { 0x6b860b, KEY_CHANNELUP },
77 { 0x18, KEY_VOLUMEDOWN }, 77 { 0x6b8618, KEY_VOLUMEDOWN },
78 { 0x16, KEY_OK }, /* XXX KEY_ENTER */ 78 { 0x6b8616, KEY_OK }, /* XXX KEY_ENTER */
79 { 0x0c, KEY_VOLUMEUP }, 79 { 0x6b860c, KEY_VOLUMEUP },
80 { 0x15, KEY_CHANNELDOWN }, 80 { 0x6b8615, KEY_CHANNELDOWN },
81 81
82 /* 0x11 0x0d * 82 /* 0x11 0x0d *
83 * MUTE INFO * 83 * MUTE INFO *
84 * */ 84 * */
85 { 0x11, KEY_MUTE }, 85 { 0x6b8611, KEY_MUTE },
86 { 0x0d, KEY_INFO }, 86 { 0x6b860d, KEY_INFO },
87 87
88 /* 0x0f 0x1b 0x1a * 88 /* 0x0f 0x1b 0x1a *
89 * RECORD PLAY/PAUSE STOP * 89 * RECORD PLAY/PAUSE STOP *
@@ -92,26 +92,26 @@ static struct rc_map_table behold[] = {
92 *TELETEXT AUDIO SOURCE * 92 *TELETEXT AUDIO SOURCE *
93 * RED YELLOW * 93 * RED YELLOW *
94 * */ 94 * */
95 { 0x0f, KEY_RECORD }, 95 { 0x6b860f, KEY_RECORD },
96 { 0x1b, KEY_PLAYPAUSE }, 96 { 0x6b861b, KEY_PLAYPAUSE },
97 { 0x1a, KEY_STOP }, 97 { 0x6b861a, KEY_STOP },
98 { 0x0e, KEY_TEXT }, 98 { 0x6b860e, KEY_TEXT },
99 { 0x1f, KEY_RED }, /*XXX KEY_AUDIO */ 99 { 0x6b861f, KEY_RED }, /*XXX KEY_AUDIO */
100 { 0x1e, KEY_YELLOW }, /*XXX KEY_SOURCE */ 100 { 0x6b861e, KEY_YELLOW }, /*XXX KEY_SOURCE */
101 101
102 /* 0x1d 0x13 0x19 * 102 /* 0x1d 0x13 0x19 *
103 * SLEEP PREVIEW DVB * 103 * SLEEP PREVIEW DVB *
104 * GREEN BLUE * 104 * GREEN BLUE *
105 * */ 105 * */
106 { 0x1d, KEY_SLEEP }, 106 { 0x6b861d, KEY_SLEEP },
107 { 0x13, KEY_GREEN }, 107 { 0x6b8613, KEY_GREEN },
108 { 0x19, KEY_BLUE }, /* XXX KEY_SAT */ 108 { 0x6b8619, KEY_BLUE }, /* XXX KEY_SAT */
109 109
110 /* 0x58 0x5c * 110 /* 0x58 0x5c *
111 * FREEZE SNAPSHOT * 111 * FREEZE SNAPSHOT *
112 * */ 112 * */
113 { 0x58, KEY_SLOW }, 113 { 0x6b8658, KEY_SLOW },
114 { 0x5c, KEY_CAMERA }, 114 { 0x6b865c, KEY_CAMERA },
115 115
116}; 116};
117 117
@@ -119,7 +119,7 @@ static struct rc_map_list behold_map = {
119 .map = { 119 .map = {
120 .scan = behold, 120 .scan = behold,
121 .size = ARRAY_SIZE(behold), 121 .size = ARRAY_SIZE(behold),
122 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */ 122 .rc_type = RC_TYPE_NEC,
123 .name = RC_MAP_BEHOLD, 123 .name = RC_MAP_BEHOLD,
124 } 124 }
125}; 125};