diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-06-26 16:03:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:10 -0400 |
commit | 36f6bb97caa772d7dc42250db74253e0867a444a (patch) | |
tree | 995f45571dae16a24c8a6ace84dd2ad834f6324f /drivers/media/common | |
parent | bf1ece6a4f30f05b227f2ec59fa0d45b5db186d2 (diff) |
V4L/DVB (9060): saa7134: Add support for Avermedia PCI pure analog (M135A)
Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring
this development.
Signed-off-by: Gilberto <gilberto@sistemafenix.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index 891f3b30be06..f061dfbc9271 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -103,6 +103,56 @@ IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { | |||
103 | 103 | ||
104 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt); | 104 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt); |
105 | 105 | ||
106 | /* Mauro Carvalho Chehab <mchehab@infradead.org> */ | ||
107 | IR_KEYTAB_TYPE ir_codes_avermedia_m135a[IR_KEYTAB_SIZE] = { | ||
108 | [0x00] = KEY_POWER2, | ||
109 | [0x2e] = KEY_DOT, /* '.' */ | ||
110 | [0x01] = KEY_MODE, /* TV/FM */ | ||
111 | |||
112 | [0x05] = KEY_1, | ||
113 | [0x06] = KEY_2, | ||
114 | [0x07] = KEY_3, | ||
115 | [0x09] = KEY_4, | ||
116 | [0x0a] = KEY_5, | ||
117 | [0x0b] = KEY_6, | ||
118 | [0x0d] = KEY_7, | ||
119 | [0x0e] = KEY_8, | ||
120 | [0x0f] = KEY_9, | ||
121 | [0x11] = KEY_0, | ||
122 | |||
123 | [0x13] = KEY_RIGHT, /* -> */ | ||
124 | [0x12] = KEY_LEFT, /* <- */ | ||
125 | |||
126 | [0x17] = KEY_SLEEP, /* Capturar Imagem */ | ||
127 | [0x10] = KEY_SHUFFLE, /* Amostra */ | ||
128 | |||
129 | /* FIXME: The keys bellow aren't ok */ | ||
130 | |||
131 | [0x43] = KEY_CHANNELUP, | ||
132 | [0x42] = KEY_CHANNELDOWN, | ||
133 | [0x1f] = KEY_VOLUMEUP, | ||
134 | [0x1e] = KEY_VOLUMEDOWN, | ||
135 | [0x0c] = KEY_ENTER, | ||
136 | |||
137 | [0x14] = KEY_MUTE, | ||
138 | [0x08] = KEY_AUDIO, | ||
139 | |||
140 | [0x03] = KEY_TEXT, | ||
141 | [0x04] = KEY_EPG, | ||
142 | [0x2b] = KEY_TV2, /* TV2 */ | ||
143 | |||
144 | [0x1d] = KEY_RED, | ||
145 | [0x1c] = KEY_YELLOW, | ||
146 | [0x41] = KEY_GREEN, | ||
147 | [0x40] = KEY_BLUE, | ||
148 | |||
149 | [0x1a] = KEY_PLAYPAUSE, | ||
150 | [0x19] = KEY_RECORD, | ||
151 | [0x18] = KEY_PLAY, | ||
152 | [0x1b] = KEY_STOP, | ||
153 | }; | ||
154 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_m135a); | ||
155 | |||
106 | /* Attila Kondoros <attila.kondoros@chello.hu> */ | 156 | /* Attila Kondoros <attila.kondoros@chello.hu> */ |
107 | IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { | 157 | IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { |
108 | 158 | ||