Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1 | /* |
| 2 | |
| 3 | |
| 4 | Keytables for supported remote controls. This file is part of |
| 5 | video4linux. |
| 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 2 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program; if not, write to the Free Software |
| 19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | |
| 21 | */ |
| 22 | #include <linux/module.h> |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 23 | |
| 24 | #include <linux/input.h> |
| 25 | #include <media/ir-common.h> |
| 26 | |
| 27 | /* empty keytable, can be used as placeholder for not-yet created keytables */ |
| 28 | IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE] = { |
| 29 | [ 0x2a ] = KEY_COFFEE, |
| 30 | }; |
| 31 | |
| 32 | EXPORT_SYMBOL_GPL(ir_codes_empty); |
| 33 | |
Michal Majchrowicz | b04c1ba | 2006-09-13 16:42:42 -0300 | [diff] [blame] | 34 | /* Michal Majchrowicz <mmajchrowicz@gmail.com> */ |
| 35 | IR_KEYTAB_TYPE ir_codes_proteus_2309[IR_KEYTAB_SIZE] = { |
| 36 | /* numeric */ |
| 37 | [ 0x00 ] = KEY_0, |
| 38 | [ 0x01 ] = KEY_1, |
| 39 | [ 0x02 ] = KEY_2, |
| 40 | [ 0x03 ] = KEY_3, |
| 41 | [ 0x04 ] = KEY_4, |
| 42 | [ 0x05 ] = KEY_5, |
| 43 | [ 0x06 ] = KEY_6, |
| 44 | [ 0x07 ] = KEY_7, |
| 45 | [ 0x08 ] = KEY_8, |
| 46 | [ 0x09 ] = KEY_9, |
| 47 | |
| 48 | [ 0x5c ] = KEY_POWER, /* power */ |
| 49 | [ 0x20 ] = KEY_F, /* full screen */ |
| 50 | [ 0x0f ] = KEY_BACKSPACE, /* recall */ |
| 51 | [ 0x1b ] = KEY_ENTER, /* mute */ |
| 52 | [ 0x41 ] = KEY_RECORD, /* record */ |
| 53 | [ 0x43 ] = KEY_STOP, /* stop */ |
| 54 | [ 0x16 ] = KEY_S, |
| 55 | [ 0x1a ] = KEY_Q, /* off */ |
| 56 | [ 0x2e ] = KEY_RED, |
| 57 | [ 0x1f ] = KEY_DOWN, /* channel - */ |
| 58 | [ 0x1c ] = KEY_UP, /* channel + */ |
| 59 | [ 0x10 ] = KEY_LEFT, /* volume - */ |
| 60 | [ 0x1e ] = KEY_RIGHT, /* volume + */ |
| 61 | [ 0x14 ] = KEY_F1, |
| 62 | }; |
| 63 | |
| 64 | EXPORT_SYMBOL_GPL(ir_codes_proteus_2309); |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 65 | /* Matt Jesson <dvb@jesson.eclipse.co.uk */ |
| 66 | IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { |
| 67 | [ 0x28 ] = KEY_0, //'0' / 'enter' |
| 68 | [ 0x22 ] = KEY_1, //'1' |
| 69 | [ 0x12 ] = KEY_2, //'2' / 'up arrow' |
| 70 | [ 0x32 ] = KEY_3, //'3' |
| 71 | [ 0x24 ] = KEY_4, //'4' / 'left arrow' |
| 72 | [ 0x14 ] = KEY_5, //'5' |
| 73 | [ 0x34 ] = KEY_6, //'6' / 'right arrow' |
| 74 | [ 0x26 ] = KEY_7, //'7' |
| 75 | [ 0x16 ] = KEY_8, //'8' / 'down arrow' |
| 76 | [ 0x36 ] = KEY_9, //'9' |
| 77 | |
| 78 | [ 0x20 ] = KEY_LIST, // 'source' |
| 79 | [ 0x10 ] = KEY_TEXT, // 'teletext' |
| 80 | [ 0x00 ] = KEY_POWER, // 'power' |
| 81 | [ 0x04 ] = KEY_AUDIO, // 'audio' |
| 82 | [ 0x06 ] = KEY_ZOOM, // 'full screen' |
| 83 | [ 0x18 ] = KEY_VIDEO, // 'display' |
| 84 | [ 0x38 ] = KEY_SEARCH, // 'loop' |
| 85 | [ 0x08 ] = KEY_INFO, // 'preview' |
| 86 | [ 0x2a ] = KEY_REWIND, // 'backward <<' |
| 87 | [ 0x1a ] = KEY_FASTFORWARD, // 'forward >>' |
| 88 | [ 0x3a ] = KEY_RECORD, // 'capture' |
| 89 | [ 0x0a ] = KEY_MUTE, // 'mute' |
| 90 | [ 0x2c ] = KEY_RECORD, // 'record' |
| 91 | [ 0x1c ] = KEY_PAUSE, // 'pause' |
| 92 | [ 0x3c ] = KEY_STOP, // 'stop' |
| 93 | [ 0x0c ] = KEY_PLAY, // 'play' |
| 94 | [ 0x2e ] = KEY_RED, // 'red' |
| 95 | [ 0x01 ] = KEY_BLUE, // 'blue' / 'cancel' |
| 96 | [ 0x0e ] = KEY_YELLOW, // 'yellow' / 'ok' |
| 97 | [ 0x21 ] = KEY_GREEN, // 'green' |
| 98 | [ 0x11 ] = KEY_CHANNELDOWN, // 'channel -' |
| 99 | [ 0x31 ] = KEY_CHANNELUP, // 'channel +' |
| 100 | [ 0x1e ] = KEY_VOLUMEDOWN, // 'volume -' |
| 101 | [ 0x3e ] = KEY_VOLUMEUP, // 'volume +' |
| 102 | }; |
| 103 | |
| 104 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt); |
| 105 | |
Mauro Carvalho Chehab | 36f6bb9 | 2008-06-26 17:03:00 -0300 | [diff] [blame] | 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 | |
Oldřich Jedlička | cb3bf50 | 2009-02-12 03:43:11 -0300 | [diff] [blame] | 156 | /* Oldrich Jedlicka <oldium.pro@seznam.cz> */ |
| 157 | IR_KEYTAB_TYPE ir_codes_avermedia_cardbus[IR_KEYTAB_SIZE] = { |
| 158 | [0x00] = KEY_POWER, |
| 159 | [0x01] = KEY_TUNER, /* TV/FM */ |
| 160 | [0x03] = KEY_TEXT, /* Teletext */ |
| 161 | [0x04] = KEY_EPG, |
| 162 | [0x05] = KEY_1, |
| 163 | [0x06] = KEY_2, |
| 164 | [0x07] = KEY_3, |
| 165 | [0x08] = KEY_AUDIO, |
| 166 | [0x09] = KEY_4, |
| 167 | [0x0a] = KEY_5, |
| 168 | [0x0b] = KEY_6, |
| 169 | [0x0c] = KEY_ZOOM, /* Full screen */ |
| 170 | [0x0d] = KEY_7, |
| 171 | [0x0e] = KEY_8, |
| 172 | [0x0f] = KEY_9, |
| 173 | [0x10] = KEY_PAGEUP, /* 16-CH PREV */ |
| 174 | [0x11] = KEY_0, |
| 175 | [0x12] = KEY_INFO, |
| 176 | [0x13] = KEY_AGAIN, /* CH RTN - channel return */ |
| 177 | [0x14] = KEY_MUTE, |
| 178 | [0x15] = KEY_EDIT, /* Autoscan */ |
| 179 | [0x17] = KEY_SAVE, /* Screenshot */ |
| 180 | [0x18] = KEY_PLAYPAUSE, |
| 181 | [0x19] = KEY_RECORD, |
| 182 | [0x1a] = KEY_PLAY, |
| 183 | [0x1b] = KEY_STOP, |
| 184 | [0x1c] = KEY_FASTFORWARD, |
| 185 | [0x1d] = KEY_REWIND, |
| 186 | [0x1e] = KEY_VOLUMEDOWN, |
| 187 | [0x1f] = KEY_VOLUMEUP, |
| 188 | [0x22] = KEY_SLEEP, /* Sleep */ |
| 189 | [0x23] = KEY_ZOOM, /* Aspect */ |
| 190 | [0x26] = KEY_SCREEN, /* Pos */ |
| 191 | [0x27] = KEY_ANGLE, /* Size */ |
| 192 | [0x28] = KEY_SELECT, /* Select */ |
| 193 | [0x29] = KEY_BLUE, /* Blue/Picture */ |
| 194 | [0x2a] = KEY_BACKSPACE, /* Back */ |
| 195 | [0x2b] = KEY_MEDIA, /* PIP (Picture-in-picture) */ |
| 196 | [0x2c] = KEY_DOWN, |
| 197 | [0x2e] = KEY_DOT, |
| 198 | [0x2f] = KEY_TV, /* Live TV */ |
| 199 | [0x32] = KEY_LEFT, |
| 200 | [0x33] = KEY_CLEAR, /* Clear */ |
| 201 | [0x35] = KEY_RED, /* Red/TV */ |
| 202 | [0x36] = KEY_UP, |
| 203 | [0x37] = KEY_HOME, /* Home */ |
| 204 | [0x39] = KEY_GREEN, /* Green/Video */ |
| 205 | [0x3d] = KEY_YELLOW, /* Yellow/Music */ |
| 206 | [0x3e] = KEY_OK, /* Ok */ |
| 207 | [0x3f] = KEY_RIGHT, |
| 208 | [0x40] = KEY_NEXT, /* Next */ |
| 209 | [0x41] = KEY_PREVIOUS, /* Previous */ |
| 210 | [0x42] = KEY_CHANNELDOWN, /* Channel down */ |
| 211 | [0x43] = KEY_CHANNELUP /* Channel up */ |
| 212 | }; |
| 213 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_cardbus); |
| 214 | |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 215 | /* Attila Kondoros <attila.kondoros@chello.hu> */ |
| 216 | IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { |
| 217 | |
| 218 | [ 0x01 ] = KEY_1, |
| 219 | [ 0x02 ] = KEY_2, |
| 220 | [ 0x03 ] = KEY_3, |
| 221 | [ 0x04 ] = KEY_4, |
| 222 | [ 0x05 ] = KEY_5, |
| 223 | [ 0x06 ] = KEY_6, |
| 224 | [ 0x07 ] = KEY_7, |
| 225 | [ 0x08 ] = KEY_8, |
| 226 | [ 0x09 ] = KEY_9, |
| 227 | [ 0x00 ] = KEY_0, |
| 228 | [ 0x17 ] = KEY_LAST, // +100 |
| 229 | [ 0x0a ] = KEY_LIST, // recall |
| 230 | |
| 231 | |
| 232 | [ 0x1c ] = KEY_TUNER, // TV/FM |
| 233 | [ 0x15 ] = KEY_SEARCH, // scan |
| 234 | [ 0x12 ] = KEY_POWER, // power |
| 235 | [ 0x1f ] = KEY_VOLUMEDOWN, // vol up |
| 236 | [ 0x1b ] = KEY_VOLUMEUP, // vol down |
| 237 | [ 0x1e ] = KEY_CHANNELDOWN, // chn up |
| 238 | [ 0x1a ] = KEY_CHANNELUP, // chn down |
| 239 | |
| 240 | [ 0x11 ] = KEY_VIDEO, // video |
| 241 | [ 0x0f ] = KEY_ZOOM, // full screen |
| 242 | [ 0x13 ] = KEY_MUTE, // mute/unmute |
| 243 | [ 0x10 ] = KEY_TEXT, // min |
| 244 | |
| 245 | [ 0x0d ] = KEY_STOP, // freeze |
| 246 | [ 0x0e ] = KEY_RECORD, // record |
| 247 | [ 0x1d ] = KEY_PLAYPAUSE, // stop |
| 248 | [ 0x19 ] = KEY_PLAY, // play |
| 249 | |
| 250 | [ 0x16 ] = KEY_GOTO, // osd |
| 251 | [ 0x14 ] = KEY_REFRESH, // default |
| 252 | [ 0x0c ] = KEY_KPPLUS, // fine tune >>>> |
| 253 | [ 0x18 ] = KEY_KPMINUS // fine tune <<<< |
| 254 | }; |
| 255 | |
| 256 | EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp); |
| 257 | |
| 258 | /* ---------------------------------------------------------------------- */ |
| 259 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 260 | IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 261 | |
| 262 | [ 0x1e ] = KEY_POWER, // power |
| 263 | [ 0x07 ] = KEY_MEDIA, // source |
| 264 | [ 0x1c ] = KEY_SEARCH, // scan |
| 265 | |
| 266 | /* FIXME: duplicate keycodes? |
| 267 | * |
| 268 | * These four keys seem to share the same GPIO as CH+, CH-, <<< and >>> |
| 269 | * The GPIO values are |
| 270 | * 6397fb for both "Scan <" and "CH -", |
| 271 | * 639ffb for "Scan >" and "CH+", |
| 272 | * 6384fb for "Tune <" and "<<<", |
| 273 | * 638cfb for "Tune >" and ">>>", regardless of the mask. |
| 274 | * |
| 275 | * [ 0x17 ] = KEY_BACK, // fm scan << |
| 276 | * [ 0x1f ] = KEY_FORWARD, // fm scan >> |
| 277 | * |
| 278 | * [ 0x04 ] = KEY_LEFT, // fm tuning < |
| 279 | * [ 0x0c ] = KEY_RIGHT, // fm tuning > |
| 280 | * |
| 281 | * For now, these four keys are disabled. Pressing them will generate |
| 282 | * the CH+/CH-/<<</>>> events |
| 283 | */ |
| 284 | |
| 285 | [ 0x03 ] = KEY_TUNER, // TV/FM |
| 286 | |
| 287 | [ 0x00 ] = KEY_RECORD, |
| 288 | [ 0x08 ] = KEY_STOP, |
| 289 | [ 0x11 ] = KEY_PLAY, |
| 290 | |
| 291 | [ 0x1a ] = KEY_PLAYPAUSE, // freeze |
| 292 | [ 0x19 ] = KEY_ZOOM, // zoom |
| 293 | [ 0x0f ] = KEY_TEXT, // min |
| 294 | |
| 295 | [ 0x01 ] = KEY_1, |
| 296 | [ 0x0b ] = KEY_2, |
| 297 | [ 0x1b ] = KEY_3, |
| 298 | [ 0x05 ] = KEY_4, |
| 299 | [ 0x09 ] = KEY_5, |
| 300 | [ 0x15 ] = KEY_6, |
| 301 | [ 0x06 ] = KEY_7, |
| 302 | [ 0x0a ] = KEY_8, |
| 303 | [ 0x12 ] = KEY_9, |
| 304 | [ 0x02 ] = KEY_0, |
| 305 | [ 0x10 ] = KEY_LAST, // +100 |
| 306 | [ 0x13 ] = KEY_LIST, // recall |
| 307 | |
| 308 | [ 0x1f ] = KEY_CHANNELUP, // chn down |
| 309 | [ 0x17 ] = KEY_CHANNELDOWN, // chn up |
| 310 | [ 0x16 ] = KEY_VOLUMEUP, // vol down |
| 311 | [ 0x14 ] = KEY_VOLUMEDOWN, // vol up |
| 312 | |
| 313 | [ 0x04 ] = KEY_KPMINUS, // <<< |
| 314 | [ 0x0e ] = KEY_SETUP, // function |
| 315 | [ 0x0c ] = KEY_KPPLUS, // >>> |
| 316 | |
| 317 | [ 0x0d ] = KEY_GOTO, // mts |
| 318 | [ 0x1d ] = KEY_REFRESH, // reset |
| 319 | [ 0x18 ] = KEY_MUTE // mute/unmute |
| 320 | }; |
| 321 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 322 | EXPORT_SYMBOL_GPL(ir_codes_pixelview); |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 323 | |
Mauro Carvalho Chehab | 7f0dd17 | 2008-04-22 14:46:01 -0300 | [diff] [blame] | 324 | /* |
| 325 | Mauro Carvalho Chehab <mchehab@infradead.org> |
| 326 | present on PV MPEG 8000GT |
| 327 | */ |
| 328 | IR_KEYTAB_TYPE ir_codes_pixelview_new[IR_KEYTAB_SIZE] = { |
| 329 | [0x3c] = KEY_PAUSE, /* Timeshift */ |
| 330 | [0x12] = KEY_POWER, |
| 331 | |
| 332 | [0x3d] = KEY_1, |
| 333 | [0x38] = KEY_2, |
| 334 | [0x18] = KEY_3, |
| 335 | [0x35] = KEY_4, |
| 336 | [0x39] = KEY_5, |
| 337 | [0x15] = KEY_6, |
| 338 | [0x36] = KEY_7, |
| 339 | [0x3a] = KEY_8, |
| 340 | [0x1e] = KEY_9, |
| 341 | [0x3e] = KEY_0, |
| 342 | |
| 343 | [0x1c] = KEY_AGAIN, /* LOOP */ |
| 344 | [0x3f] = KEY_MEDIA, /* Source */ |
| 345 | [0x1f] = KEY_LAST, /* +100 */ |
| 346 | [0x1b] = KEY_MUTE, |
| 347 | |
| 348 | [0x17] = KEY_CHANNELDOWN, |
| 349 | [0x16] = KEY_CHANNELUP, |
| 350 | [0x10] = KEY_VOLUMEUP, |
| 351 | [0x14] = KEY_VOLUMEDOWN, |
| 352 | [0x13] = KEY_ZOOM, |
| 353 | |
| 354 | [0x19] = KEY_SHUFFLE, /* SNAPSHOT */ |
| 355 | [0x1a] = KEY_SEARCH, /* scan */ |
| 356 | |
| 357 | [0x37] = KEY_REWIND, /* << */ |
| 358 | [0x32] = KEY_RECORD, /* o (red) */ |
| 359 | [0x33] = KEY_FORWARD, /* >> */ |
| 360 | [0x11] = KEY_STOP, /* square */ |
| 361 | [0x3b] = KEY_PLAY, /* > */ |
| 362 | [0x30] = KEY_PLAYPAUSE, /* || */ |
| 363 | |
| 364 | [0x31] = KEY_TV, |
| 365 | [0x34] = KEY_RADIO, |
| 366 | }; |
| 367 | EXPORT_SYMBOL_GPL(ir_codes_pixelview_new); |
| 368 | |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 369 | IR_KEYTAB_TYPE ir_codes_nebula[IR_KEYTAB_SIZE] = { |
| 370 | [ 0x00 ] = KEY_0, |
| 371 | [ 0x01 ] = KEY_1, |
| 372 | [ 0x02 ] = KEY_2, |
| 373 | [ 0x03 ] = KEY_3, |
| 374 | [ 0x04 ] = KEY_4, |
| 375 | [ 0x05 ] = KEY_5, |
| 376 | [ 0x06 ] = KEY_6, |
| 377 | [ 0x07 ] = KEY_7, |
| 378 | [ 0x08 ] = KEY_8, |
| 379 | [ 0x09 ] = KEY_9, |
| 380 | [ 0x0a ] = KEY_TV, |
| 381 | [ 0x0b ] = KEY_AUX, |
| 382 | [ 0x0c ] = KEY_DVD, |
| 383 | [ 0x0d ] = KEY_POWER, |
| 384 | [ 0x0e ] = KEY_MHP, /* labelled 'Picture' */ |
| 385 | [ 0x0f ] = KEY_AUDIO, |
| 386 | [ 0x10 ] = KEY_INFO, |
| 387 | [ 0x11 ] = KEY_F13, /* 16:9 */ |
| 388 | [ 0x12 ] = KEY_F14, /* 14:9 */ |
| 389 | [ 0x13 ] = KEY_EPG, |
| 390 | [ 0x14 ] = KEY_EXIT, |
| 391 | [ 0x15 ] = KEY_MENU, |
| 392 | [ 0x16 ] = KEY_UP, |
| 393 | [ 0x17 ] = KEY_DOWN, |
| 394 | [ 0x18 ] = KEY_LEFT, |
| 395 | [ 0x19 ] = KEY_RIGHT, |
| 396 | [ 0x1a ] = KEY_ENTER, |
| 397 | [ 0x1b ] = KEY_CHANNELUP, |
| 398 | [ 0x1c ] = KEY_CHANNELDOWN, |
| 399 | [ 0x1d ] = KEY_VOLUMEUP, |
| 400 | [ 0x1e ] = KEY_VOLUMEDOWN, |
| 401 | [ 0x1f ] = KEY_RED, |
| 402 | [ 0x20 ] = KEY_GREEN, |
| 403 | [ 0x21 ] = KEY_YELLOW, |
| 404 | [ 0x22 ] = KEY_BLUE, |
| 405 | [ 0x23 ] = KEY_SUBTITLE, |
| 406 | [ 0x24 ] = KEY_F15, /* AD */ |
| 407 | [ 0x25 ] = KEY_TEXT, |
| 408 | [ 0x26 ] = KEY_MUTE, |
| 409 | [ 0x27 ] = KEY_REWIND, |
| 410 | [ 0x28 ] = KEY_STOP, |
| 411 | [ 0x29 ] = KEY_PLAY, |
| 412 | [ 0x2a ] = KEY_FASTFORWARD, |
| 413 | [ 0x2b ] = KEY_F16, /* chapter */ |
| 414 | [ 0x2c ] = KEY_PAUSE, |
| 415 | [ 0x2d ] = KEY_PLAY, |
| 416 | [ 0x2e ] = KEY_RECORD, |
| 417 | [ 0x2f ] = KEY_F17, /* picture in picture */ |
| 418 | [ 0x30 ] = KEY_KPPLUS, /* zoom in */ |
| 419 | [ 0x31 ] = KEY_KPMINUS, /* zoom out */ |
| 420 | [ 0x32 ] = KEY_F18, /* capture */ |
| 421 | [ 0x33 ] = KEY_F19, /* web */ |
| 422 | [ 0x34 ] = KEY_EMAIL, |
| 423 | [ 0x35 ] = KEY_PHONE, |
| 424 | [ 0x36 ] = KEY_PC |
| 425 | }; |
| 426 | |
| 427 | EXPORT_SYMBOL_GPL(ir_codes_nebula); |
| 428 | |
| 429 | /* DigitalNow DNTV Live DVB-T Remote */ |
| 430 | IR_KEYTAB_TYPE ir_codes_dntv_live_dvb_t[IR_KEYTAB_SIZE] = { |
| 431 | [ 0x00 ] = KEY_ESC, /* 'go up a level?' */ |
| 432 | /* Keys 0 to 9 */ |
| 433 | [ 0x0a ] = KEY_0, |
| 434 | [ 0x01 ] = KEY_1, |
| 435 | [ 0x02 ] = KEY_2, |
| 436 | [ 0x03 ] = KEY_3, |
| 437 | [ 0x04 ] = KEY_4, |
| 438 | [ 0x05 ] = KEY_5, |
| 439 | [ 0x06 ] = KEY_6, |
| 440 | [ 0x07 ] = KEY_7, |
| 441 | [ 0x08 ] = KEY_8, |
| 442 | [ 0x09 ] = KEY_9, |
| 443 | |
| 444 | [ 0x0b ] = KEY_TUNER, /* tv/fm */ |
| 445 | [ 0x0c ] = KEY_SEARCH, /* scan */ |
| 446 | [ 0x0d ] = KEY_STOP, |
| 447 | [ 0x0e ] = KEY_PAUSE, |
| 448 | [ 0x0f ] = KEY_LIST, /* source */ |
| 449 | |
| 450 | [ 0x10 ] = KEY_MUTE, |
| 451 | [ 0x11 ] = KEY_REWIND, /* backward << */ |
| 452 | [ 0x12 ] = KEY_POWER, |
| 453 | [ 0x13 ] = KEY_S, /* snap */ |
| 454 | [ 0x14 ] = KEY_AUDIO, /* stereo */ |
| 455 | [ 0x15 ] = KEY_CLEAR, /* reset */ |
| 456 | [ 0x16 ] = KEY_PLAY, |
| 457 | [ 0x17 ] = KEY_ENTER, |
| 458 | [ 0x18 ] = KEY_ZOOM, /* full screen */ |
| 459 | [ 0x19 ] = KEY_FASTFORWARD, /* forward >> */ |
| 460 | [ 0x1a ] = KEY_CHANNELUP, |
| 461 | [ 0x1b ] = KEY_VOLUMEUP, |
| 462 | [ 0x1c ] = KEY_INFO, /* preview */ |
| 463 | [ 0x1d ] = KEY_RECORD, /* record */ |
| 464 | [ 0x1e ] = KEY_CHANNELDOWN, |
| 465 | [ 0x1f ] = KEY_VOLUMEDOWN, |
| 466 | }; |
| 467 | |
| 468 | EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvb_t); |
| 469 | |
| 470 | /* ---------------------------------------------------------------------- */ |
| 471 | |
| 472 | /* IO-DATA BCTV7E Remote */ |
| 473 | IR_KEYTAB_TYPE ir_codes_iodata_bctv7e[IR_KEYTAB_SIZE] = { |
| 474 | [ 0x40 ] = KEY_TV, |
| 475 | [ 0x20 ] = KEY_RADIO, /* FM */ |
| 476 | [ 0x60 ] = KEY_EPG, |
| 477 | [ 0x00 ] = KEY_POWER, |
| 478 | |
| 479 | /* Keys 0 to 9 */ |
| 480 | [ 0x44 ] = KEY_0, /* 10 */ |
| 481 | [ 0x50 ] = KEY_1, |
| 482 | [ 0x30 ] = KEY_2, |
| 483 | [ 0x70 ] = KEY_3, |
| 484 | [ 0x48 ] = KEY_4, |
| 485 | [ 0x28 ] = KEY_5, |
| 486 | [ 0x68 ] = KEY_6, |
| 487 | [ 0x58 ] = KEY_7, |
| 488 | [ 0x38 ] = KEY_8, |
| 489 | [ 0x78 ] = KEY_9, |
| 490 | |
| 491 | [ 0x10 ] = KEY_L, /* Live */ |
| 492 | [ 0x08 ] = KEY_T, /* Time Shift */ |
| 493 | |
| 494 | [ 0x18 ] = KEY_PLAYPAUSE, /* Play */ |
| 495 | |
| 496 | [ 0x24 ] = KEY_ENTER, /* 11 */ |
| 497 | [ 0x64 ] = KEY_ESC, /* 12 */ |
| 498 | [ 0x04 ] = KEY_M, /* Multi */ |
| 499 | |
| 500 | [ 0x54 ] = KEY_VIDEO, |
| 501 | [ 0x34 ] = KEY_CHANNELUP, |
| 502 | [ 0x74 ] = KEY_VOLUMEUP, |
| 503 | [ 0x14 ] = KEY_MUTE, |
| 504 | |
| 505 | [ 0x4c ] = KEY_S, /* SVIDEO */ |
| 506 | [ 0x2c ] = KEY_CHANNELDOWN, |
| 507 | [ 0x6c ] = KEY_VOLUMEDOWN, |
| 508 | [ 0x0c ] = KEY_ZOOM, |
| 509 | |
| 510 | [ 0x5c ] = KEY_PAUSE, |
| 511 | [ 0x3c ] = KEY_C, /* || (red) */ |
| 512 | [ 0x7c ] = KEY_RECORD, /* recording */ |
| 513 | [ 0x1c ] = KEY_STOP, |
| 514 | |
| 515 | [ 0x41 ] = KEY_REWIND, /* backward << */ |
| 516 | [ 0x21 ] = KEY_PLAY, |
| 517 | [ 0x61 ] = KEY_FASTFORWARD, /* forward >> */ |
| 518 | [ 0x01 ] = KEY_NEXT, /* skip >| */ |
| 519 | }; |
| 520 | |
| 521 | EXPORT_SYMBOL_GPL(ir_codes_iodata_bctv7e); |
| 522 | |
| 523 | /* ---------------------------------------------------------------------- */ |
| 524 | |
| 525 | /* ADS Tech Instant TV DVB-T PCI Remote */ |
| 526 | IR_KEYTAB_TYPE ir_codes_adstech_dvb_t_pci[IR_KEYTAB_SIZE] = { |
| 527 | /* Keys 0 to 9 */ |
| 528 | [ 0x4d ] = KEY_0, |
| 529 | [ 0x57 ] = KEY_1, |
| 530 | [ 0x4f ] = KEY_2, |
| 531 | [ 0x53 ] = KEY_3, |
| 532 | [ 0x56 ] = KEY_4, |
| 533 | [ 0x4e ] = KEY_5, |
| 534 | [ 0x5e ] = KEY_6, |
| 535 | [ 0x54 ] = KEY_7, |
| 536 | [ 0x4c ] = KEY_8, |
| 537 | [ 0x5c ] = KEY_9, |
| 538 | |
| 539 | [ 0x5b ] = KEY_POWER, |
| 540 | [ 0x5f ] = KEY_MUTE, |
| 541 | [ 0x55 ] = KEY_GOTO, |
| 542 | [ 0x5d ] = KEY_SEARCH, |
| 543 | [ 0x17 ] = KEY_EPG, /* Guide */ |
| 544 | [ 0x1f ] = KEY_MENU, |
| 545 | [ 0x0f ] = KEY_UP, |
| 546 | [ 0x46 ] = KEY_DOWN, |
| 547 | [ 0x16 ] = KEY_LEFT, |
| 548 | [ 0x1e ] = KEY_RIGHT, |
| 549 | [ 0x0e ] = KEY_SELECT, /* Enter */ |
| 550 | [ 0x5a ] = KEY_INFO, |
| 551 | [ 0x52 ] = KEY_EXIT, |
| 552 | [ 0x59 ] = KEY_PREVIOUS, |
| 553 | [ 0x51 ] = KEY_NEXT, |
| 554 | [ 0x58 ] = KEY_REWIND, |
| 555 | [ 0x50 ] = KEY_FORWARD, |
| 556 | [ 0x44 ] = KEY_PLAYPAUSE, |
| 557 | [ 0x07 ] = KEY_STOP, |
| 558 | [ 0x1b ] = KEY_RECORD, |
| 559 | [ 0x13 ] = KEY_TUNER, /* Live */ |
| 560 | [ 0x0a ] = KEY_A, |
| 561 | [ 0x12 ] = KEY_B, |
| 562 | [ 0x03 ] = KEY_PROG1, /* 1 */ |
| 563 | [ 0x01 ] = KEY_PROG2, /* 2 */ |
| 564 | [ 0x00 ] = KEY_PROG3, /* 3 */ |
| 565 | [ 0x06 ] = KEY_DVD, |
| 566 | [ 0x48 ] = KEY_AUX, /* Photo */ |
| 567 | [ 0x40 ] = KEY_VIDEO, |
| 568 | [ 0x19 ] = KEY_AUDIO, /* Music */ |
| 569 | [ 0x0b ] = KEY_CHANNELUP, |
| 570 | [ 0x08 ] = KEY_CHANNELDOWN, |
| 571 | [ 0x15 ] = KEY_VOLUMEUP, |
| 572 | [ 0x1c ] = KEY_VOLUMEDOWN, |
| 573 | }; |
| 574 | |
| 575 | EXPORT_SYMBOL_GPL(ir_codes_adstech_dvb_t_pci); |
| 576 | |
| 577 | /* ---------------------------------------------------------------------- */ |
| 578 | |
Brian Rogers | ba340b4 | 2008-10-13 08:37:06 -0300 | [diff] [blame] | 579 | /* MSI TV@nywhere MASTER remote */ |
| 580 | |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 581 | IR_KEYTAB_TYPE ir_codes_msi_tvanywhere[IR_KEYTAB_SIZE] = { |
| 582 | /* Keys 0 to 9 */ |
| 583 | [ 0x00 ] = KEY_0, |
| 584 | [ 0x01 ] = KEY_1, |
| 585 | [ 0x02 ] = KEY_2, |
| 586 | [ 0x03 ] = KEY_3, |
| 587 | [ 0x04 ] = KEY_4, |
| 588 | [ 0x05 ] = KEY_5, |
| 589 | [ 0x06 ] = KEY_6, |
| 590 | [ 0x07 ] = KEY_7, |
| 591 | [ 0x08 ] = KEY_8, |
| 592 | [ 0x09 ] = KEY_9, |
| 593 | |
| 594 | [ 0x0c ] = KEY_MUTE, |
| 595 | [ 0x0f ] = KEY_SCREEN, /* Full Screen */ |
| 596 | [ 0x10 ] = KEY_F, /* Funtion */ |
| 597 | [ 0x11 ] = KEY_T, /* Time shift */ |
| 598 | [ 0x12 ] = KEY_POWER, |
| 599 | [ 0x13 ] = KEY_MEDIA, /* MTS */ |
| 600 | [ 0x14 ] = KEY_SLOW, |
| 601 | [ 0x16 ] = KEY_REWIND, /* backward << */ |
| 602 | [ 0x17 ] = KEY_ENTER, /* Return */ |
| 603 | [ 0x18 ] = KEY_FASTFORWARD, /* forward >> */ |
| 604 | [ 0x1a ] = KEY_CHANNELUP, |
| 605 | [ 0x1b ] = KEY_VOLUMEUP, |
| 606 | [ 0x1e ] = KEY_CHANNELDOWN, |
| 607 | [ 0x1f ] = KEY_VOLUMEDOWN, |
| 608 | }; |
| 609 | |
| 610 | EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere); |
| 611 | |
| 612 | /* ---------------------------------------------------------------------- */ |
| 613 | |
Brian Rogers | ba340b4 | 2008-10-13 08:37:06 -0300 | [diff] [blame] | 614 | /* |
| 615 | Keycodes for remote on the MSI TV@nywhere Plus. The controller IC on the card |
| 616 | is marked "KS003". The controller is I2C at address 0x30, but does not seem |
| 617 | to respond to probes until a read is performed from a valid device. |
| 618 | I don't know why... |
| 619 | |
| 620 | Note: This remote may be of similar or identical design to the |
| 621 | Pixelview remote (?). The raw codes and duplicate button codes |
| 622 | appear to be the same. |
| 623 | |
| 624 | Henry Wong <henry@stuffedcow.net> |
| 625 | Some changes to formatting and keycodes by Mark Schultz <n9xmj@yahoo.com> |
| 626 | |
| 627 | */ |
| 628 | |
| 629 | IR_KEYTAB_TYPE ir_codes_msi_tvanywhere_plus[IR_KEYTAB_SIZE] = { |
| 630 | |
| 631 | /* ---- Remote Button Layout ---- |
| 632 | |
| 633 | POWER SOURCE SCAN MUTE |
| 634 | TV/FM 1 2 3 |
| 635 | |> 4 5 6 |
| 636 | <| 7 8 9 |
| 637 | ^^UP 0 + RECALL |
| 638 | vvDN RECORD STOP PLAY |
| 639 | |
| 640 | MINIMIZE ZOOM |
| 641 | |
| 642 | CH+ |
| 643 | VOL- VOL+ |
| 644 | CH- |
| 645 | |
| 646 | SNAPSHOT MTS |
| 647 | |
| 648 | << FUNC >> RESET |
| 649 | */ |
| 650 | |
| 651 | [0x01] = KEY_KP1, /* 1 */ |
| 652 | [0x0b] = KEY_KP2, /* 2 */ |
| 653 | [0x1b] = KEY_KP3, /* 3 */ |
| 654 | [0x05] = KEY_KP4, /* 4 */ |
| 655 | [0x09] = KEY_KP5, /* 5 */ |
| 656 | [0x15] = KEY_KP6, /* 6 */ |
| 657 | [0x06] = KEY_KP7, /* 7 */ |
| 658 | [0x0a] = KEY_KP8, /* 8 */ |
| 659 | [0x12] = KEY_KP9, /* 9 */ |
| 660 | [0x02] = KEY_KP0, /* 0 */ |
| 661 | [0x10] = KEY_KPPLUS, /* + */ |
| 662 | [0x13] = KEY_AGAIN, /* Recall */ |
| 663 | |
| 664 | [0x1e] = KEY_POWER, /* Power */ |
| 665 | [0x07] = KEY_TUNER, /* Source */ |
| 666 | [0x1c] = KEY_SEARCH, /* Scan */ |
| 667 | [0x18] = KEY_MUTE, /* Mute */ |
| 668 | |
| 669 | [0x03] = KEY_RADIO, /* TV/FM */ |
| 670 | /* The next four keys are duplicates that appear to send the |
| 671 | same IR code as Ch+, Ch-, >>, and << . The raw code assigned |
| 672 | to them is the actual code + 0x20 - they will never be |
| 673 | detected as such unless some way is discovered to distinguish |
| 674 | these buttons from those that have the same code. */ |
| 675 | [0x3f] = KEY_RIGHT, /* |> and Ch+ */ |
| 676 | [0x37] = KEY_LEFT, /* <| and Ch- */ |
| 677 | [0x2c] = KEY_UP, /* ^^Up and >> */ |
| 678 | [0x24] = KEY_DOWN, /* vvDn and << */ |
| 679 | |
| 680 | [0x00] = KEY_RECORD, /* Record */ |
| 681 | [0x08] = KEY_STOP, /* Stop */ |
| 682 | [0x11] = KEY_PLAY, /* Play */ |
| 683 | |
| 684 | [0x0f] = KEY_CLOSE, /* Minimize */ |
| 685 | [0x19] = KEY_ZOOM, /* Zoom */ |
| 686 | [0x1a] = KEY_SHUFFLE, /* Snapshot */ |
| 687 | [0x0d] = KEY_LANGUAGE, /* MTS */ |
| 688 | |
| 689 | [0x14] = KEY_VOLUMEDOWN, /* Vol- */ |
| 690 | [0x16] = KEY_VOLUMEUP, /* Vol+ */ |
| 691 | [0x17] = KEY_CHANNELDOWN, /* Ch- */ |
| 692 | [0x1f] = KEY_CHANNELUP, /* Ch+ */ |
| 693 | |
| 694 | [0x04] = KEY_REWIND, /* << */ |
| 695 | [0x0e] = KEY_MENU, /* Function */ |
| 696 | [0x0c] = KEY_FASTFORWARD, /* >> */ |
| 697 | [0x1d] = KEY_RESTART, /* Reset */ |
| 698 | }; |
| 699 | EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere_plus); |
| 700 | |
| 701 | /* ---------------------------------------------------------------------- */ |
| 702 | |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 703 | /* Cinergy 1400 DVB-T */ |
| 704 | IR_KEYTAB_TYPE ir_codes_cinergy_1400[IR_KEYTAB_SIZE] = { |
| 705 | [ 0x01 ] = KEY_POWER, |
| 706 | [ 0x02 ] = KEY_1, |
| 707 | [ 0x03 ] = KEY_2, |
| 708 | [ 0x04 ] = KEY_3, |
| 709 | [ 0x05 ] = KEY_4, |
| 710 | [ 0x06 ] = KEY_5, |
| 711 | [ 0x07 ] = KEY_6, |
| 712 | [ 0x08 ] = KEY_7, |
| 713 | [ 0x09 ] = KEY_8, |
| 714 | [ 0x0a ] = KEY_9, |
| 715 | [ 0x0c ] = KEY_0, |
| 716 | |
| 717 | [ 0x0b ] = KEY_VIDEO, |
| 718 | [ 0x0d ] = KEY_REFRESH, |
| 719 | [ 0x0e ] = KEY_SELECT, |
| 720 | [ 0x0f ] = KEY_EPG, |
| 721 | [ 0x10 ] = KEY_UP, |
| 722 | [ 0x11 ] = KEY_LEFT, |
| 723 | [ 0x12 ] = KEY_OK, |
| 724 | [ 0x13 ] = KEY_RIGHT, |
| 725 | [ 0x14 ] = KEY_DOWN, |
| 726 | [ 0x15 ] = KEY_TEXT, |
| 727 | [ 0x16 ] = KEY_INFO, |
| 728 | |
| 729 | [ 0x17 ] = KEY_RED, |
| 730 | [ 0x18 ] = KEY_GREEN, |
| 731 | [ 0x19 ] = KEY_YELLOW, |
| 732 | [ 0x1a ] = KEY_BLUE, |
| 733 | |
| 734 | [ 0x1b ] = KEY_CHANNELUP, |
| 735 | [ 0x1c ] = KEY_VOLUMEUP, |
| 736 | [ 0x1d ] = KEY_MUTE, |
| 737 | [ 0x1e ] = KEY_VOLUMEDOWN, |
| 738 | [ 0x1f ] = KEY_CHANNELDOWN, |
| 739 | |
| 740 | [ 0x40 ] = KEY_PAUSE, |
| 741 | [ 0x4c ] = KEY_PLAY, |
| 742 | [ 0x58 ] = KEY_RECORD, |
| 743 | [ 0x54 ] = KEY_PREVIOUS, |
| 744 | [ 0x48 ] = KEY_STOP, |
| 745 | [ 0x5c ] = KEY_NEXT, |
| 746 | }; |
| 747 | |
| 748 | EXPORT_SYMBOL_GPL(ir_codes_cinergy_1400); |
| 749 | |
| 750 | /* ---------------------------------------------------------------------- */ |
| 751 | |
| 752 | /* AVERTV STUDIO 303 Remote */ |
| 753 | IR_KEYTAB_TYPE ir_codes_avertv_303[IR_KEYTAB_SIZE] = { |
| 754 | [ 0x2a ] = KEY_1, |
| 755 | [ 0x32 ] = KEY_2, |
| 756 | [ 0x3a ] = KEY_3, |
| 757 | [ 0x4a ] = KEY_4, |
| 758 | [ 0x52 ] = KEY_5, |
| 759 | [ 0x5a ] = KEY_6, |
| 760 | [ 0x6a ] = KEY_7, |
| 761 | [ 0x72 ] = KEY_8, |
| 762 | [ 0x7a ] = KEY_9, |
| 763 | [ 0x0e ] = KEY_0, |
| 764 | |
| 765 | [ 0x02 ] = KEY_POWER, |
| 766 | [ 0x22 ] = KEY_VIDEO, |
| 767 | [ 0x42 ] = KEY_AUDIO, |
| 768 | [ 0x62 ] = KEY_ZOOM, |
| 769 | [ 0x0a ] = KEY_TV, |
| 770 | [ 0x12 ] = KEY_CD, |
| 771 | [ 0x1a ] = KEY_TEXT, |
| 772 | |
| 773 | [ 0x16 ] = KEY_SUBTITLE, |
| 774 | [ 0x1e ] = KEY_REWIND, |
| 775 | [ 0x06 ] = KEY_PRINT, |
| 776 | |
| 777 | [ 0x2e ] = KEY_SEARCH, |
| 778 | [ 0x36 ] = KEY_SLEEP, |
| 779 | [ 0x3e ] = KEY_SHUFFLE, |
| 780 | [ 0x26 ] = KEY_MUTE, |
| 781 | |
| 782 | [ 0x4e ] = KEY_RECORD, |
| 783 | [ 0x56 ] = KEY_PAUSE, |
| 784 | [ 0x5e ] = KEY_STOP, |
| 785 | [ 0x46 ] = KEY_PLAY, |
| 786 | |
| 787 | [ 0x6e ] = KEY_RED, |
| 788 | [ 0x0b ] = KEY_GREEN, |
| 789 | [ 0x66 ] = KEY_YELLOW, |
| 790 | [ 0x03 ] = KEY_BLUE, |
| 791 | |
| 792 | [ 0x76 ] = KEY_LEFT, |
| 793 | [ 0x7e ] = KEY_RIGHT, |
| 794 | [ 0x13 ] = KEY_DOWN, |
| 795 | [ 0x1b ] = KEY_UP, |
| 796 | }; |
| 797 | |
| 798 | EXPORT_SYMBOL_GPL(ir_codes_avertv_303); |
| 799 | |
| 800 | /* ---------------------------------------------------------------------- */ |
| 801 | |
| 802 | /* DigitalNow DNTV Live! DVB-T Pro Remote */ |
| 803 | IR_KEYTAB_TYPE ir_codes_dntv_live_dvbt_pro[IR_KEYTAB_SIZE] = { |
| 804 | [ 0x16 ] = KEY_POWER, |
| 805 | [ 0x5b ] = KEY_HOME, |
| 806 | |
| 807 | [ 0x55 ] = KEY_TV, /* live tv */ |
| 808 | [ 0x58 ] = KEY_TUNER, /* digital Radio */ |
| 809 | [ 0x5a ] = KEY_RADIO, /* FM radio */ |
| 810 | [ 0x59 ] = KEY_DVD, /* dvd menu */ |
| 811 | [ 0x03 ] = KEY_1, |
| 812 | [ 0x01 ] = KEY_2, |
| 813 | [ 0x06 ] = KEY_3, |
| 814 | [ 0x09 ] = KEY_4, |
| 815 | [ 0x1d ] = KEY_5, |
| 816 | [ 0x1f ] = KEY_6, |
| 817 | [ 0x0d ] = KEY_7, |
| 818 | [ 0x19 ] = KEY_8, |
| 819 | [ 0x1b ] = KEY_9, |
| 820 | [ 0x0c ] = KEY_CANCEL, |
| 821 | [ 0x15 ] = KEY_0, |
| 822 | [ 0x4a ] = KEY_CLEAR, |
| 823 | [ 0x13 ] = KEY_BACK, |
| 824 | [ 0x00 ] = KEY_TAB, |
| 825 | [ 0x4b ] = KEY_UP, |
| 826 | [ 0x4e ] = KEY_LEFT, |
| 827 | [ 0x4f ] = KEY_OK, |
| 828 | [ 0x52 ] = KEY_RIGHT, |
| 829 | [ 0x51 ] = KEY_DOWN, |
| 830 | [ 0x1e ] = KEY_VOLUMEUP, |
| 831 | [ 0x0a ] = KEY_VOLUMEDOWN, |
| 832 | [ 0x02 ] = KEY_CHANNELDOWN, |
| 833 | [ 0x05 ] = KEY_CHANNELUP, |
| 834 | [ 0x11 ] = KEY_RECORD, |
| 835 | [ 0x14 ] = KEY_PLAY, |
| 836 | [ 0x4c ] = KEY_PAUSE, |
| 837 | [ 0x1a ] = KEY_STOP, |
| 838 | [ 0x40 ] = KEY_REWIND, |
| 839 | [ 0x12 ] = KEY_FASTFORWARD, |
| 840 | [ 0x41 ] = KEY_PREVIOUSSONG, /* replay |< */ |
| 841 | [ 0x42 ] = KEY_NEXTSONG, /* skip >| */ |
| 842 | [ 0x54 ] = KEY_CAMERA, /* capture */ |
| 843 | [ 0x50 ] = KEY_LANGUAGE, /* sap */ |
| 844 | [ 0x47 ] = KEY_TV2, /* pip */ |
| 845 | [ 0x4d ] = KEY_SCREEN, |
| 846 | [ 0x43 ] = KEY_SUBTITLE, |
| 847 | [ 0x10 ] = KEY_MUTE, |
| 848 | [ 0x49 ] = KEY_AUDIO, /* l/r */ |
| 849 | [ 0x07 ] = KEY_SLEEP, |
| 850 | [ 0x08 ] = KEY_VIDEO, /* a/v */ |
| 851 | [ 0x0e ] = KEY_PREVIOUS, /* recall */ |
| 852 | [ 0x45 ] = KEY_ZOOM, /* zoom + */ |
| 853 | [ 0x46 ] = KEY_ANGLE, /* zoom - */ |
| 854 | [ 0x56 ] = KEY_RED, |
| 855 | [ 0x57 ] = KEY_GREEN, |
| 856 | [ 0x5c ] = KEY_YELLOW, |
| 857 | [ 0x5d ] = KEY_BLUE, |
| 858 | }; |
| 859 | |
| 860 | EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvbt_pro); |
| 861 | |
| 862 | IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = { |
| 863 | [ 0x01 ] = KEY_CHANNEL, |
| 864 | [ 0x02 ] = KEY_SELECT, |
| 865 | [ 0x03 ] = KEY_MUTE, |
| 866 | [ 0x04 ] = KEY_POWER, |
| 867 | [ 0x05 ] = KEY_1, |
| 868 | [ 0x06 ] = KEY_2, |
| 869 | [ 0x07 ] = KEY_3, |
| 870 | [ 0x08 ] = KEY_CHANNELUP, |
| 871 | [ 0x09 ] = KEY_4, |
| 872 | [ 0x0a ] = KEY_5, |
| 873 | [ 0x0b ] = KEY_6, |
| 874 | [ 0x0c ] = KEY_CHANNELDOWN, |
| 875 | [ 0x0d ] = KEY_7, |
| 876 | [ 0x0e ] = KEY_8, |
| 877 | [ 0x0f ] = KEY_9, |
| 878 | [ 0x10 ] = KEY_VOLUMEUP, |
| 879 | [ 0x11 ] = KEY_0, |
| 880 | [ 0x12 ] = KEY_MENU, |
| 881 | [ 0x13 ] = KEY_PRINT, |
| 882 | [ 0x14 ] = KEY_VOLUMEDOWN, |
| 883 | [ 0x16 ] = KEY_PAUSE, |
| 884 | [ 0x18 ] = KEY_RECORD, |
| 885 | [ 0x19 ] = KEY_REWIND, |
| 886 | [ 0x1a ] = KEY_PLAY, |
| 887 | [ 0x1b ] = KEY_FORWARD, |
| 888 | [ 0x1c ] = KEY_BACKSPACE, |
| 889 | [ 0x1e ] = KEY_STOP, |
| 890 | [ 0x40 ] = KEY_ZOOM, |
| 891 | }; |
| 892 | |
| 893 | EXPORT_SYMBOL_GPL(ir_codes_em_terratec); |
| 894 | |
Sylvain Pasche | b93eedb | 2006-03-25 23:14:42 -0300 | [diff] [blame] | 895 | IR_KEYTAB_TYPE ir_codes_pinnacle_grey[IR_KEYTAB_SIZE] = { |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 896 | [ 0x3a ] = KEY_0, |
| 897 | [ 0x31 ] = KEY_1, |
| 898 | [ 0x32 ] = KEY_2, |
| 899 | [ 0x33 ] = KEY_3, |
| 900 | [ 0x34 ] = KEY_4, |
| 901 | [ 0x35 ] = KEY_5, |
| 902 | [ 0x36 ] = KEY_6, |
| 903 | [ 0x37 ] = KEY_7, |
| 904 | [ 0x38 ] = KEY_8, |
| 905 | [ 0x39 ] = KEY_9, |
| 906 | |
| 907 | [ 0x2f ] = KEY_POWER, |
| 908 | |
| 909 | [ 0x2e ] = KEY_P, |
| 910 | [ 0x1f ] = KEY_L, |
| 911 | [ 0x2b ] = KEY_I, |
| 912 | |
Emil Georgiev | a6210b7 | 2007-03-04 07:03:17 -0300 | [diff] [blame] | 913 | [ 0x2d ] = KEY_SCREEN, |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 914 | [ 0x1e ] = KEY_ZOOM, |
| 915 | [ 0x1b ] = KEY_VOLUMEUP, |
| 916 | [ 0x0f ] = KEY_VOLUMEDOWN, |
| 917 | [ 0x17 ] = KEY_CHANNELUP, |
| 918 | [ 0x1c ] = KEY_CHANNELDOWN, |
| 919 | [ 0x25 ] = KEY_INFO, |
| 920 | |
| 921 | [ 0x3c ] = KEY_MUTE, |
| 922 | |
| 923 | [ 0x3d ] = KEY_LEFT, |
| 924 | [ 0x3b ] = KEY_RIGHT, |
| 925 | |
| 926 | [ 0x3f ] = KEY_UP, |
| 927 | [ 0x3e ] = KEY_DOWN, |
Emil Georgiev | a6210b7 | 2007-03-04 07:03:17 -0300 | [diff] [blame] | 928 | [ 0x1a ] = KEY_ENTER, |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 929 | |
| 930 | [ 0x1d ] = KEY_MENU, |
Emil Georgiev | a6210b7 | 2007-03-04 07:03:17 -0300 | [diff] [blame] | 931 | [ 0x19 ] = KEY_AGAIN, |
| 932 | [ 0x16 ] = KEY_PREVIOUSSONG, |
| 933 | [ 0x13 ] = KEY_NEXTSONG, |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 934 | [ 0x15 ] = KEY_PAUSE, |
| 935 | [ 0x0e ] = KEY_REWIND, |
| 936 | [ 0x0d ] = KEY_PLAY, |
| 937 | [ 0x0b ] = KEY_STOP, |
| 938 | [ 0x07 ] = KEY_FORWARD, |
| 939 | [ 0x27 ] = KEY_RECORD, |
| 940 | [ 0x26 ] = KEY_TUNER, |
| 941 | [ 0x29 ] = KEY_TEXT, |
| 942 | [ 0x2a ] = KEY_MEDIA, |
| 943 | [ 0x18 ] = KEY_EPG, |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 944 | }; |
| 945 | |
Sylvain Pasche | b93eedb | 2006-03-25 23:14:42 -0300 | [diff] [blame] | 946 | EXPORT_SYMBOL_GPL(ir_codes_pinnacle_grey); |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 947 | |
| 948 | IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { |
| 949 | [ 0x0f ] = KEY_0, |
| 950 | [ 0x03 ] = KEY_1, |
| 951 | [ 0x04 ] = KEY_2, |
| 952 | [ 0x05 ] = KEY_3, |
| 953 | [ 0x07 ] = KEY_4, |
| 954 | [ 0x08 ] = KEY_5, |
| 955 | [ 0x09 ] = KEY_6, |
| 956 | [ 0x0b ] = KEY_7, |
| 957 | [ 0x0c ] = KEY_8, |
| 958 | [ 0x0d ] = KEY_9, |
| 959 | |
| 960 | [ 0x0e ] = KEY_MODE, // Air/Cable |
| 961 | [ 0x11 ] = KEY_VIDEO, // Video |
| 962 | [ 0x15 ] = KEY_AUDIO, // Audio |
| 963 | [ 0x00 ] = KEY_POWER, // Power |
| 964 | [ 0x18 ] = KEY_TUNER, // AV Source |
| 965 | [ 0x02 ] = KEY_ZOOM, // Fullscreen |
| 966 | [ 0x1a ] = KEY_LANGUAGE, // Stereo |
| 967 | [ 0x1b ] = KEY_MUTE, // Mute |
| 968 | [ 0x14 ] = KEY_VOLUMEUP, // Volume + |
| 969 | [ 0x17 ] = KEY_VOLUMEDOWN, // Volume - |
| 970 | [ 0x12 ] = KEY_CHANNELUP, // Channel + |
| 971 | [ 0x13 ] = KEY_CHANNELDOWN, // Channel - |
| 972 | [ 0x06 ] = KEY_AGAIN, // Recall |
Ivan Bobyr | 9e05c0f | 2008-04-16 16:01:55 -0300 | [diff] [blame] | 973 | [ 0x10 ] = KEY_ENTER, // Enter |
| 974 | |
| 975 | [ 0x19 ] = KEY_BACK, // Rewind ( <<< ) |
| 976 | [ 0x1f ] = KEY_FORWARD, // Forward ( >>> ) |
| 977 | [ 0x0a ] = KEY_ANGLE, // (no label, may be used as the PAUSE button) |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 978 | }; |
| 979 | |
| 980 | EXPORT_SYMBOL_GPL(ir_codes_flyvideo); |
| 981 | |
| 982 | IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { |
| 983 | [ 0x01 ] = KEY_ZOOM, // Full Screen |
| 984 | [ 0x00 ] = KEY_POWER, // Power |
| 985 | |
| 986 | [ 0x03 ] = KEY_1, |
| 987 | [ 0x04 ] = KEY_2, |
| 988 | [ 0x05 ] = KEY_3, |
| 989 | [ 0x07 ] = KEY_4, |
| 990 | [ 0x08 ] = KEY_5, |
| 991 | [ 0x09 ] = KEY_6, |
| 992 | [ 0x0b ] = KEY_7, |
| 993 | [ 0x0c ] = KEY_8, |
| 994 | [ 0x0d ] = KEY_9, |
| 995 | [ 0x06 ] = KEY_AGAIN, // Recall |
| 996 | [ 0x0f ] = KEY_0, |
| 997 | [ 0x10 ] = KEY_MUTE, // Mute |
| 998 | [ 0x02 ] = KEY_RADIO, // TV/Radio |
| 999 | [ 0x1b ] = KEY_LANGUAGE, // SAP (Second Audio Program) |
| 1000 | |
| 1001 | [ 0x14 ] = KEY_VOLUMEUP, // VOL+ |
| 1002 | [ 0x17 ] = KEY_VOLUMEDOWN, // VOL- |
| 1003 | [ 0x12 ] = KEY_CHANNELUP, // CH+ |
| 1004 | [ 0x13 ] = KEY_CHANNELDOWN, // CH- |
| 1005 | [ 0x1d ] = KEY_ENTER, // Enter |
| 1006 | |
| 1007 | [ 0x1a ] = KEY_MODE, // PIP |
| 1008 | [ 0x18 ] = KEY_TUNER, // Source |
| 1009 | |
| 1010 | [ 0x1e ] = KEY_RECORD, // Record/Pause |
| 1011 | [ 0x15 ] = KEY_ANGLE, // Swap (no label on key) |
| 1012 | [ 0x1c ] = KEY_PAUSE, // Timeshift/Pause |
| 1013 | [ 0x19 ] = KEY_BACK, // Rewind << |
| 1014 | [ 0x0a ] = KEY_PLAYPAUSE, // Play/Pause |
| 1015 | [ 0x1f ] = KEY_FORWARD, // Forward >> |
| 1016 | [ 0x16 ] = KEY_PREVIOUS, // Back |<< |
| 1017 | [ 0x11 ] = KEY_STOP, // Stop |
| 1018 | [ 0x0e ] = KEY_NEXT, // End >>| |
| 1019 | }; |
| 1020 | |
| 1021 | EXPORT_SYMBOL_GPL(ir_codes_flydvb); |
| 1022 | |
| 1023 | IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE] = { |
| 1024 | [ 0x00 ] = KEY_0, |
| 1025 | [ 0x01 ] = KEY_1, |
| 1026 | [ 0x02 ] = KEY_2, |
| 1027 | [ 0x03 ] = KEY_3, |
| 1028 | [ 0x04 ] = KEY_4, |
| 1029 | [ 0x05 ] = KEY_5, |
| 1030 | [ 0x06 ] = KEY_6, |
| 1031 | [ 0x07 ] = KEY_7, |
| 1032 | [ 0x08 ] = KEY_8, |
| 1033 | [ 0x09 ] = KEY_9, |
| 1034 | |
| 1035 | [ 0x0a ] = KEY_POWER, |
| 1036 | [ 0x0b ] = KEY_PROG1, // app |
| 1037 | [ 0x0c ] = KEY_ZOOM, // zoom/fullscreen |
| 1038 | [ 0x0d ] = KEY_CHANNELUP, // channel |
| 1039 | [ 0x0e ] = KEY_CHANNELDOWN, // channel- |
| 1040 | [ 0x0f ] = KEY_VOLUMEUP, |
| 1041 | [ 0x10 ] = KEY_VOLUMEDOWN, |
| 1042 | [ 0x11 ] = KEY_TUNER, // AV |
| 1043 | [ 0x12 ] = KEY_NUMLOCK, // -/-- |
| 1044 | [ 0x13 ] = KEY_AUDIO, // audio |
| 1045 | [ 0x14 ] = KEY_MUTE, |
| 1046 | [ 0x15 ] = KEY_UP, |
| 1047 | [ 0x16 ] = KEY_DOWN, |
| 1048 | [ 0x17 ] = KEY_LEFT, |
| 1049 | [ 0x18 ] = KEY_RIGHT, |
| 1050 | [ 0x19 ] = BTN_LEFT, |
| 1051 | [ 0x1a ] = BTN_RIGHT, |
| 1052 | [ 0x1b ] = KEY_WWW, // text |
| 1053 | [ 0x1c ] = KEY_REWIND, |
| 1054 | [ 0x1d ] = KEY_FORWARD, |
| 1055 | [ 0x1e ] = KEY_RECORD, |
| 1056 | [ 0x1f ] = KEY_PLAY, |
| 1057 | [ 0x20 ] = KEY_PREVIOUSSONG, |
| 1058 | [ 0x21 ] = KEY_NEXTSONG, |
| 1059 | [ 0x22 ] = KEY_PAUSE, |
| 1060 | [ 0x23 ] = KEY_STOP, |
| 1061 | }; |
| 1062 | |
| 1063 | EXPORT_SYMBOL_GPL(ir_codes_cinergy); |
| 1064 | |
| 1065 | /* Alfons Geser <a.geser@cox.net> |
| 1066 | * updates from Job D. R. Borges <jobdrb@ig.com.br> */ |
| 1067 | IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { |
| 1068 | [ 0x12 ] = KEY_POWER, |
| 1069 | [ 0x01 ] = KEY_TV, // DVR |
| 1070 | [ 0x15 ] = KEY_DVD, // DVD |
| 1071 | [ 0x17 ] = KEY_AUDIO, // music |
| 1072 | // DVR mode / DVD mode / music mode |
| 1073 | |
| 1074 | [ 0x1b ] = KEY_MUTE, // mute |
| 1075 | [ 0x02 ] = KEY_LANGUAGE, // MTS/SAP / audio / autoseek |
| 1076 | [ 0x1e ] = KEY_SUBTITLE, // closed captioning / subtitle / seek |
| 1077 | [ 0x16 ] = KEY_ZOOM, // full screen |
| 1078 | [ 0x1c ] = KEY_VIDEO, // video source / eject / delall |
| 1079 | [ 0x1d ] = KEY_RESTART, // playback / angle / del |
| 1080 | [ 0x2f ] = KEY_SEARCH, // scan / menu / playlist |
| 1081 | [ 0x30 ] = KEY_CHANNEL, // CH surfing / bookmark / memo |
| 1082 | |
| 1083 | [ 0x31 ] = KEY_HELP, // help |
| 1084 | [ 0x32 ] = KEY_MODE, // num/memo |
| 1085 | [ 0x33 ] = KEY_ESC, // cancel |
| 1086 | |
| 1087 | [ 0x0c ] = KEY_UP, // up |
| 1088 | [ 0x10 ] = KEY_DOWN, // down |
| 1089 | [ 0x08 ] = KEY_LEFT, // left |
| 1090 | [ 0x04 ] = KEY_RIGHT, // right |
| 1091 | [ 0x03 ] = KEY_SELECT, // select |
| 1092 | |
| 1093 | [ 0x1f ] = KEY_REWIND, // rewind |
| 1094 | [ 0x20 ] = KEY_PLAYPAUSE, // play/pause |
| 1095 | [ 0x29 ] = KEY_FORWARD, // forward |
| 1096 | [ 0x14 ] = KEY_AGAIN, // repeat |
| 1097 | [ 0x2b ] = KEY_RECORD, // recording |
| 1098 | [ 0x2c ] = KEY_STOP, // stop |
| 1099 | [ 0x2d ] = KEY_PLAY, // play |
| 1100 | [ 0x2e ] = KEY_SHUFFLE, // snapshot / shuffle |
| 1101 | |
| 1102 | [ 0x00 ] = KEY_0, |
| 1103 | [ 0x05 ] = KEY_1, |
| 1104 | [ 0x06 ] = KEY_2, |
| 1105 | [ 0x07 ] = KEY_3, |
| 1106 | [ 0x09 ] = KEY_4, |
| 1107 | [ 0x0a ] = KEY_5, |
| 1108 | [ 0x0b ] = KEY_6, |
| 1109 | [ 0x0d ] = KEY_7, |
| 1110 | [ 0x0e ] = KEY_8, |
| 1111 | [ 0x0f ] = KEY_9, |
| 1112 | |
| 1113 | [ 0x2a ] = KEY_VOLUMEUP, |
| 1114 | [ 0x11 ] = KEY_VOLUMEDOWN, |
| 1115 | [ 0x18 ] = KEY_CHANNELUP, // CH.tracking up |
| 1116 | [ 0x19 ] = KEY_CHANNELDOWN, // CH.tracking down |
| 1117 | |
| 1118 | [ 0x13 ] = KEY_ENTER, // enter |
| 1119 | [ 0x21 ] = KEY_DOT, // . (decimal dot) |
| 1120 | }; |
| 1121 | |
| 1122 | EXPORT_SYMBOL_GPL(ir_codes_eztv); |
| 1123 | |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1124 | /* Alex Hermann <gaaf@gmx.net> */ |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1125 | IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = { |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1126 | [ 0x28 ] = KEY_1, |
| 1127 | [ 0x18 ] = KEY_2, |
| 1128 | [ 0x38 ] = KEY_3, |
| 1129 | [ 0x24 ] = KEY_4, |
| 1130 | [ 0x14 ] = KEY_5, |
| 1131 | [ 0x34 ] = KEY_6, |
| 1132 | [ 0x2c ] = KEY_7, |
| 1133 | [ 0x1c ] = KEY_8, |
| 1134 | [ 0x3c ] = KEY_9, |
| 1135 | [ 0x22 ] = KEY_0, |
| 1136 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1137 | [ 0x20 ] = KEY_TV, /* TV/FM */ |
| 1138 | [ 0x10 ] = KEY_CD, /* CD */ |
| 1139 | [ 0x30 ] = KEY_TEXT, /* TELETEXT */ |
| 1140 | [ 0x00 ] = KEY_POWER, /* POWER */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1141 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1142 | [ 0x08 ] = KEY_VIDEO, /* VIDEO */ |
| 1143 | [ 0x04 ] = KEY_AUDIO, /* AUDIO */ |
| 1144 | [ 0x0c ] = KEY_ZOOM, /* FULL SCREEN */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1145 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1146 | [ 0x12 ] = KEY_SUBTITLE, /* DISPLAY */ |
| 1147 | [ 0x32 ] = KEY_REWIND, /* LOOP */ |
| 1148 | [ 0x02 ] = KEY_PRINT, /* PREVIEW */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1149 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1150 | [ 0x2a ] = KEY_SEARCH, /* AUTOSCAN */ |
| 1151 | [ 0x1a ] = KEY_SLEEP, /* FREEZE */ |
| 1152 | [ 0x3a ] = KEY_SHUFFLE, /* SNAPSHOT */ |
| 1153 | [ 0x0a ] = KEY_MUTE, /* MUTE */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1154 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1155 | [ 0x26 ] = KEY_RECORD, /* RECORD */ |
| 1156 | [ 0x16 ] = KEY_PAUSE, /* PAUSE */ |
| 1157 | [ 0x36 ] = KEY_STOP, /* STOP */ |
| 1158 | [ 0x06 ] = KEY_PLAY, /* PLAY */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1159 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1160 | [ 0x2e ] = KEY_RED, /* RED */ |
| 1161 | [ 0x21 ] = KEY_GREEN, /* GREEN */ |
| 1162 | [ 0x0e ] = KEY_YELLOW, /* YELLOW */ |
| 1163 | [ 0x01 ] = KEY_BLUE, /* BLUE */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1164 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1165 | [ 0x1e ] = KEY_VOLUMEDOWN, /* VOLUME- */ |
| 1166 | [ 0x3e ] = KEY_VOLUMEUP, /* VOLUME+ */ |
| 1167 | [ 0x11 ] = KEY_CHANNELDOWN, /* CHANNEL/PAGE- */ |
| 1168 | [ 0x31 ] = KEY_CHANNELUP /* CHANNEL/PAGE+ */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1169 | }; |
| 1170 | |
Nickolay V. Shmyrev | b639f9d | 2006-01-23 09:44:10 -0200 | [diff] [blame] | 1171 | EXPORT_SYMBOL_GPL(ir_codes_avermedia); |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1172 | |
| 1173 | IR_KEYTAB_TYPE ir_codes_videomate_tv_pvr[IR_KEYTAB_SIZE] = { |
| 1174 | [ 0x14 ] = KEY_MUTE, |
| 1175 | [ 0x24 ] = KEY_ZOOM, |
| 1176 | |
| 1177 | [ 0x01 ] = KEY_DVD, |
| 1178 | [ 0x23 ] = KEY_RADIO, |
| 1179 | [ 0x00 ] = KEY_TV, |
| 1180 | |
| 1181 | [ 0x0a ] = KEY_REWIND, |
| 1182 | [ 0x08 ] = KEY_PLAYPAUSE, |
| 1183 | [ 0x0f ] = KEY_FORWARD, |
| 1184 | |
| 1185 | [ 0x02 ] = KEY_PREVIOUS, |
| 1186 | [ 0x07 ] = KEY_STOP, |
| 1187 | [ 0x06 ] = KEY_NEXT, |
| 1188 | |
| 1189 | [ 0x0c ] = KEY_UP, |
| 1190 | [ 0x0e ] = KEY_DOWN, |
| 1191 | [ 0x0b ] = KEY_LEFT, |
| 1192 | [ 0x0d ] = KEY_RIGHT, |
| 1193 | [ 0x11 ] = KEY_OK, |
| 1194 | |
| 1195 | [ 0x03 ] = KEY_MENU, |
| 1196 | [ 0x09 ] = KEY_SETUP, |
| 1197 | [ 0x05 ] = KEY_VIDEO, |
| 1198 | [ 0x22 ] = KEY_CHANNEL, |
| 1199 | |
| 1200 | [ 0x12 ] = KEY_VOLUMEUP, |
| 1201 | [ 0x15 ] = KEY_VOLUMEDOWN, |
| 1202 | [ 0x10 ] = KEY_CHANNELUP, |
| 1203 | [ 0x13 ] = KEY_CHANNELDOWN, |
| 1204 | |
| 1205 | [ 0x04 ] = KEY_RECORD, |
| 1206 | |
| 1207 | [ 0x16 ] = KEY_1, |
| 1208 | [ 0x17 ] = KEY_2, |
| 1209 | [ 0x18 ] = KEY_3, |
| 1210 | [ 0x19 ] = KEY_4, |
| 1211 | [ 0x1a ] = KEY_5, |
| 1212 | [ 0x1b ] = KEY_6, |
| 1213 | [ 0x1c ] = KEY_7, |
| 1214 | [ 0x1d ] = KEY_8, |
| 1215 | [ 0x1e ] = KEY_9, |
| 1216 | [ 0x1f ] = KEY_0, |
| 1217 | |
| 1218 | [ 0x20 ] = KEY_LANGUAGE, |
| 1219 | [ 0x21 ] = KEY_SLEEP, |
| 1220 | }; |
| 1221 | |
| 1222 | EXPORT_SYMBOL_GPL(ir_codes_videomate_tv_pvr); |
| 1223 | |
| 1224 | /* Michael Tokarev <mjt@tls.msk.ru> |
| 1225 | http://www.corpit.ru/mjt/beholdTV/remote_control.jpg |
| 1226 | keytable is used by MANLI MTV00[ 0x0c ] and BeholdTV 40[13] at |
| 1227 | least, and probably other cards too. |
| 1228 | The "ascii-art picture" below (in comments, first row |
| 1229 | is the keycode in hex, and subsequent row(s) shows |
| 1230 | the button labels (several variants when appropriate) |
| 1231 | helps to descide which keycodes to assign to the buttons. |
| 1232 | */ |
| 1233 | IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE] = { |
| 1234 | |
| 1235 | /* 0x1c 0x12 * |
| 1236 | * FUNCTION POWER * |
| 1237 | * FM (|) * |
| 1238 | * */ |
| 1239 | [ 0x1c ] = KEY_RADIO, /*XXX*/ |
| 1240 | [ 0x12 ] = KEY_POWER, |
| 1241 | |
| 1242 | /* 0x01 0x02 0x03 * |
| 1243 | * 1 2 3 * |
| 1244 | * * |
| 1245 | * 0x04 0x05 0x06 * |
| 1246 | * 4 5 6 * |
| 1247 | * * |
| 1248 | * 0x07 0x08 0x09 * |
| 1249 | * 7 8 9 * |
| 1250 | * */ |
| 1251 | [ 0x01 ] = KEY_1, |
| 1252 | [ 0x02 ] = KEY_2, |
| 1253 | [ 0x03 ] = KEY_3, |
| 1254 | [ 0x04 ] = KEY_4, |
| 1255 | [ 0x05 ] = KEY_5, |
| 1256 | [ 0x06 ] = KEY_6, |
| 1257 | [ 0x07 ] = KEY_7, |
| 1258 | [ 0x08 ] = KEY_8, |
| 1259 | [ 0x09 ] = KEY_9, |
| 1260 | |
| 1261 | /* 0x0a 0x00 0x17 * |
| 1262 | * RECALL 0 +100 * |
| 1263 | * PLUS * |
| 1264 | * */ |
| 1265 | [ 0x0a ] = KEY_AGAIN, /*XXX KEY_REWIND? */ |
| 1266 | [ 0x00 ] = KEY_0, |
| 1267 | [ 0x17 ] = KEY_DIGITS, /*XXX*/ |
| 1268 | |
| 1269 | /* 0x14 0x10 * |
| 1270 | * MENU INFO * |
| 1271 | * OSD */ |
| 1272 | [ 0x14 ] = KEY_MENU, |
| 1273 | [ 0x10 ] = KEY_INFO, |
| 1274 | |
| 1275 | /* 0x0b * |
| 1276 | * Up * |
| 1277 | * * |
| 1278 | * 0x18 0x16 0x0c * |
| 1279 | * Left Ok Right * |
| 1280 | * * |
| 1281 | * 0x015 * |
| 1282 | * Down * |
| 1283 | * */ |
| 1284 | [ 0x0b ] = KEY_UP, /*XXX KEY_SCROLLUP? */ |
| 1285 | [ 0x18 ] = KEY_LEFT, /*XXX KEY_BACK? */ |
| 1286 | [ 0x16 ] = KEY_OK, /*XXX KEY_SELECT? KEY_ENTER? */ |
| 1287 | [ 0x0c ] = KEY_RIGHT, /*XXX KEY_FORWARD? */ |
| 1288 | [ 0x15 ] = KEY_DOWN, /*XXX KEY_SCROLLDOWN? */ |
| 1289 | |
| 1290 | /* 0x11 0x0d * |
| 1291 | * TV/AV MODE * |
| 1292 | * SOURCE STEREO * |
| 1293 | * */ |
| 1294 | [ 0x11 ] = KEY_TV, /*XXX*/ |
| 1295 | [ 0x0d ] = KEY_MODE, /*XXX there's no KEY_STEREO */ |
| 1296 | |
| 1297 | /* 0x0f 0x1b 0x1a * |
| 1298 | * AUDIO Vol+ Chan+ * |
| 1299 | * TIMESHIFT??? * |
| 1300 | * * |
| 1301 | * 0x0e 0x1f 0x1e * |
| 1302 | * SLEEP Vol- Chan- * |
| 1303 | * */ |
| 1304 | [ 0x0f ] = KEY_AUDIO, |
| 1305 | [ 0x1b ] = KEY_VOLUMEUP, |
| 1306 | [ 0x1a ] = KEY_CHANNELUP, |
| 1307 | [ 0x0e ] = KEY_SLEEP, /*XXX maybe KEY_PAUSE */ |
| 1308 | [ 0x1f ] = KEY_VOLUMEDOWN, |
| 1309 | [ 0x1e ] = KEY_CHANNELDOWN, |
| 1310 | |
| 1311 | /* 0x13 0x19 * |
| 1312 | * MUTE SNAPSHOT* |
| 1313 | * */ |
| 1314 | [ 0x13 ] = KEY_MUTE, |
| 1315 | [ 0x19 ] = KEY_RECORD, /*XXX*/ |
| 1316 | |
| 1317 | // 0x1d unused ? |
| 1318 | }; |
| 1319 | |
| 1320 | EXPORT_SYMBOL_GPL(ir_codes_manli); |
| 1321 | |
| 1322 | /* Mike Baikov <mike@baikov.com> */ |
| 1323 | IR_KEYTAB_TYPE ir_codes_gotview7135[IR_KEYTAB_SIZE] = { |
| 1324 | |
Pedro | 0938e31 | 2007-10-17 17:58:40 -0300 | [diff] [blame] | 1325 | [ 0x11 ] = KEY_POWER, |
| 1326 | [ 0x35 ] = KEY_TV, |
| 1327 | [ 0x1b ] = KEY_0, |
| 1328 | [ 0x29 ] = KEY_1, |
| 1329 | [ 0x19 ] = KEY_2, |
| 1330 | [ 0x39 ] = KEY_3, |
| 1331 | [ 0x1f ] = KEY_4, |
| 1332 | [ 0x2c ] = KEY_5, |
| 1333 | [ 0x21 ] = KEY_6, |
| 1334 | [ 0x24 ] = KEY_7, |
| 1335 | [ 0x18 ] = KEY_8, |
| 1336 | [ 0x2b ] = KEY_9, |
| 1337 | [ 0x3b ] = KEY_AGAIN, /* LOOP */ |
| 1338 | [ 0x06 ] = KEY_AUDIO, |
| 1339 | [ 0x31 ] = KEY_PRINT, /* PREVIEW */ |
| 1340 | [ 0x3e ] = KEY_VIDEO, |
| 1341 | [ 0x10 ] = KEY_CHANNELUP, |
| 1342 | [ 0x20 ] = KEY_CHANNELDOWN, |
| 1343 | [ 0x0c ] = KEY_VOLUMEDOWN, |
| 1344 | [ 0x28 ] = KEY_VOLUMEUP, |
| 1345 | [ 0x08 ] = KEY_MUTE, |
| 1346 | [ 0x26 ] = KEY_SEARCH, /*SCAN*/ |
| 1347 | [ 0x3f ] = KEY_SHUFFLE, /* SNAPSHOT */ |
| 1348 | [ 0x12 ] = KEY_RECORD, |
| 1349 | [ 0x32 ] = KEY_STOP, |
| 1350 | [ 0x3c ] = KEY_PLAY, |
| 1351 | [ 0x1d ] = KEY_REWIND, |
| 1352 | [ 0x2d ] = KEY_PAUSE, |
| 1353 | [ 0x0d ] = KEY_FORWARD, |
| 1354 | [ 0x05 ] = KEY_ZOOM, /*FULL*/ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1355 | |
Pedro | 0938e31 | 2007-10-17 17:58:40 -0300 | [diff] [blame] | 1356 | [ 0x2a ] = KEY_F21, /* LIVE TIMESHIFT */ |
| 1357 | [ 0x0e ] = KEY_F22, /* MIN TIMESHIFT */ |
| 1358 | [ 0x1e ] = KEY_F23, /* TIMESHIFT */ |
| 1359 | [ 0x38 ] = KEY_F24, /* NORMAL TIMESHIFT */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1360 | }; |
| 1361 | |
| 1362 | EXPORT_SYMBOL_GPL(ir_codes_gotview7135); |
| 1363 | |
| 1364 | IR_KEYTAB_TYPE ir_codes_purpletv[IR_KEYTAB_SIZE] = { |
| 1365 | [ 0x03 ] = KEY_POWER, |
| 1366 | [ 0x6f ] = KEY_MUTE, |
| 1367 | [ 0x10 ] = KEY_BACKSPACE, /* Recall */ |
| 1368 | |
| 1369 | [ 0x11 ] = KEY_0, |
| 1370 | [ 0x04 ] = KEY_1, |
| 1371 | [ 0x05 ] = KEY_2, |
| 1372 | [ 0x06 ] = KEY_3, |
| 1373 | [ 0x08 ] = KEY_4, |
| 1374 | [ 0x09 ] = KEY_5, |
| 1375 | [ 0x0a ] = KEY_6, |
| 1376 | [ 0x0c ] = KEY_7, |
| 1377 | [ 0x0d ] = KEY_8, |
| 1378 | [ 0x0e ] = KEY_9, |
| 1379 | [ 0x12 ] = KEY_DOT, /* 100+ */ |
| 1380 | |
| 1381 | [ 0x07 ] = KEY_VOLUMEUP, |
| 1382 | [ 0x0b ] = KEY_VOLUMEDOWN, |
| 1383 | [ 0x1a ] = KEY_KPPLUS, |
| 1384 | [ 0x18 ] = KEY_KPMINUS, |
| 1385 | [ 0x15 ] = KEY_UP, |
| 1386 | [ 0x1d ] = KEY_DOWN, |
| 1387 | [ 0x0f ] = KEY_CHANNELUP, |
| 1388 | [ 0x13 ] = KEY_CHANNELDOWN, |
| 1389 | [ 0x48 ] = KEY_ZOOM, |
| 1390 | |
| 1391 | [ 0x1b ] = KEY_VIDEO, /* Video source */ |
| 1392 | [ 0x49 ] = KEY_LANGUAGE, /* MTS Select */ |
| 1393 | [ 0x19 ] = KEY_SEARCH, /* Auto Scan */ |
| 1394 | |
| 1395 | [ 0x4b ] = KEY_RECORD, |
| 1396 | [ 0x46 ] = KEY_PLAY, |
| 1397 | [ 0x45 ] = KEY_PAUSE, /* Pause */ |
| 1398 | [ 0x44 ] = KEY_STOP, |
| 1399 | [ 0x40 ] = KEY_FORWARD, /* Forward ? */ |
| 1400 | [ 0x42 ] = KEY_REWIND, /* Backward ? */ |
| 1401 | |
| 1402 | }; |
| 1403 | |
| 1404 | EXPORT_SYMBOL_GPL(ir_codes_purpletv); |
| 1405 | |
| 1406 | /* Mapping for the 28 key remote control as seen at |
| 1407 | http://www.sednacomputer.com/photo/cardbus-tv.jpg |
Mauro Lacy | e80faad | 2008-04-22 14:45:58 -0300 | [diff] [blame] | 1408 | Pavel Mihaylov <bin@bash.info> |
| 1409 | Also for the remote bundled with Kozumi KTV-01C card */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1410 | IR_KEYTAB_TYPE ir_codes_pctv_sedna[IR_KEYTAB_SIZE] = { |
| 1411 | [ 0x00 ] = KEY_0, |
| 1412 | [ 0x01 ] = KEY_1, |
| 1413 | [ 0x02 ] = KEY_2, |
| 1414 | [ 0x03 ] = KEY_3, |
| 1415 | [ 0x04 ] = KEY_4, |
| 1416 | [ 0x05 ] = KEY_5, |
| 1417 | [ 0x06 ] = KEY_6, |
| 1418 | [ 0x07 ] = KEY_7, |
| 1419 | [ 0x08 ] = KEY_8, |
| 1420 | [ 0x09 ] = KEY_9, |
| 1421 | |
| 1422 | [ 0x0a ] = KEY_AGAIN, /* Recall */ |
| 1423 | [ 0x0b ] = KEY_CHANNELUP, |
| 1424 | [ 0x0c ] = KEY_VOLUMEUP, |
| 1425 | [ 0x0d ] = KEY_MODE, /* Stereo */ |
| 1426 | [ 0x0e ] = KEY_STOP, |
| 1427 | [ 0x0f ] = KEY_PREVIOUSSONG, |
| 1428 | [ 0x10 ] = KEY_ZOOM, |
| 1429 | [ 0x11 ] = KEY_TUNER, /* Source */ |
| 1430 | [ 0x12 ] = KEY_POWER, |
| 1431 | [ 0x13 ] = KEY_MUTE, |
| 1432 | [ 0x15 ] = KEY_CHANNELDOWN, |
| 1433 | [ 0x18 ] = KEY_VOLUMEDOWN, |
| 1434 | [ 0x19 ] = KEY_SHUFFLE, /* Snapshot */ |
| 1435 | [ 0x1a ] = KEY_NEXTSONG, |
| 1436 | [ 0x1b ] = KEY_TEXT, /* Time Shift */ |
| 1437 | [ 0x1c ] = KEY_RADIO, /* FM Radio */ |
| 1438 | [ 0x1d ] = KEY_RECORD, |
| 1439 | [ 0x1e ] = KEY_PAUSE, |
Mauro Lacy | e80faad | 2008-04-22 14:45:58 -0300 | [diff] [blame] | 1440 | /* additional codes for Kozumi's remote */ |
| 1441 | [0x14] = KEY_INFO, /* OSD */ |
| 1442 | [0x16] = KEY_OK, /* OK */ |
| 1443 | [0x17] = KEY_DIGITS, /* Plus */ |
| 1444 | [0x1f] = KEY_PLAY, /* Play */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1445 | }; |
| 1446 | |
| 1447 | EXPORT_SYMBOL_GPL(ir_codes_pctv_sedna); |
| 1448 | |
| 1449 | /* Mark Phalan <phalanm@o2.ie> */ |
| 1450 | IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE] = { |
| 1451 | [ 0x00 ] = KEY_0, |
| 1452 | [ 0x01 ] = KEY_1, |
| 1453 | [ 0x02 ] = KEY_2, |
| 1454 | [ 0x03 ] = KEY_3, |
| 1455 | [ 0x04 ] = KEY_4, |
| 1456 | [ 0x05 ] = KEY_5, |
| 1457 | [ 0x06 ] = KEY_6, |
| 1458 | [ 0x07 ] = KEY_7, |
| 1459 | [ 0x08 ] = KEY_8, |
| 1460 | [ 0x09 ] = KEY_9, |
| 1461 | |
| 1462 | [ 0x12 ] = KEY_POWER, |
| 1463 | [ 0x10 ] = KEY_MUTE, |
| 1464 | [ 0x1f ] = KEY_VOLUMEDOWN, |
| 1465 | [ 0x1b ] = KEY_VOLUMEUP, |
| 1466 | [ 0x1a ] = KEY_CHANNELUP, |
| 1467 | [ 0x1e ] = KEY_CHANNELDOWN, |
| 1468 | [ 0x0e ] = KEY_PAGEUP, |
| 1469 | [ 0x1d ] = KEY_PAGEDOWN, |
| 1470 | [ 0x13 ] = KEY_SOUND, |
| 1471 | |
| 1472 | [ 0x18 ] = KEY_KPPLUSMINUS, /* CH +/- */ |
| 1473 | [ 0x16 ] = KEY_SUBTITLE, /* CC */ |
| 1474 | [ 0x0d ] = KEY_TEXT, /* TTX */ |
| 1475 | [ 0x0b ] = KEY_TV, /* AIR/CBL */ |
| 1476 | [ 0x11 ] = KEY_PC, /* PC/TV */ |
| 1477 | [ 0x17 ] = KEY_OK, /* CH RTN */ |
| 1478 | [ 0x19 ] = KEY_MODE, /* FUNC */ |
| 1479 | [ 0x0c ] = KEY_SEARCH, /* AUTOSCAN */ |
| 1480 | |
| 1481 | /* Not sure what to do with these ones! */ |
| 1482 | [ 0x0f ] = KEY_SELECT, /* SOURCE */ |
| 1483 | [ 0x0a ] = KEY_KPPLUS, /* +100 */ |
| 1484 | [ 0x14 ] = KEY_EQUAL, /* SYNC */ |
| 1485 | [ 0x1c ] = KEY_MEDIA, /* PC/TV */ |
| 1486 | }; |
| 1487 | |
| 1488 | EXPORT_SYMBOL_GPL(ir_codes_pv951); |
| 1489 | |
| 1490 | /* generic RC5 keytable */ |
| 1491 | /* see http://users.pandora.be/nenya/electronics/rc5/codes00.htm */ |
| 1492 | /* used by old (black) Hauppauge remotes */ |
| 1493 | IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { |
| 1494 | /* Keys 0 to 9 */ |
| 1495 | [ 0x00 ] = KEY_0, |
| 1496 | [ 0x01 ] = KEY_1, |
| 1497 | [ 0x02 ] = KEY_2, |
| 1498 | [ 0x03 ] = KEY_3, |
| 1499 | [ 0x04 ] = KEY_4, |
| 1500 | [ 0x05 ] = KEY_5, |
| 1501 | [ 0x06 ] = KEY_6, |
| 1502 | [ 0x07 ] = KEY_7, |
| 1503 | [ 0x08 ] = KEY_8, |
| 1504 | [ 0x09 ] = KEY_9, |
| 1505 | |
| 1506 | [ 0x0b ] = KEY_CHANNEL, /* channel / program (japan: 11) */ |
| 1507 | [ 0x0c ] = KEY_POWER, /* standby */ |
| 1508 | [ 0x0d ] = KEY_MUTE, /* mute / demute */ |
| 1509 | [ 0x0f ] = KEY_TV, /* display */ |
| 1510 | [ 0x10 ] = KEY_VOLUMEUP, |
| 1511 | [ 0x11 ] = KEY_VOLUMEDOWN, |
| 1512 | [ 0x12 ] = KEY_BRIGHTNESSUP, |
| 1513 | [ 0x13 ] = KEY_BRIGHTNESSDOWN, |
| 1514 | [ 0x1e ] = KEY_SEARCH, /* search + */ |
| 1515 | [ 0x20 ] = KEY_CHANNELUP, /* channel / program + */ |
| 1516 | [ 0x21 ] = KEY_CHANNELDOWN, /* channel / program - */ |
| 1517 | [ 0x22 ] = KEY_CHANNEL, /* alt / channel */ |
| 1518 | [ 0x23 ] = KEY_LANGUAGE, /* 1st / 2nd language */ |
| 1519 | [ 0x26 ] = KEY_SLEEP, /* sleeptimer */ |
| 1520 | [ 0x2e ] = KEY_MENU, /* 2nd controls (USA: menu) */ |
| 1521 | [ 0x30 ] = KEY_PAUSE, |
| 1522 | [ 0x32 ] = KEY_REWIND, |
| 1523 | [ 0x33 ] = KEY_GOTO, |
| 1524 | [ 0x35 ] = KEY_PLAY, |
| 1525 | [ 0x36 ] = KEY_STOP, |
| 1526 | [ 0x37 ] = KEY_RECORD, /* recording */ |
| 1527 | [ 0x3c ] = KEY_TEXT, /* teletext submode (Japan: 12) */ |
| 1528 | [ 0x3d ] = KEY_SUSPEND, /* system standby */ |
| 1529 | |
| 1530 | }; |
| 1531 | |
| 1532 | EXPORT_SYMBOL_GPL(ir_codes_rc5_tv); |
| 1533 | |
| 1534 | /* Table for Leadtek Winfast Remote Controls - used by both bttv and cx88 */ |
| 1535 | IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { |
| 1536 | /* Keys 0 to 9 */ |
| 1537 | [ 0x12 ] = KEY_0, |
| 1538 | [ 0x05 ] = KEY_1, |
| 1539 | [ 0x06 ] = KEY_2, |
| 1540 | [ 0x07 ] = KEY_3, |
| 1541 | [ 0x09 ] = KEY_4, |
| 1542 | [ 0x0a ] = KEY_5, |
| 1543 | [ 0x0b ] = KEY_6, |
| 1544 | [ 0x0d ] = KEY_7, |
| 1545 | [ 0x0e ] = KEY_8, |
| 1546 | [ 0x0f ] = KEY_9, |
| 1547 | |
| 1548 | [ 0x00 ] = KEY_POWER, |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1549 | [ 0x1b ] = KEY_AUDIO, /* Audio Source */ |
| 1550 | [ 0x02 ] = KEY_TUNER, /* TV/FM, not on Y0400052 */ |
| 1551 | [ 0x1e ] = KEY_VIDEO, /* Video Source */ |
| 1552 | [ 0x16 ] = KEY_INFO, /* Display information */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1553 | [ 0x04 ] = KEY_VOLUMEUP, |
| 1554 | [ 0x08 ] = KEY_VOLUMEDOWN, |
| 1555 | [ 0x0c ] = KEY_CHANNELUP, |
| 1556 | [ 0x10 ] = KEY_CHANNELDOWN, |
| 1557 | [ 0x03 ] = KEY_ZOOM, /* fullscreen */ |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1558 | [ 0x1f ] = KEY_TEXT, /* closed caption/teletext */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1559 | [ 0x20 ] = KEY_SLEEP, |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1560 | [ 0x29 ] = KEY_CLEAR, /* boss key */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1561 | [ 0x14 ] = KEY_MUTE, |
| 1562 | [ 0x2b ] = KEY_RED, |
| 1563 | [ 0x2c ] = KEY_GREEN, |
| 1564 | [ 0x2d ] = KEY_YELLOW, |
| 1565 | [ 0x2e ] = KEY_BLUE, |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1566 | [ 0x18 ] = KEY_KPPLUS, /* fine tune + , not on Y040052 */ |
| 1567 | [ 0x19 ] = KEY_KPMINUS, /* fine tune - , not on Y040052 */ |
| 1568 | [ 0x2a ] = KEY_MEDIA, /* PIP (Picture in picture */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1569 | [ 0x21 ] = KEY_DOT, |
| 1570 | [ 0x13 ] = KEY_ENTER, |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1571 | [ 0x11 ] = KEY_LAST, /* Recall (last channel */ |
| 1572 | [ 0x22 ] = KEY_PREVIOUS, |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1573 | [ 0x23 ] = KEY_PLAYPAUSE, |
| 1574 | [ 0x24 ] = KEY_NEXT, |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1575 | [ 0x25 ] = KEY_ARCHIVE, /* Time Shifting */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1576 | [ 0x26 ] = KEY_STOP, |
Malcolm Valentine | 2de873e | 2006-05-29 13:56:24 -0300 | [diff] [blame] | 1577 | [ 0x27 ] = KEY_RECORD, |
| 1578 | [ 0x28 ] = KEY_SAVE, /* Screenshot */ |
| 1579 | [ 0x2f ] = KEY_MENU, |
| 1580 | [ 0x30 ] = KEY_CANCEL, |
| 1581 | [ 0x31 ] = KEY_CHANNEL, /* Channel Surf */ |
| 1582 | [ 0x32 ] = KEY_SUBTITLE, |
| 1583 | [ 0x33 ] = KEY_LANGUAGE, |
| 1584 | [ 0x34 ] = KEY_REWIND, |
| 1585 | [ 0x35 ] = KEY_FASTFORWARD, |
| 1586 | [ 0x36 ] = KEY_TV, |
| 1587 | [ 0x37 ] = KEY_RADIO, /* FM */ |
Michel Lespinasse | 102df6a | 2007-11-26 18:57:10 -0300 | [diff] [blame] | 1588 | [ 0x38 ] = KEY_DVD, |
| 1589 | |
| 1590 | [ 0x3e ] = KEY_F21, /* MCE +VOL, on Y04G0033 */ |
| 1591 | [ 0x3a ] = KEY_F22, /* MCE -VOL, on Y04G0033 */ |
| 1592 | [ 0x3b ] = KEY_F23, /* MCE +CH, on Y04G0033 */ |
| 1593 | [ 0x3f ] = KEY_F24 /* MCE -CH, on Y04G0033 */ |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1594 | }; |
| 1595 | |
| 1596 | EXPORT_SYMBOL_GPL(ir_codes_winfast); |
| 1597 | |
Sylvain Pasche | b93eedb | 2006-03-25 23:14:42 -0300 | [diff] [blame] | 1598 | IR_KEYTAB_TYPE ir_codes_pinnacle_color[IR_KEYTAB_SIZE] = { |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1599 | [ 0x59 ] = KEY_MUTE, |
| 1600 | [ 0x4a ] = KEY_POWER, |
| 1601 | |
| 1602 | [ 0x18 ] = KEY_TEXT, |
| 1603 | [ 0x26 ] = KEY_TV, |
| 1604 | [ 0x3d ] = KEY_PRINT, |
| 1605 | |
| 1606 | [ 0x48 ] = KEY_RED, |
| 1607 | [ 0x04 ] = KEY_GREEN, |
| 1608 | [ 0x11 ] = KEY_YELLOW, |
| 1609 | [ 0x00 ] = KEY_BLUE, |
| 1610 | |
| 1611 | [ 0x2d ] = KEY_VOLUMEUP, |
| 1612 | [ 0x1e ] = KEY_VOLUMEDOWN, |
| 1613 | |
| 1614 | [ 0x49 ] = KEY_MENU, |
| 1615 | |
| 1616 | [ 0x16 ] = KEY_CHANNELUP, |
| 1617 | [ 0x17 ] = KEY_CHANNELDOWN, |
| 1618 | |
| 1619 | [ 0x20 ] = KEY_UP, |
| 1620 | [ 0x21 ] = KEY_DOWN, |
| 1621 | [ 0x22 ] = KEY_LEFT, |
| 1622 | [ 0x23 ] = KEY_RIGHT, |
| 1623 | [ 0x0d ] = KEY_SELECT, |
| 1624 | |
| 1625 | |
| 1626 | |
| 1627 | [ 0x08 ] = KEY_BACK, |
| 1628 | [ 0x07 ] = KEY_REFRESH, |
| 1629 | |
| 1630 | [ 0x2f ] = KEY_ZOOM, |
| 1631 | [ 0x29 ] = KEY_RECORD, |
| 1632 | |
| 1633 | [ 0x4b ] = KEY_PAUSE, |
| 1634 | [ 0x4d ] = KEY_REWIND, |
| 1635 | [ 0x2e ] = KEY_PLAY, |
| 1636 | [ 0x4e ] = KEY_FORWARD, |
| 1637 | [ 0x53 ] = KEY_PREVIOUS, |
| 1638 | [ 0x4c ] = KEY_STOP, |
| 1639 | [ 0x54 ] = KEY_NEXT, |
| 1640 | |
| 1641 | [ 0x69 ] = KEY_0, |
| 1642 | [ 0x6a ] = KEY_1, |
| 1643 | [ 0x6b ] = KEY_2, |
| 1644 | [ 0x6c ] = KEY_3, |
| 1645 | [ 0x6d ] = KEY_4, |
| 1646 | [ 0x6e ] = KEY_5, |
| 1647 | [ 0x6f ] = KEY_6, |
| 1648 | [ 0x70 ] = KEY_7, |
| 1649 | [ 0x71 ] = KEY_8, |
| 1650 | [ 0x72 ] = KEY_9, |
| 1651 | |
| 1652 | [ 0x74 ] = KEY_CHANNEL, |
| 1653 | [ 0x0a ] = KEY_BACKSPACE, |
| 1654 | }; |
| 1655 | |
Sylvain Pasche | b93eedb | 2006-03-25 23:14:42 -0300 | [diff] [blame] | 1656 | EXPORT_SYMBOL_GPL(ir_codes_pinnacle_color); |
Ricardo Cerqueira | 4c0f631 | 2006-01-23 09:42:06 -0200 | [diff] [blame] | 1657 | |
| 1658 | /* Hauppauge: the newer, gray remotes (seems there are multiple |
| 1659 | * slightly different versions), shipped with cx88+ivtv cards. |
| 1660 | * almost rc5 coding, but some non-standard keys */ |
| 1661 | IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { |
| 1662 | /* Keys 0 to 9 */ |
| 1663 | [ 0x00 ] = KEY_0, |
| 1664 | [ 0x01 ] = KEY_1, |
| 1665 | [ 0x02 ] = KEY_2, |
| 1666 | [ 0x03 ] = KEY_3, |
| 1667 | [ 0x04 ] = KEY_4, |
| 1668 | [ 0x05 ] = KEY_5, |
| 1669 | [ 0x06 ] = KEY_6, |
| 1670 | [ 0x07 ] = KEY_7, |
| 1671 | [ 0x08 ] = KEY_8, |
| 1672 | [ 0x09 ] = KEY_9, |
| 1673 | |
| 1674 | [ 0x0a ] = KEY_TEXT, /* keypad asterisk as well */ |
| 1675 | [ 0x0b ] = KEY_RED, /* red button */ |
| 1676 | [ 0x0c ] = KEY_RADIO, |
| 1677 | [ 0x0d ] = KEY_MENU, |
| 1678 | [ 0x0e ] = KEY_SUBTITLE, /* also the # key */ |
| 1679 | [ 0x0f ] = KEY_MUTE, |
| 1680 | [ 0x10 ] = KEY_VOLUMEUP, |
| 1681 | [ 0x11 ] = KEY_VOLUMEDOWN, |
| 1682 | [ 0x12 ] = KEY_PREVIOUS, /* previous channel */ |
| 1683 | [ 0x14 ] = KEY_UP, |
| 1684 | [ 0x15 ] = KEY_DOWN, |
| 1685 | [ 0x16 ] = KEY_LEFT, |
| 1686 | [ 0x17 ] = KEY_RIGHT, |
| 1687 | [ 0x18 ] = KEY_VIDEO, /* Videos */ |
| 1688 | [ 0x19 ] = KEY_AUDIO, /* Music */ |
| 1689 | /* 0x1a: Pictures - presume this means |
| 1690 | "Multimedia Home Platform" - |
| 1691 | no "PICTURES" key in input.h |
| 1692 | */ |
| 1693 | [ 0x1a ] = KEY_MHP, |
| 1694 | |
| 1695 | [ 0x1b ] = KEY_EPG, /* Guide */ |
| 1696 | [ 0x1c ] = KEY_TV, |
| 1697 | [ 0x1e ] = KEY_NEXTSONG, /* skip >| */ |
| 1698 | [ 0x1f ] = KEY_EXIT, /* back/exit */ |
| 1699 | [ 0x20 ] = KEY_CHANNELUP, /* channel / program + */ |
| 1700 | [ 0x21 ] = KEY_CHANNELDOWN, /* channel / program - */ |
| 1701 | [ 0x22 ] = KEY_CHANNEL, /* source (old black remote) */ |
| 1702 | [ 0x24 ] = KEY_PREVIOUSSONG, /* replay |< */ |
| 1703 | [ 0x25 ] = KEY_ENTER, /* OK */ |
| 1704 | [ 0x26 ] = KEY_SLEEP, /* minimize (old black remote) */ |
| 1705 | [ 0x29 ] = KEY_BLUE, /* blue key */ |
| 1706 | [ 0x2e ] = KEY_GREEN, /* green button */ |
| 1707 | [ 0x30 ] = KEY_PAUSE, /* pause */ |
| 1708 | [ 0x32 ] = KEY_REWIND, /* backward << */ |
| 1709 | [ 0x34 ] = KEY_FASTFORWARD, /* forward >> */ |
| 1710 | [ 0x35 ] = KEY_PLAY, |
| 1711 | [ 0x36 ] = KEY_STOP, |
| 1712 | [ 0x37 ] = KEY_RECORD, /* recording */ |
| 1713 | [ 0x38 ] = KEY_YELLOW, /* yellow key */ |
| 1714 | [ 0x3b ] = KEY_SELECT, /* top right button */ |
| 1715 | [ 0x3c ] = KEY_ZOOM, /* full */ |
| 1716 | [ 0x3d ] = KEY_POWER, /* system power (green button) */ |
| 1717 | }; |
| 1718 | |
| 1719 | EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new); |
Ricardo Cerqueira | 680543c | 2006-05-22 07:44:02 -0300 | [diff] [blame] | 1720 | |
| 1721 | IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE] = { |
| 1722 | [ 0x1d ] = KEY_SWITCHVIDEOMODE, /* switch inputs */ |
| 1723 | [ 0x2a ] = KEY_FRONT, |
| 1724 | |
| 1725 | [ 0x3e ] = KEY_1, |
| 1726 | [ 0x02 ] = KEY_2, |
| 1727 | [ 0x06 ] = KEY_3, |
| 1728 | [ 0x0a ] = KEY_4, |
| 1729 | [ 0x0e ] = KEY_5, |
| 1730 | [ 0x12 ] = KEY_6, |
| 1731 | [ 0x16 ] = KEY_7, |
| 1732 | [ 0x1a ] = KEY_8, |
| 1733 | [ 0x1e ] = KEY_9, |
| 1734 | [ 0x3a ] = KEY_0, |
| 1735 | [ 0x22 ] = KEY_NUMLOCK, /* -/-- */ |
| 1736 | [ 0x20 ] = KEY_REFRESH, |
| 1737 | |
| 1738 | [ 0x03 ] = KEY_BRIGHTNESSDOWN, |
| 1739 | [ 0x28 ] = KEY_AUDIO, |
| 1740 | [ 0x3c ] = KEY_UP, |
| 1741 | [ 0x3f ] = KEY_LEFT, |
| 1742 | [ 0x2e ] = KEY_MUTE, |
| 1743 | [ 0x3b ] = KEY_RIGHT, |
| 1744 | [ 0x00 ] = KEY_DOWN, |
| 1745 | [ 0x07 ] = KEY_BRIGHTNESSUP, |
| 1746 | [ 0x2c ] = KEY_TEXT, |
| 1747 | |
| 1748 | [ 0x37 ] = KEY_RECORD, |
| 1749 | [ 0x17 ] = KEY_PLAY, |
| 1750 | [ 0x13 ] = KEY_PAUSE, |
| 1751 | [ 0x26 ] = KEY_STOP, |
| 1752 | [ 0x18 ] = KEY_FASTFORWARD, |
| 1753 | [ 0x14 ] = KEY_REWIND, |
| 1754 | [ 0x33 ] = KEY_ZOOM, |
| 1755 | [ 0x32 ] = KEY_KEYBOARD, |
| 1756 | [ 0x30 ] = KEY_GOTO, /* Pointing arrow */ |
| 1757 | [ 0x36 ] = KEY_MACRO, /* Maximize/Minimize (yellow) */ |
| 1758 | [ 0x0b ] = KEY_RADIO, |
| 1759 | [ 0x10 ] = KEY_POWER, |
| 1760 | |
| 1761 | }; |
| 1762 | |
| 1763 | EXPORT_SYMBOL_GPL(ir_codes_npgtech); |
Peter Naulls | d1009bd | 2006-08-08 09:10:05 -0300 | [diff] [blame] | 1764 | |
| 1765 | /* Norwood Micro (non-Pro) TV Tuner |
| 1766 | By Peter Naulls <peter@chocky.org> |
| 1767 | Key comments are the functions given in the manual */ |
| 1768 | IR_KEYTAB_TYPE ir_codes_norwood[IR_KEYTAB_SIZE] = { |
| 1769 | /* Keys 0 to 9 */ |
| 1770 | [ 0x20 ] = KEY_0, |
| 1771 | [ 0x21 ] = KEY_1, |
| 1772 | [ 0x22 ] = KEY_2, |
| 1773 | [ 0x23 ] = KEY_3, |
| 1774 | [ 0x24 ] = KEY_4, |
| 1775 | [ 0x25 ] = KEY_5, |
| 1776 | [ 0x26 ] = KEY_6, |
| 1777 | [ 0x27 ] = KEY_7, |
| 1778 | [ 0x28 ] = KEY_8, |
| 1779 | [ 0x29 ] = KEY_9, |
| 1780 | |
| 1781 | [ 0x78 ] = KEY_TUNER, /* Video Source */ |
| 1782 | [ 0x2c ] = KEY_EXIT, /* Open/Close software */ |
| 1783 | [ 0x2a ] = KEY_SELECT, /* 2 Digit Select */ |
| 1784 | [ 0x69 ] = KEY_AGAIN, /* Recall */ |
| 1785 | |
| 1786 | [ 0x32 ] = KEY_BRIGHTNESSUP, /* Brightness increase */ |
| 1787 | [ 0x33 ] = KEY_BRIGHTNESSDOWN, /* Brightness decrease */ |
| 1788 | [ 0x6b ] = KEY_KPPLUS, /* (not named >>>>>) */ |
| 1789 | [ 0x6c ] = KEY_KPMINUS, /* (not named <<<<<) */ |
| 1790 | |
| 1791 | [ 0x2d ] = KEY_MUTE, /* Mute */ |
| 1792 | [ 0x30 ] = KEY_VOLUMEUP, /* Volume up */ |
| 1793 | [ 0x31 ] = KEY_VOLUMEDOWN, /* Volume down */ |
| 1794 | [ 0x60 ] = KEY_CHANNELUP, /* Channel up */ |
| 1795 | [ 0x61 ] = KEY_CHANNELDOWN, /* Channel down */ |
| 1796 | |
| 1797 | [ 0x3f ] = KEY_RECORD, /* Record */ |
| 1798 | [ 0x37 ] = KEY_PLAY, /* Play */ |
| 1799 | [ 0x36 ] = KEY_PAUSE, /* Pause */ |
| 1800 | [ 0x2b ] = KEY_STOP, /* Stop */ |
| 1801 | [ 0x67 ] = KEY_FASTFORWARD, /* Foward */ |
| 1802 | [ 0x66 ] = KEY_REWIND, /* Rewind */ |
| 1803 | [ 0x3e ] = KEY_SEARCH, /* Auto Scan */ |
| 1804 | [ 0x2e ] = KEY_CAMERA, /* Capture Video */ |
| 1805 | [ 0x6d ] = KEY_MENU, /* Show/Hide Control */ |
| 1806 | [ 0x2f ] = KEY_ZOOM, /* Full Screen */ |
| 1807 | [ 0x34 ] = KEY_RADIO, /* FM */ |
| 1808 | [ 0x65 ] = KEY_POWER, /* Computer power */ |
| 1809 | }; |
| 1810 | |
| 1811 | EXPORT_SYMBOL_GPL(ir_codes_norwood); |
David Hardeman | 2520fff | 2006-12-02 21:16:05 -0200 | [diff] [blame] | 1812 | |
| 1813 | /* From reading the following remotes: |
| 1814 | * Zenith Universal 7 / TV Mode 807 / VCR Mode 837 |
| 1815 | * Hauppauge (from NOVA-CI-s box product) |
| 1816 | * This is a "middle of the road" approach, differences are noted |
| 1817 | */ |
| 1818 | IR_KEYTAB_TYPE ir_codes_budget_ci_old[IR_KEYTAB_SIZE] = { |
| 1819 | [ 0x00 ] = KEY_0, |
| 1820 | [ 0x01 ] = KEY_1, |
| 1821 | [ 0x02 ] = KEY_2, |
| 1822 | [ 0x03 ] = KEY_3, |
| 1823 | [ 0x04 ] = KEY_4, |
| 1824 | [ 0x05 ] = KEY_5, |
| 1825 | [ 0x06 ] = KEY_6, |
| 1826 | [ 0x07 ] = KEY_7, |
| 1827 | [ 0x08 ] = KEY_8, |
| 1828 | [ 0x09 ] = KEY_9, |
| 1829 | [ 0x0a ] = KEY_ENTER, |
| 1830 | [ 0x0b ] = KEY_RED, |
| 1831 | [ 0x0c ] = KEY_POWER, /* RADIO on Hauppauge */ |
| 1832 | [ 0x0d ] = KEY_MUTE, |
| 1833 | [ 0x0f ] = KEY_A, /* TV on Hauppauge */ |
| 1834 | [ 0x10 ] = KEY_VOLUMEUP, |
| 1835 | [ 0x11 ] = KEY_VOLUMEDOWN, |
| 1836 | [ 0x14 ] = KEY_B, |
| 1837 | [ 0x1c ] = KEY_UP, |
| 1838 | [ 0x1d ] = KEY_DOWN, |
| 1839 | [ 0x1e ] = KEY_OPTION, /* RESERVED on Hauppauge */ |
| 1840 | [ 0x1f ] = KEY_BREAK, |
| 1841 | [ 0x20 ] = KEY_CHANNELUP, |
| 1842 | [ 0x21 ] = KEY_CHANNELDOWN, |
| 1843 | [ 0x22 ] = KEY_PREVIOUS, /* Prev. Ch on Zenith, SOURCE on Hauppauge */ |
| 1844 | [ 0x24 ] = KEY_RESTART, |
| 1845 | [ 0x25 ] = KEY_OK, |
| 1846 | [ 0x26 ] = KEY_CYCLEWINDOWS, /* MINIMIZE on Hauppauge */ |
| 1847 | [ 0x28 ] = KEY_ENTER, /* VCR mode on Zenith */ |
| 1848 | [ 0x29 ] = KEY_PAUSE, |
| 1849 | [ 0x2b ] = KEY_RIGHT, |
| 1850 | [ 0x2c ] = KEY_LEFT, |
| 1851 | [ 0x2e ] = KEY_MENU, /* FULL SCREEN on Hauppauge */ |
| 1852 | [ 0x30 ] = KEY_SLOW, |
| 1853 | [ 0x31 ] = KEY_PREVIOUS, /* VCR mode on Zenith */ |
| 1854 | [ 0x32 ] = KEY_REWIND, |
| 1855 | [ 0x34 ] = KEY_FASTFORWARD, |
| 1856 | [ 0x35 ] = KEY_PLAY, |
| 1857 | [ 0x36 ] = KEY_STOP, |
| 1858 | [ 0x37 ] = KEY_RECORD, |
| 1859 | [ 0x38 ] = KEY_TUNER, /* TV/VCR on Zenith */ |
| 1860 | [ 0x3a ] = KEY_C, |
| 1861 | [ 0x3c ] = KEY_EXIT, |
| 1862 | [ 0x3d ] = KEY_POWER2, |
| 1863 | [ 0x3e ] = KEY_TUNER, |
| 1864 | }; |
| 1865 | |
| 1866 | EXPORT_SYMBOL_GPL(ir_codes_budget_ci_old); |
Hermann Pitton | 9160723 | 2006-12-07 21:45:28 -0300 | [diff] [blame] | 1867 | |
| 1868 | /* |
| 1869 | * Marc Fargas <telenieko@telenieko.com> |
| 1870 | * this is the remote control that comes with the asus p7131 |
| 1871 | * which has a label saying is "Model PC-39" |
| 1872 | */ |
| 1873 | IR_KEYTAB_TYPE ir_codes_asus_pc39[IR_KEYTAB_SIZE] = { |
| 1874 | /* Keys 0 to 9 */ |
| 1875 | [ 0x15 ] = KEY_0, |
| 1876 | [ 0x29 ] = KEY_1, |
| 1877 | [ 0x2d ] = KEY_2, |
| 1878 | [ 0x2b ] = KEY_3, |
| 1879 | [ 0x09 ] = KEY_4, |
| 1880 | [ 0x0d ] = KEY_5, |
| 1881 | [ 0x0b ] = KEY_6, |
| 1882 | [ 0x31 ] = KEY_7, |
| 1883 | [ 0x35 ] = KEY_8, |
| 1884 | [ 0x33 ] = KEY_9, |
| 1885 | |
| 1886 | [ 0x3e ] = KEY_RADIO, /* radio */ |
| 1887 | [ 0x03 ] = KEY_MENU, /* dvd/menu */ |
| 1888 | [ 0x2a ] = KEY_VOLUMEUP, |
| 1889 | [ 0x19 ] = KEY_VOLUMEDOWN, |
| 1890 | [ 0x37 ] = KEY_UP, |
| 1891 | [ 0x3b ] = KEY_DOWN, |
| 1892 | [ 0x27 ] = KEY_LEFT, |
| 1893 | [ 0x2f ] = KEY_RIGHT, |
| 1894 | [ 0x25 ] = KEY_VIDEO, /* video */ |
| 1895 | [ 0x39 ] = KEY_AUDIO, /* music */ |
| 1896 | |
| 1897 | [ 0x21 ] = KEY_TV, /* tv */ |
| 1898 | [ 0x1d ] = KEY_EXIT, /* back */ |
| 1899 | [ 0x0a ] = KEY_CHANNELUP, /* channel / program + */ |
| 1900 | [ 0x1b ] = KEY_CHANNELDOWN, /* channel / program - */ |
| 1901 | [ 0x1a ] = KEY_ENTER, /* enter */ |
| 1902 | |
| 1903 | [ 0x06 ] = KEY_PAUSE, /* play/pause */ |
| 1904 | [ 0x1e ] = KEY_PREVIOUS, /* rew */ |
| 1905 | [ 0x26 ] = KEY_NEXT, /* forward */ |
| 1906 | [ 0x0e ] = KEY_REWIND, /* backward << */ |
| 1907 | [ 0x3a ] = KEY_FASTFORWARD, /* forward >> */ |
| 1908 | [ 0x36 ] = KEY_STOP, |
| 1909 | [ 0x2e ] = KEY_RECORD, /* recording */ |
| 1910 | [ 0x16 ] = KEY_POWER, /* the button that reads "close" */ |
| 1911 | |
| 1912 | [ 0x11 ] = KEY_ZOOM, /* full screen */ |
| 1913 | [ 0x13 ] = KEY_MACRO, /* recall */ |
| 1914 | [ 0x23 ] = KEY_HOME, /* home */ |
| 1915 | [ 0x05 ] = KEY_PVR, /* picture */ |
| 1916 | [ 0x3d ] = KEY_MUTE, /* mute */ |
| 1917 | [ 0x01 ] = KEY_DVD, /* dvd */ |
| 1918 | }; |
| 1919 | |
| 1920 | EXPORT_SYMBOL_GPL(ir_codes_asus_pc39); |
Juan Pablo Sormani | c36c459 | 2006-12-27 12:46:36 -0300 | [diff] [blame] | 1921 | |
| 1922 | |
| 1923 | /* Encore ENLTV-FM - black plastic, white front cover with white glowing buttons |
| 1924 | Juan Pablo Sormani <sorman@gmail.com> */ |
| 1925 | IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = { |
| 1926 | |
| 1927 | /* Power button does nothing, neither in Windows app, |
| 1928 | although it sends data (used for BIOS wakeup?) */ |
| 1929 | [ 0x0d ] = KEY_MUTE, |
| 1930 | |
| 1931 | [ 0x1e ] = KEY_TV, |
| 1932 | [ 0x00 ] = KEY_VIDEO, |
| 1933 | [ 0x01 ] = KEY_AUDIO, /* music */ |
| 1934 | [ 0x02 ] = KEY_MHP, /* picture */ |
| 1935 | |
| 1936 | [ 0x1f ] = KEY_1, |
| 1937 | [ 0x03 ] = KEY_2, |
| 1938 | [ 0x04 ] = KEY_3, |
| 1939 | [ 0x05 ] = KEY_4, |
| 1940 | [ 0x1c ] = KEY_5, |
| 1941 | [ 0x06 ] = KEY_6, |
| 1942 | [ 0x07 ] = KEY_7, |
| 1943 | [ 0x08 ] = KEY_8, |
| 1944 | [ 0x1d ] = KEY_9, |
| 1945 | [ 0x0a ] = KEY_0, |
| 1946 | |
| 1947 | [ 0x09 ] = KEY_LIST, /* -/-- */ |
| 1948 | [ 0x0b ] = KEY_LAST, /* recall */ |
| 1949 | |
| 1950 | [ 0x14 ] = KEY_HOME, /* win start menu */ |
| 1951 | [ 0x15 ] = KEY_EXIT, /* exit */ |
| 1952 | [ 0x16 ] = KEY_UP, |
| 1953 | [ 0x12 ] = KEY_DOWN, |
| 1954 | [ 0x0c ] = KEY_RIGHT, |
| 1955 | [ 0x17 ] = KEY_LEFT, |
| 1956 | |
| 1957 | [ 0x18 ] = KEY_ENTER, /* OK */ |
| 1958 | |
| 1959 | [ 0x0e ] = KEY_ESC, |
| 1960 | [ 0x13 ] = KEY_D, /* desktop */ |
| 1961 | [ 0x11 ] = KEY_TAB, |
| 1962 | [ 0x19 ] = KEY_SWITCHVIDEOMODE, /* switch */ |
| 1963 | |
| 1964 | [ 0x1a ] = KEY_MENU, |
| 1965 | [ 0x1b ] = KEY_ZOOM, /* fullscreen */ |
| 1966 | [ 0x44 ] = KEY_TIME, /* time shift */ |
| 1967 | [ 0x40 ] = KEY_MODE, /* source */ |
| 1968 | |
| 1969 | [ 0x5a ] = KEY_RECORD, |
| 1970 | [ 0x42 ] = KEY_PLAY, /* play/pause */ |
| 1971 | [ 0x45 ] = KEY_STOP, |
| 1972 | [ 0x43 ] = KEY_CAMERA, /* camera icon */ |
| 1973 | |
| 1974 | [ 0x48 ] = KEY_REWIND, |
| 1975 | [ 0x4a ] = KEY_FASTFORWARD, |
| 1976 | [ 0x49 ] = KEY_PREVIOUS, |
| 1977 | [ 0x4b ] = KEY_NEXT, |
| 1978 | |
| 1979 | [ 0x4c ] = KEY_FAVORITES, /* tv wall */ |
| 1980 | [ 0x4d ] = KEY_SOUND, /* DVD sound */ |
| 1981 | [ 0x4e ] = KEY_LANGUAGE, /* DVD lang */ |
| 1982 | [ 0x4f ] = KEY_TEXT, /* DVD text */ |
| 1983 | |
| 1984 | [ 0x50 ] = KEY_SLEEP, /* shutdown */ |
| 1985 | [ 0x51 ] = KEY_MODE, /* stereo > main */ |
| 1986 | [ 0x52 ] = KEY_SELECT, /* stereo > sap */ |
| 1987 | [ 0x53 ] = KEY_PROG1, /* teletext */ |
| 1988 | |
| 1989 | |
| 1990 | [ 0x59 ] = KEY_RED, /* AP1 */ |
| 1991 | [ 0x41 ] = KEY_GREEN, /* AP2 */ |
| 1992 | [ 0x47 ] = KEY_YELLOW, /* AP3 */ |
| 1993 | [ 0x57 ] = KEY_BLUE, /* AP4 */ |
Juan Pablo Sormani | c36c459 | 2006-12-27 12:46:36 -0300 | [diff] [blame] | 1994 | }; |
Juan Pablo Sormani | c36c459 | 2006-12-27 12:46:36 -0300 | [diff] [blame] | 1995 | EXPORT_SYMBOL_GPL(ir_codes_encore_enltv); |
Ville-Pekka Vainio | ae1942c | 2007-01-12 14:06:21 -0300 | [diff] [blame] | 1996 | |
Mauro Carvalho Chehab | 7d341a6 | 2008-08-05 10:14:13 -0300 | [diff] [blame] | 1997 | /* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton |
| 1998 | Mauro Carvalho Chehab <mchehab@infradead.org> */ |
| 1999 | IR_KEYTAB_TYPE ir_codes_encore_enltv2[IR_KEYTAB_SIZE] = { |
| 2000 | [0x4c] = KEY_POWER2, |
| 2001 | [0x4a] = KEY_TUNER, |
| 2002 | [0x40] = KEY_1, |
| 2003 | [0x60] = KEY_2, |
| 2004 | [0x50] = KEY_3, |
| 2005 | [0x70] = KEY_4, |
| 2006 | [0x48] = KEY_5, |
| 2007 | [0x68] = KEY_6, |
| 2008 | [0x58] = KEY_7, |
| 2009 | [0x78] = KEY_8, |
| 2010 | [0x44] = KEY_9, |
| 2011 | [0x54] = KEY_0, |
| 2012 | |
| 2013 | [0x64] = KEY_LAST, /* +100 */ |
| 2014 | [0x4e] = KEY_AGAIN, /* Recall */ |
| 2015 | |
| 2016 | [0x6c] = KEY_SWITCHVIDEOMODE, /* Video Source */ |
| 2017 | [0x5e] = KEY_MENU, |
| 2018 | [0x56] = KEY_SCREEN, |
| 2019 | [0x7a] = KEY_SETUP, |
| 2020 | |
| 2021 | [0x46] = KEY_MUTE, |
| 2022 | [0x5c] = KEY_MODE, /* Stereo */ |
| 2023 | [0x74] = KEY_INFO, |
| 2024 | [0x7c] = KEY_CLEAR, |
| 2025 | |
| 2026 | [0x55] = KEY_UP, |
| 2027 | [0x49] = KEY_DOWN, |
| 2028 | [0x7e] = KEY_LEFT, |
| 2029 | [0x59] = KEY_RIGHT, |
| 2030 | [0x6a] = KEY_ENTER, |
| 2031 | |
| 2032 | [0x42] = KEY_VOLUMEUP, |
| 2033 | [0x62] = KEY_VOLUMEDOWN, |
| 2034 | [0x52] = KEY_CHANNELUP, |
| 2035 | [0x72] = KEY_CHANNELDOWN, |
| 2036 | |
| 2037 | [0x41] = KEY_RECORD, |
| 2038 | [0x51] = KEY_SHUFFLE, /* Snapshot */ |
| 2039 | [0x75] = KEY_TIME, /* Timeshift */ |
| 2040 | [0x71] = KEY_TV2, /* PIP */ |
| 2041 | |
| 2042 | [0x45] = KEY_REWIND, |
| 2043 | [0x6f] = KEY_PAUSE, |
| 2044 | [0x7d] = KEY_FORWARD, |
| 2045 | [0x79] = KEY_STOP, |
| 2046 | }; |
| 2047 | EXPORT_SYMBOL_GPL(ir_codes_encore_enltv2); |
| 2048 | |
Ville-Pekka Vainio | 28aedb8 | 2007-04-14 15:38:23 -0300 | [diff] [blame] | 2049 | /* for the Technotrend 1500 bundled remotes (grey and black): */ |
Ville-Pekka Vainio | ae1942c | 2007-01-12 14:06:21 -0300 | [diff] [blame] | 2050 | IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { |
| 2051 | [ 0x01 ] = KEY_POWER, |
| 2052 | [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */ |
| 2053 | [ 0x03 ] = KEY_1, |
| 2054 | [ 0x04 ] = KEY_2, |
| 2055 | [ 0x05 ] = KEY_3, |
| 2056 | [ 0x06 ] = KEY_4, |
| 2057 | [ 0x07 ] = KEY_5, |
| 2058 | [ 0x08 ] = KEY_6, |
| 2059 | [ 0x09 ] = KEY_7, |
| 2060 | [ 0x0a ] = KEY_8, |
| 2061 | [ 0x0b ] = KEY_9, |
| 2062 | [ 0x0c ] = KEY_0, |
| 2063 | [ 0x0d ] = KEY_UP, |
| 2064 | [ 0x0e ] = KEY_LEFT, |
| 2065 | [ 0x0f ] = KEY_OK, |
| 2066 | [ 0x10 ] = KEY_RIGHT, |
| 2067 | [ 0x11 ] = KEY_DOWN, |
| 2068 | [ 0x12 ] = KEY_INFO, |
| 2069 | [ 0x13 ] = KEY_EXIT, |
| 2070 | [ 0x14 ] = KEY_RED, |
| 2071 | [ 0x15 ] = KEY_GREEN, |
| 2072 | [ 0x16 ] = KEY_YELLOW, |
| 2073 | [ 0x17 ] = KEY_BLUE, |
| 2074 | [ 0x18 ] = KEY_MUTE, |
| 2075 | [ 0x19 ] = KEY_TEXT, |
| 2076 | [ 0x1a ] = KEY_MODE, /* ? TV/Radio */ |
| 2077 | [ 0x21 ] = KEY_OPTION, |
| 2078 | [ 0x22 ] = KEY_EPG, |
| 2079 | [ 0x23 ] = KEY_CHANNELUP, |
| 2080 | [ 0x24 ] = KEY_CHANNELDOWN, |
| 2081 | [ 0x25 ] = KEY_VOLUMEUP, |
| 2082 | [ 0x26 ] = KEY_VOLUMEDOWN, |
| 2083 | [ 0x27 ] = KEY_SETUP, |
Ville-Pekka Vainio | 28aedb8 | 2007-04-14 15:38:23 -0300 | [diff] [blame] | 2084 | [ 0x3a ] = KEY_RECORD, /* these keys are only in the black remote */ |
| 2085 | [ 0x3b ] = KEY_PLAY, |
| 2086 | [ 0x3c ] = KEY_STOP, |
| 2087 | [ 0x3d ] = KEY_REWIND, |
| 2088 | [ 0x3e ] = KEY_PAUSE, |
| 2089 | [ 0x3f ] = KEY_FORWARD, |
Ville-Pekka Vainio | ae1942c | 2007-01-12 14:06:21 -0300 | [diff] [blame] | 2090 | }; |
| 2091 | |
| 2092 | EXPORT_SYMBOL_GPL(ir_codes_tt_1500); |
Chaogui Zhang | d54d698 | 2007-08-24 01:02:32 -0300 | [diff] [blame] | 2093 | |
Michael Krufky | 3c44358 | 2007-08-24 01:07:12 -0300 | [diff] [blame] | 2094 | /* DViCO FUSION HDTV MCE remote */ |
| 2095 | IR_KEYTAB_TYPE ir_codes_fusionhdtv_mce[IR_KEYTAB_SIZE] = { |
Chaogui Zhang | d54d698 | 2007-08-24 01:02:32 -0300 | [diff] [blame] | 2096 | |
| 2097 | [ 0x0b ] = KEY_1, |
| 2098 | [ 0x17 ] = KEY_2, |
| 2099 | [ 0x1b ] = KEY_3, |
| 2100 | [ 0x07 ] = KEY_4, |
| 2101 | [ 0x50 ] = KEY_5, |
| 2102 | [ 0x54 ] = KEY_6, |
| 2103 | [ 0x48 ] = KEY_7, |
| 2104 | [ 0x4c ] = KEY_8, |
| 2105 | [ 0x58 ] = KEY_9, |
| 2106 | [ 0x03 ] = KEY_0, |
| 2107 | |
| 2108 | [ 0x5e ] = KEY_OK, |
| 2109 | [ 0x51 ] = KEY_UP, |
| 2110 | [ 0x53 ] = KEY_DOWN, |
| 2111 | [ 0x5b ] = KEY_LEFT, |
| 2112 | [ 0x5f ] = KEY_RIGHT, |
| 2113 | |
| 2114 | [ 0x02 ] = KEY_TV, /* Labeled DTV on remote */ |
| 2115 | [ 0x0e ] = KEY_MP3, |
| 2116 | [ 0x1a ] = KEY_DVD, |
Michael Krufky | 3c44358 | 2007-08-24 01:07:12 -0300 | [diff] [blame] | 2117 | [ 0x1e ] = KEY_FAVORITES, /* Labeled CPF on remote */ |
Chaogui Zhang | d54d698 | 2007-08-24 01:02:32 -0300 | [diff] [blame] | 2118 | [ 0x16 ] = KEY_SETUP, |
| 2119 | [ 0x46 ] = KEY_POWER2, /* TV On/Off button on remote */ |
| 2120 | [ 0x0a ] = KEY_EPG, /* Labeled Guide on remote */ |
| 2121 | |
| 2122 | [ 0x49 ] = KEY_BACK, |
| 2123 | [ 0x59 ] = KEY_INFO, /* Labeled MORE on remote */ |
| 2124 | [ 0x4d ] = KEY_MENU, /* Labeled DVDMENU on remote */ |
| 2125 | [ 0x55 ] = KEY_CYCLEWINDOWS, /* Labeled ALT-TAB on remote */ |
Michael Krufky | 3c44358 | 2007-08-24 01:07:12 -0300 | [diff] [blame] | 2126 | |
| 2127 | [ 0x0f ] = KEY_PREVIOUSSONG, /* Labeled |<< REPLAY on remote */ |
| 2128 | [ 0x12 ] = KEY_NEXTSONG, /* Labeled >>| SKIP on remote */ |
| 2129 | [ 0x42 ] = KEY_ENTER, /* Labeled START with a green |
Chaogui Zhang | d54d698 | 2007-08-24 01:02:32 -0300 | [diff] [blame] | 2130 | * MS windows logo on remote */ |
| 2131 | |
| 2132 | [ 0x15 ] = KEY_VOLUMEUP, |
| 2133 | [ 0x05 ] = KEY_VOLUMEDOWN, |
| 2134 | [ 0x11 ] = KEY_CHANNELUP, |
| 2135 | [ 0x09 ] = KEY_CHANNELDOWN, |
| 2136 | |
Michael Krufky | 3c44358 | 2007-08-24 01:07:12 -0300 | [diff] [blame] | 2137 | [ 0x52 ] = KEY_CAMERA, |
| 2138 | [ 0x5a ] = KEY_TUNER, |
| 2139 | [ 0x19 ] = KEY_OPEN, |
Chaogui Zhang | d54d698 | 2007-08-24 01:02:32 -0300 | [diff] [blame] | 2140 | |
| 2141 | [ 0x13 ] = KEY_MODE, /* 4:3 16:9 select */ |
| 2142 | [ 0x1f ] = KEY_ZOOM, |
| 2143 | |
| 2144 | [ 0x43 ] = KEY_REWIND, |
| 2145 | [ 0x47 ] = KEY_PLAYPAUSE, |
Michael Krufky | 3c44358 | 2007-08-24 01:07:12 -0300 | [diff] [blame] | 2146 | [ 0x4f ] = KEY_FASTFORWARD, |
Chaogui Zhang | d54d698 | 2007-08-24 01:02:32 -0300 | [diff] [blame] | 2147 | [ 0x57 ] = KEY_MUTE, |
| 2148 | [ 0x0d ] = KEY_STOP, |
| 2149 | [ 0x01 ] = KEY_RECORD, |
| 2150 | [ 0x4e ] = KEY_POWER, |
| 2151 | }; |
| 2152 | |
Michael Krufky | 3c44358 | 2007-08-24 01:07:12 -0300 | [diff] [blame] | 2153 | EXPORT_SYMBOL_GPL(ir_codes_fusionhdtv_mce); |
Andrey J. Melnikoff (TEMHOTA) | e8018c9 | 2008-01-07 05:17:39 -0300 | [diff] [blame] | 2154 | |
Steven Toth | 9121106 | 2008-01-22 01:00:33 -0300 | [diff] [blame] | 2155 | /* Pinnacle PCTV HD 800i mini remote */ |
| 2156 | IR_KEYTAB_TYPE ir_codes_pinnacle_pctv_hd[IR_KEYTAB_SIZE] = { |
| 2157 | |
| 2158 | [0x0f] = KEY_1, |
| 2159 | [0x15] = KEY_2, |
| 2160 | [0x10] = KEY_3, |
| 2161 | [0x18] = KEY_4, |
| 2162 | [0x1b] = KEY_5, |
| 2163 | [0x1e] = KEY_6, |
| 2164 | [0x11] = KEY_7, |
| 2165 | [0x21] = KEY_8, |
| 2166 | [0x12] = KEY_9, |
| 2167 | [0x27] = KEY_0, |
| 2168 | |
| 2169 | [0x24] = KEY_ZOOM, |
| 2170 | [0x2a] = KEY_SUBTITLE, |
| 2171 | |
| 2172 | [0x00] = KEY_MUTE, |
| 2173 | [0x01] = KEY_ENTER, /* Pinnacle Logo */ |
| 2174 | [0x39] = KEY_POWER, |
| 2175 | |
| 2176 | [0x03] = KEY_VOLUMEUP, |
| 2177 | [0x09] = KEY_VOLUMEDOWN, |
| 2178 | [0x06] = KEY_CHANNELUP, |
| 2179 | [0x0c] = KEY_CHANNELDOWN, |
| 2180 | |
| 2181 | [0x2d] = KEY_REWIND, |
| 2182 | [0x30] = KEY_PLAYPAUSE, |
| 2183 | [0x33] = KEY_FASTFORWARD, |
| 2184 | [0x3c] = KEY_STOP, |
| 2185 | [0x36] = KEY_RECORD, |
| 2186 | [0x3f] = KEY_EPG, /* Labeled "?" */ |
| 2187 | }; |
| 2188 | EXPORT_SYMBOL_GPL(ir_codes_pinnacle_pctv_hd); |
| 2189 | |
Andrey J. Melnikoff (TEMHOTA) | e8018c9 | 2008-01-07 05:17:39 -0300 | [diff] [blame] | 2190 | /* |
| 2191 | * Igor Kuznetsov <igk72@ya.ru> |
| 2192 | * Andrey J. Melnikov <temnota@kmv.ru> |
| 2193 | * |
| 2194 | * Keytable is used by BeholdTV 60x series, M6 series at |
| 2195 | * least, and probably other cards too. |
| 2196 | * The "ascii-art picture" below (in comments, first row |
| 2197 | * is the keycode in hex, and subsequent row(s) shows |
| 2198 | * the button labels (several variants when appropriate) |
| 2199 | * helps to descide which keycodes to assign to the buttons. |
| 2200 | */ |
| 2201 | IR_KEYTAB_TYPE ir_codes_behold[IR_KEYTAB_SIZE] = { |
| 2202 | |
| 2203 | /* 0x1c 0x12 * |
| 2204 | * TV/FM POWER * |
| 2205 | * */ |
| 2206 | [ 0x1c ] = KEY_TUNER, /*XXX KEY_TV KEY_RADIO */ |
| 2207 | [ 0x12 ] = KEY_POWER, |
| 2208 | |
| 2209 | /* 0x01 0x02 0x03 * |
| 2210 | * 1 2 3 * |
| 2211 | * * |
| 2212 | * 0x04 0x05 0x06 * |
| 2213 | * 4 5 6 * |
| 2214 | * * |
| 2215 | * 0x07 0x08 0x09 * |
| 2216 | * 7 8 9 * |
| 2217 | * */ |
| 2218 | [ 0x01 ] = KEY_1, |
| 2219 | [ 0x02 ] = KEY_2, |
| 2220 | [ 0x03 ] = KEY_3, |
| 2221 | [ 0x04 ] = KEY_4, |
| 2222 | [ 0x05 ] = KEY_5, |
| 2223 | [ 0x06 ] = KEY_6, |
| 2224 | [ 0x07 ] = KEY_7, |
| 2225 | [ 0x08 ] = KEY_8, |
| 2226 | [ 0x09 ] = KEY_9, |
| 2227 | |
| 2228 | /* 0x0a 0x00 0x17 * |
| 2229 | * RECALL 0 MODE * |
| 2230 | * */ |
| 2231 | [ 0x0a ] = KEY_AGAIN, |
| 2232 | [ 0x00 ] = KEY_0, |
| 2233 | [ 0x17 ] = KEY_MODE, |
| 2234 | |
| 2235 | /* 0x14 0x10 * |
| 2236 | * ASPECT FULLSCREEN * |
| 2237 | * */ |
| 2238 | [ 0x14 ] = KEY_SCREEN, |
| 2239 | [ 0x10 ] = KEY_ZOOM, |
| 2240 | |
| 2241 | /* 0x0b * |
| 2242 | * Up * |
| 2243 | * * |
| 2244 | * 0x18 0x16 0x0c * |
| 2245 | * Left Ok Right * |
| 2246 | * * |
| 2247 | * 0x015 * |
| 2248 | * Down * |
| 2249 | * */ |
| 2250 | [ 0x0b ] = KEY_CHANNELUP, /*XXX KEY_UP */ |
| 2251 | [ 0x18 ] = KEY_VOLUMEDOWN, /*XXX KEY_LEFT */ |
| 2252 | [ 0x16 ] = KEY_OK, /*XXX KEY_ENTER */ |
| 2253 | [ 0x0c ] = KEY_VOLUMEUP, /*XXX KEY_RIGHT */ |
| 2254 | [ 0x15 ] = KEY_CHANNELDOWN, /*XXX KEY_DOWN */ |
| 2255 | |
| 2256 | /* 0x11 0x0d * |
| 2257 | * MUTE INFO * |
| 2258 | * */ |
| 2259 | [ 0x11 ] = KEY_MUTE, |
| 2260 | [ 0x0d ] = KEY_INFO, |
| 2261 | |
| 2262 | /* 0x0f 0x1b 0x1a * |
| 2263 | * RECORD PLAY/PAUSE STOP * |
| 2264 | * * |
| 2265 | * 0x0e 0x1f 0x1e * |
| 2266 | *TELETEXT AUDIO SOURCE * |
| 2267 | * RED YELLOW * |
| 2268 | * */ |
| 2269 | [ 0x0f ] = KEY_RECORD, |
| 2270 | [ 0x1b ] = KEY_PLAYPAUSE, |
| 2271 | [ 0x1a ] = KEY_STOP, |
| 2272 | [ 0x0e ] = KEY_TEXT, |
| 2273 | [ 0x1f ] = KEY_RED, /*XXX KEY_AUDIO */ |
| 2274 | [ 0x1e ] = KEY_YELLOW, /*XXX KEY_SOURCE */ |
| 2275 | |
| 2276 | /* 0x1d 0x13 0x19 * |
| 2277 | * SLEEP PREVIEW DVB * |
| 2278 | * GREEN BLUE * |
| 2279 | * */ |
| 2280 | [ 0x1d ] = KEY_SLEEP, |
| 2281 | [ 0x13 ] = KEY_GREEN, |
| 2282 | [ 0x19 ] = KEY_BLUE, /*XXX KEY_SAT */ |
| 2283 | |
| 2284 | /* 0x58 0x5c * |
| 2285 | * FREEZE SNAPSHOT * |
| 2286 | * */ |
| 2287 | [ 0x58 ] = KEY_SLOW, |
| 2288 | [ 0x5c ] = KEY_SAVE, |
| 2289 | |
| 2290 | }; |
| 2291 | |
| 2292 | EXPORT_SYMBOL_GPL(ir_codes_behold); |
Adrian Pardini | f0ba356 | 2008-02-11 12:40:53 -0300 | [diff] [blame] | 2293 | |
Dmitry Belimov | b34dddb | 2008-04-23 14:09:08 -0300 | [diff] [blame] | 2294 | /* Beholder Intl. Ltd. 2008 |
| 2295 | * Dmitry Belimov d.belimov@google.com |
| 2296 | * Keytable is used by BeholdTV Columbus |
| 2297 | * The "ascii-art picture" below (in comments, first row |
| 2298 | * is the keycode in hex, and subsequent row(s) shows |
| 2299 | * the button labels (several variants when appropriate) |
| 2300 | * helps to descide which keycodes to assign to the buttons. |
| 2301 | */ |
| 2302 | IR_KEYTAB_TYPE ir_codes_behold_columbus[IR_KEYTAB_SIZE] = { |
| 2303 | |
| 2304 | /* 0x13 0x11 0x1C 0x12 * |
| 2305 | * Mute Source TV/FM Power * |
| 2306 | * */ |
| 2307 | |
| 2308 | [0x13] = KEY_MUTE, |
| 2309 | [0x11] = KEY_PROPS, |
| 2310 | [0x1C] = KEY_TUNER, /* KEY_TV/KEY_RADIO */ |
| 2311 | [0x12] = KEY_POWER, |
| 2312 | |
| 2313 | /* 0x01 0x02 0x03 0x0D * |
| 2314 | * 1 2 3 Stereo * |
| 2315 | * * |
| 2316 | * 0x04 0x05 0x06 0x19 * |
| 2317 | * 4 5 6 Snapshot * |
| 2318 | * * |
| 2319 | * 0x07 0x08 0x09 0x10 * |
| 2320 | * 7 8 9 Zoom * |
| 2321 | * */ |
| 2322 | [0x01] = KEY_1, |
| 2323 | [0x02] = KEY_2, |
| 2324 | [0x03] = KEY_3, |
| 2325 | [0x0D] = KEY_SETUP, /* Setup key */ |
| 2326 | [0x04] = KEY_4, |
| 2327 | [0x05] = KEY_5, |
| 2328 | [0x06] = KEY_6, |
| 2329 | [0x19] = KEY_BOOKMARKS, /* Snapshot key */ |
| 2330 | [0x07] = KEY_7, |
| 2331 | [0x08] = KEY_8, |
| 2332 | [0x09] = KEY_9, |
| 2333 | [0x10] = KEY_ZOOM, |
| 2334 | |
| 2335 | /* 0x0A 0x00 0x0B 0x0C * |
| 2336 | * RECALL 0 ChannelUp VolumeUp * |
| 2337 | * */ |
| 2338 | [0x0A] = KEY_AGAIN, |
| 2339 | [0x00] = KEY_0, |
| 2340 | [0x0B] = KEY_CHANNELUP, |
| 2341 | [0x0C] = KEY_VOLUMEUP, |
| 2342 | |
| 2343 | /* 0x1B 0x1D 0x15 0x18 * |
| 2344 | * Timeshift Record ChannelDown VolumeDown * |
| 2345 | * */ |
| 2346 | |
| 2347 | [0x1B] = KEY_REWIND, |
| 2348 | [0x1D] = KEY_RECORD, |
| 2349 | [0x15] = KEY_CHANNELDOWN, |
| 2350 | [0x18] = KEY_VOLUMEDOWN, |
| 2351 | |
| 2352 | /* 0x0E 0x1E 0x0F 0x1A * |
| 2353 | * Stop Pause Previouse Next * |
| 2354 | * */ |
| 2355 | |
| 2356 | [0x0E] = KEY_STOP, |
| 2357 | [0x1E] = KEY_PAUSE, |
| 2358 | [0x0F] = KEY_PREVIOUS, |
| 2359 | [0x1A] = KEY_NEXT, |
| 2360 | |
| 2361 | }; |
| 2362 | EXPORT_SYMBOL_GPL(ir_codes_behold_columbus); |
| 2363 | |
Adrian Pardini | f0ba356 | 2008-02-11 12:40:53 -0300 | [diff] [blame] | 2364 | /* |
| 2365 | * Remote control for the Genius TVGO A11MCE |
| 2366 | * Adrian Pardini <pardo.bsso@gmail.com> |
| 2367 | */ |
| 2368 | IR_KEYTAB_TYPE ir_codes_genius_tvgo_a11mce[IR_KEYTAB_SIZE] = { |
| 2369 | /* Keys 0 to 9 */ |
| 2370 | [0x48] = KEY_0, |
| 2371 | [0x09] = KEY_1, |
| 2372 | [0x1d] = KEY_2, |
| 2373 | [0x1f] = KEY_3, |
| 2374 | [0x19] = KEY_4, |
| 2375 | [0x1b] = KEY_5, |
| 2376 | [0x11] = KEY_6, |
| 2377 | [0x17] = KEY_7, |
| 2378 | [0x12] = KEY_8, |
| 2379 | [0x16] = KEY_9, |
| 2380 | |
| 2381 | [0x54] = KEY_RECORD, /* recording */ |
| 2382 | [0x06] = KEY_MUTE, /* mute */ |
| 2383 | [0x10] = KEY_POWER, |
| 2384 | [0x40] = KEY_LAST, /* recall */ |
| 2385 | [0x4c] = KEY_CHANNELUP, /* channel / program + */ |
| 2386 | [0x00] = KEY_CHANNELDOWN, /* channel / program - */ |
| 2387 | [0x0d] = KEY_VOLUMEUP, |
| 2388 | [0x15] = KEY_VOLUMEDOWN, |
| 2389 | [0x4d] = KEY_OK, /* also labeled as Pause */ |
| 2390 | [0x1c] = KEY_ZOOM, /* full screen and Stop*/ |
| 2391 | [0x02] = KEY_MODE, /* AV Source or Rewind*/ |
| 2392 | [0x04] = KEY_LIST, /* -/-- */ |
| 2393 | /* small arrows above numbers */ |
| 2394 | [0x1a] = KEY_NEXT, /* also Fast Forward */ |
| 2395 | [0x0e] = KEY_PREVIOUS, /* also Rewind */ |
| 2396 | /* these are in a rather non standard layout and have |
| 2397 | an alternate name written */ |
| 2398 | [0x1e] = KEY_UP, /* Video Setting */ |
| 2399 | [0x0a] = KEY_DOWN, /* Video Default */ |
| 2400 | [0x05] = KEY_LEFT, /* Snapshot */ |
| 2401 | [0x0c] = KEY_RIGHT, /* Hide Panel */ |
| 2402 | /* Four buttons without label */ |
| 2403 | [0x49] = KEY_RED, |
| 2404 | [0x0b] = KEY_GREEN, |
| 2405 | [0x13] = KEY_YELLOW, |
| 2406 | [0x50] = KEY_BLUE, |
| 2407 | }; |
| 2408 | EXPORT_SYMBOL_GPL(ir_codes_genius_tvgo_a11mce); |
Dâniel Fraga | ba92803 | 2008-04-08 19:56:44 -0300 | [diff] [blame] | 2409 | |
| 2410 | /* |
| 2411 | * Remote control for Powercolor Real Angel 330 |
| 2412 | * Daniel Fraga <fragabr@gmail.com> |
| 2413 | */ |
| 2414 | IR_KEYTAB_TYPE ir_codes_powercolor_real_angel[IR_KEYTAB_SIZE] = { |
| 2415 | [0x38] = KEY_SWITCHVIDEOMODE, /* switch inputs */ |
| 2416 | [0x0c] = KEY_MEDIA, /* Turn ON/OFF App */ |
| 2417 | [0x00] = KEY_0, |
| 2418 | [0x01] = KEY_1, |
| 2419 | [0x02] = KEY_2, |
| 2420 | [0x03] = KEY_3, |
| 2421 | [0x04] = KEY_4, |
| 2422 | [0x05] = KEY_5, |
| 2423 | [0x06] = KEY_6, |
| 2424 | [0x07] = KEY_7, |
| 2425 | [0x08] = KEY_8, |
| 2426 | [0x09] = KEY_9, |
| 2427 | [0x0a] = KEY_DIGITS, /* single, double, tripple digit */ |
| 2428 | [0x29] = KEY_PREVIOUS, /* previous channel */ |
| 2429 | [0x12] = KEY_BRIGHTNESSUP, |
| 2430 | [0x13] = KEY_BRIGHTNESSDOWN, |
| 2431 | [0x2b] = KEY_MODE, /* stereo/mono */ |
| 2432 | [0x2c] = KEY_TEXT, /* teletext */ |
| 2433 | [0x20] = KEY_UP, /* channel up */ |
| 2434 | [0x21] = KEY_DOWN, /* channel down */ |
| 2435 | [0x10] = KEY_RIGHT, /* volume up */ |
| 2436 | [0x11] = KEY_LEFT, /* volume down */ |
| 2437 | [0x0d] = KEY_MUTE, |
| 2438 | [0x1f] = KEY_RECORD, |
| 2439 | [0x17] = KEY_PLAY, |
| 2440 | [0x16] = KEY_PAUSE, |
| 2441 | [0x0b] = KEY_STOP, |
| 2442 | [0x27] = KEY_FASTFORWARD, |
| 2443 | [0x26] = KEY_REWIND, |
| 2444 | [0x1e] = KEY_SEARCH, /* autoscan */ |
| 2445 | [0x0e] = KEY_SHUFFLE, /* snapshot */ |
| 2446 | [0x2d] = KEY_SETUP, |
| 2447 | [0x0f] = KEY_SCREEN, /* full screen */ |
| 2448 | [0x14] = KEY_RADIO, /* FM radio */ |
| 2449 | [0x25] = KEY_POWER, /* power */ |
| 2450 | }; |
| 2451 | EXPORT_SYMBOL_GPL(ir_codes_powercolor_real_angel); |
Tim Farrington | 6e501a3 | 2008-06-15 13:33:42 -0300 | [diff] [blame] | 2452 | |
Mauro Carvalho Chehab | 26d5f3a | 2008-12-07 13:19:29 -0300 | [diff] [blame] | 2453 | /* Kworld Plus TV Analog Lite PCI IR |
| 2454 | Mauro Carvalho Chehab <mchehab@infradead.org> |
| 2455 | */ |
| 2456 | IR_KEYTAB_TYPE ir_codes_kworld_plus_tv_analog[IR_KEYTAB_SIZE] = { |
| 2457 | [0x0c] = KEY_PROG1, /* Kworld key */ |
| 2458 | [0x16] = KEY_CLOSECD, /* -> ) */ |
| 2459 | [0x1d] = KEY_POWER2, |
| 2460 | |
| 2461 | [0x00] = KEY_1, |
| 2462 | [0x01] = KEY_2, |
| 2463 | [0x02] = KEY_3, /* Two keys have the same code: 3 and left */ |
| 2464 | [0x03] = KEY_4, /* Two keys have the same code: 3 and right */ |
| 2465 | [0x04] = KEY_5, |
| 2466 | [0x05] = KEY_6, |
| 2467 | [0x06] = KEY_7, |
| 2468 | [0x07] = KEY_8, |
| 2469 | [0x08] = KEY_9, |
| 2470 | [0x0a] = KEY_0, |
| 2471 | |
| 2472 | [0x09] = KEY_AGAIN, |
| 2473 | [0x14] = KEY_MUTE, |
| 2474 | |
| 2475 | [0x20] = KEY_UP, |
| 2476 | [0x21] = KEY_DOWN, |
| 2477 | [0x0b] = KEY_ENTER, |
| 2478 | |
| 2479 | [0x10] = KEY_CHANNELUP, |
| 2480 | [0x11] = KEY_CHANNELDOWN, |
| 2481 | |
| 2482 | /* Couldn't map key left/key right since those |
| 2483 | conflict with '3' and '4' scancodes |
| 2484 | I dunno what the original driver does |
| 2485 | */ |
| 2486 | |
| 2487 | [0x13] = KEY_VOLUMEUP, |
| 2488 | [0x12] = KEY_VOLUMEDOWN, |
| 2489 | |
| 2490 | /* The lower part of the IR |
| 2491 | There are several duplicated keycodes there. |
| 2492 | Most of them conflict with digits. |
| 2493 | Add mappings just to the unused scancodes. |
| 2494 | Somehow, the original driver has a way to know, |
| 2495 | but this doesn't seem to be on some GPIO. |
| 2496 | Also, it is not related to the time between keyup |
| 2497 | and keydown. |
| 2498 | */ |
| 2499 | [0x19] = KEY_PAUSE, /* Timeshift */ |
| 2500 | [0x1a] = KEY_STOP, |
| 2501 | [0x1b] = KEY_RECORD, |
| 2502 | |
| 2503 | [0x22] = KEY_TEXT, |
| 2504 | |
| 2505 | [0x15] = KEY_AUDIO, /* ((*)) */ |
| 2506 | [0x0f] = KEY_ZOOM, |
| 2507 | [0x1c] = KEY_SHUFFLE, /* snapshot */ |
| 2508 | |
| 2509 | [0x18] = KEY_RED, /* B */ |
| 2510 | [0x23] = KEY_GREEN, /* C */ |
| 2511 | }; |
| 2512 | EXPORT_SYMBOL_GPL(ir_codes_kworld_plus_tv_analog); |
| 2513 | |
Mauro Carvalho Chehab | 9fc2c5e | 2009-02-11 14:15:14 -0300 | [diff] [blame] | 2514 | /* Kaiomy TVnPC U2 |
| 2515 | Mauro Carvalho Chehab <mchehab@infradead.org> |
| 2516 | */ |
| 2517 | IR_KEYTAB_TYPE ir_codes_kaiomy[IR_KEYTAB_SIZE] = { |
| 2518 | [0x43] = KEY_POWER2, |
| 2519 | [0x01] = KEY_LIST, |
| 2520 | [0x0b] = KEY_ZOOM, |
| 2521 | [0x03] = KEY_POWER, |
| 2522 | |
| 2523 | [0x04] = KEY_1, |
| 2524 | [0x08] = KEY_2, |
| 2525 | [0x02] = KEY_3, |
| 2526 | |
| 2527 | [0x0f] = KEY_4, |
| 2528 | [0x05] = KEY_5, |
| 2529 | [0x06] = KEY_6, |
| 2530 | |
| 2531 | [0x0c] = KEY_7, |
| 2532 | [0x0d] = KEY_8, |
| 2533 | [0x0a] = KEY_9, |
| 2534 | |
| 2535 | [0x11] = KEY_0, |
| 2536 | |
| 2537 | [0x09] = KEY_CHANNELUP, |
| 2538 | [0x07] = KEY_CHANNELDOWN, |
| 2539 | |
| 2540 | [0x0e] = KEY_VOLUMEUP, |
| 2541 | [0x13] = KEY_VOLUMEDOWN, |
| 2542 | |
| 2543 | [0x10] = KEY_HOME, |
| 2544 | [0x12] = KEY_ENTER, |
| 2545 | |
| 2546 | [0x14] = KEY_RECORD, |
| 2547 | [0x15] = KEY_STOP, |
| 2548 | [0x16] = KEY_PLAY, |
| 2549 | [0x17] = KEY_MUTE, |
| 2550 | |
| 2551 | [0x18] = KEY_UP, |
| 2552 | [0x19] = KEY_DOWN, |
| 2553 | [0x1a] = KEY_LEFT, |
| 2554 | [0x1b] = KEY_RIGHT, |
| 2555 | |
| 2556 | [0x1c] = KEY_RED, |
| 2557 | [0x1d] = KEY_GREEN, |
| 2558 | [0x1e] = KEY_YELLOW, |
| 2559 | [0x1f] = KEY_BLUE, |
| 2560 | }; |
| 2561 | EXPORT_SYMBOL_GPL(ir_codes_kaiomy); |
| 2562 | |
Tim Farrington | 6e501a3 | 2008-06-15 13:33:42 -0300 | [diff] [blame] | 2563 | IR_KEYTAB_TYPE ir_codes_avermedia_a16d[IR_KEYTAB_SIZE] = { |
| 2564 | [0x20] = KEY_LIST, |
| 2565 | [0x00] = KEY_POWER, |
| 2566 | [0x28] = KEY_1, |
| 2567 | [0x18] = KEY_2, |
| 2568 | [0x38] = KEY_3, |
| 2569 | [0x24] = KEY_4, |
| 2570 | [0x14] = KEY_5, |
| 2571 | [0x34] = KEY_6, |
| 2572 | [0x2c] = KEY_7, |
| 2573 | [0x1c] = KEY_8, |
| 2574 | [0x3c] = KEY_9, |
| 2575 | [0x12] = KEY_SUBTITLE, |
| 2576 | [0x22] = KEY_0, |
| 2577 | [0x32] = KEY_REWIND, |
| 2578 | [0x3a] = KEY_SHUFFLE, |
| 2579 | [0x02] = KEY_PRINT, |
| 2580 | [0x11] = KEY_CHANNELDOWN, |
| 2581 | [0x31] = KEY_CHANNELUP, |
| 2582 | [0x0c] = KEY_ZOOM, |
| 2583 | [0x1e] = KEY_VOLUMEDOWN, |
| 2584 | [0x3e] = KEY_VOLUMEUP, |
| 2585 | [0x0a] = KEY_MUTE, |
| 2586 | [0x04] = KEY_AUDIO, |
| 2587 | [0x26] = KEY_RECORD, |
| 2588 | [0x06] = KEY_PLAY, |
| 2589 | [0x36] = KEY_STOP, |
| 2590 | [0x16] = KEY_PAUSE, |
| 2591 | [0x2e] = KEY_REWIND, |
| 2592 | [0x0e] = KEY_FASTFORWARD, |
| 2593 | [0x30] = KEY_TEXT, |
| 2594 | [0x21] = KEY_GREEN, |
| 2595 | [0x01] = KEY_BLUE, |
| 2596 | [0x08] = KEY_EPG, |
| 2597 | [0x2a] = KEY_MENU, |
| 2598 | }; |
| 2599 | EXPORT_SYMBOL_GPL(ir_codes_avermedia_a16d); |
Mauro Carvalho Chehab | bf1ece6 | 2008-06-26 17:03:00 -0300 | [diff] [blame] | 2600 | |
| 2601 | /* Encore ENLTV-FM v5.3 |
| 2602 | Mauro Carvalho Chehab <mchehab@infradead.org> |
| 2603 | */ |
| 2604 | IR_KEYTAB_TYPE ir_codes_encore_enltv_fm53[IR_KEYTAB_SIZE] = { |
| 2605 | [0x10] = KEY_POWER2, |
| 2606 | [0x06] = KEY_MUTE, |
| 2607 | |
| 2608 | [0x09] = KEY_1, |
| 2609 | [0x1d] = KEY_2, |
| 2610 | [0x1f] = KEY_3, |
| 2611 | [0x19] = KEY_4, |
| 2612 | [0x1b] = KEY_5, |
| 2613 | [0x11] = KEY_6, |
| 2614 | [0x17] = KEY_7, |
| 2615 | [0x12] = KEY_8, |
| 2616 | [0x16] = KEY_9, |
| 2617 | [0x48] = KEY_0, |
| 2618 | |
| 2619 | [0x04] = KEY_LIST, /* -/-- */ |
| 2620 | [0x40] = KEY_LAST, /* recall */ |
| 2621 | |
| 2622 | [0x02] = KEY_MODE, /* TV/AV */ |
| 2623 | [0x05] = KEY_SHUFFLE, /* SNAPSHOT */ |
| 2624 | |
| 2625 | [0x4c] = KEY_CHANNELUP, /* UP */ |
| 2626 | [0x00] = KEY_CHANNELDOWN, /* DOWN */ |
| 2627 | [0x0d] = KEY_VOLUMEUP, /* RIGHT */ |
| 2628 | [0x15] = KEY_VOLUMEDOWN, /* LEFT */ |
| 2629 | [0x49] = KEY_ENTER, /* OK */ |
| 2630 | |
| 2631 | [0x54] = KEY_RECORD, |
| 2632 | [0x4d] = KEY_PLAY, /* pause */ |
| 2633 | |
| 2634 | [0x1e] = KEY_UP, /* video setting */ |
| 2635 | [0x0e] = KEY_RIGHT, /* <- */ |
| 2636 | [0x1a] = KEY_LEFT, /* -> */ |
| 2637 | |
| 2638 | [0x0a] = KEY_DOWN, /* video default */ |
| 2639 | [0x0c] = KEY_ZOOM, /* hide pannel */ |
| 2640 | [0x47] = KEY_SLEEP, /* shutdown */ |
| 2641 | }; |
| 2642 | EXPORT_SYMBOL_GPL(ir_codes_encore_enltv_fm53); |
Mauro Carvalho Chehab | 9b00019 | 2008-06-26 17:03:00 -0300 | [diff] [blame] | 2643 | |
| 2644 | /* Zogis Real Audio 220 - 32 keys IR */ |
| 2645 | IR_KEYTAB_TYPE ir_codes_real_audio_220_32_keys[IR_KEYTAB_SIZE] = { |
| 2646 | [0x1c] = KEY_RADIO, |
| 2647 | [0x12] = KEY_POWER2, |
| 2648 | |
| 2649 | [0x01] = KEY_1, |
| 2650 | [0x02] = KEY_2, |
| 2651 | [0x03] = KEY_3, |
| 2652 | [0x04] = KEY_4, |
| 2653 | [0x05] = KEY_5, |
| 2654 | [0x06] = KEY_6, |
| 2655 | [0x07] = KEY_7, |
| 2656 | [0x08] = KEY_8, |
| 2657 | [0x09] = KEY_9, |
| 2658 | [0x00] = KEY_0, |
| 2659 | |
| 2660 | [0x0c] = KEY_VOLUMEUP, |
| 2661 | [0x18] = KEY_VOLUMEDOWN, |
| 2662 | [0x0b] = KEY_CHANNELUP, |
| 2663 | [0x15] = KEY_CHANNELDOWN, |
| 2664 | [0x16] = KEY_ENTER, |
| 2665 | |
| 2666 | [0x11] = KEY_LIST, /* Source */ |
| 2667 | [0x0d] = KEY_AUDIO, /* stereo */ |
| 2668 | |
| 2669 | [0x0f] = KEY_PREVIOUS, /* Prev */ |
| 2670 | [0x1b] = KEY_PAUSE, /* Timeshift */ |
| 2671 | [0x1a] = KEY_NEXT, /* Next */ |
| 2672 | |
| 2673 | [0x0e] = KEY_STOP, |
| 2674 | [0x1f] = KEY_PLAY, |
| 2675 | [0x1e] = KEY_PLAYPAUSE, /* Pause */ |
| 2676 | |
| 2677 | [0x1d] = KEY_RECORD, |
| 2678 | [0x13] = KEY_MUTE, |
| 2679 | [0x19] = KEY_SHUFFLE, /* Snapshot */ |
| 2680 | |
| 2681 | }; |
| 2682 | EXPORT_SYMBOL_GPL(ir_codes_real_audio_220_32_keys); |
Devin Heitmueller | 60245e8 | 2008-11-16 08:03:53 -0300 | [diff] [blame] | 2683 | |
| 2684 | /* ATI TV Wonder HD 600 USB |
| 2685 | Devin Heitmueller <devin.heitmueller@gmail.com> |
| 2686 | */ |
| 2687 | IR_KEYTAB_TYPE ir_codes_ati_tv_wonder_hd_600[IR_KEYTAB_SIZE] = { |
| 2688 | [0x00] = KEY_RECORD, /* Row 1 */ |
| 2689 | [0x01] = KEY_PLAYPAUSE, |
| 2690 | [0x02] = KEY_STOP, |
| 2691 | [0x03] = KEY_POWER, |
| 2692 | [0x04] = KEY_PREVIOUS, /* Row 2 */ |
| 2693 | [0x05] = KEY_REWIND, |
| 2694 | [0x06] = KEY_FORWARD, |
| 2695 | [0x07] = KEY_NEXT, |
| 2696 | [0x08] = KEY_EPG, /* Row 3 */ |
| 2697 | [0x09] = KEY_HOME, |
| 2698 | [0x0a] = KEY_MENU, |
| 2699 | [0x0b] = KEY_CHANNELUP, |
| 2700 | [0x0c] = KEY_BACK, /* Row 4 */ |
| 2701 | [0x0d] = KEY_UP, |
| 2702 | [0x0e] = KEY_INFO, |
| 2703 | [0x0f] = KEY_CHANNELDOWN, |
| 2704 | [0x10] = KEY_LEFT, /* Row 5 */ |
| 2705 | [0x11] = KEY_SELECT, |
| 2706 | [0x12] = KEY_RIGHT, |
| 2707 | [0x13] = KEY_VOLUMEUP, |
| 2708 | [0x14] = KEY_LAST, /* Row 6 */ |
| 2709 | [0x15] = KEY_DOWN, |
| 2710 | [0x16] = KEY_MUTE, |
| 2711 | [0x17] = KEY_VOLUMEDOWN, |
| 2712 | }; |
| 2713 | |
| 2714 | EXPORT_SYMBOL_GPL(ir_codes_ati_tv_wonder_hd_600); |
Igor M. Liplianin | b72857d | 2009-02-26 03:49:44 -0300 | [diff] [blame] | 2715 | |
| 2716 | /* DVBWorld remotes |
| 2717 | Igor M. Liplianin <liplianin@me.by> |
| 2718 | */ |
| 2719 | IR_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 | }; |
| 2752 | EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec); |