4 Keytables for supported remote controls. This file is part of
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.
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.
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.
22 #include <linux/module.h>
24 #include <linux/input.h>
25 #include <media/ir-common.h>
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,
32 EXPORT_SYMBOL_GPL(ir_codes_empty);
34 /* Michal Majchrowicz <mmajchrowicz@gmail.com> */
35 IR_KEYTAB_TYPE ir_codes_proteus_2309[IR_KEYTAB_SIZE] = {
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 */
55 [ 0x1a ] = KEY_Q, /* off */
57 [ 0x1f ] = KEY_DOWN, /* channel - */
58 [ 0x1c ] = KEY_UP, /* channel + */
59 [ 0x10 ] = KEY_LEFT, /* volume - */
60 [ 0x1e ] = KEY_RIGHT, /* volume + */
64 EXPORT_SYMBOL_GPL(ir_codes_proteus_2309);
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'
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 +'
104 EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt);
106 /* Mauro Carvalho Chehab <mchehab@infradead.org> */
107 IR_KEYTAB_TYPE ir_codes_avermedia_m135a[IR_KEYTAB_SIZE] = {
109 [0x2e] = KEY_DOT, /* '.' */
110 [0x01] = KEY_MODE, /* TV/FM */
123 [0x13] = KEY_RIGHT, /* -> */
124 [0x12] = KEY_LEFT, /* <- */
126 [0x17] = KEY_SLEEP, /* Capturar Imagem */
127 [0x10] = KEY_SHUFFLE, /* Amostra */
129 /* FIXME: The keys bellow aren't ok */
131 [0x43] = KEY_CHANNELUP,
132 [0x42] = KEY_CHANNELDOWN,
133 [0x1f] = KEY_VOLUMEUP,
134 [0x1e] = KEY_VOLUMEDOWN,
142 [0x2b] = KEY_TV2, /* TV2 */
149 [0x1a] = KEY_PLAYPAUSE,
154 EXPORT_SYMBOL_GPL(ir_codes_avermedia_m135a);
156 /* Oldrich Jedlicka <oldium.pro@seznam.cz> */
157 IR_KEYTAB_TYPE ir_codes_avermedia_cardbus[IR_KEYTAB_SIZE] = {
159 [0x01] = KEY_TUNER, /* TV/FM */
160 [0x03] = KEY_TEXT, /* Teletext */
169 [0x0c] = KEY_ZOOM, /* Full screen */
173 [0x10] = KEY_PAGEUP, /* 16-CH PREV */
176 [0x13] = KEY_AGAIN, /* CH RTN - channel return */
178 [0x15] = KEY_EDIT, /* Autoscan */
179 [0x17] = KEY_SAVE, /* Screenshot */
180 [0x18] = KEY_PLAYPAUSE,
184 [0x1c] = KEY_FASTFORWARD,
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) */
198 [0x2f] = KEY_TV, /* Live TV */
200 [0x33] = KEY_CLEAR, /* Clear */
201 [0x35] = KEY_RED, /* Red/TV */
203 [0x37] = KEY_HOME, /* Home */
204 [0x39] = KEY_GREEN, /* Green/Video */
205 [0x3d] = KEY_YELLOW, /* Yellow/Music */
206 [0x3e] = KEY_OK, /* Ok */
208 [0x40] = KEY_NEXT, /* Next */
209 [0x41] = KEY_PREVIOUS, /* Previous */
210 [0x42] = KEY_CHANNELDOWN, /* Channel down */
211 [0x43] = KEY_CHANNELUP /* Channel up */
213 EXPORT_SYMBOL_GPL(ir_codes_avermedia_cardbus);
215 /* Attila Kondoros <attila.kondoros@chello.hu> */
216 IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = {
228 [ 0x17 ] = KEY_LAST, // +100
229 [ 0x0a ] = KEY_LIST, // recall
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
240 [ 0x11 ] = KEY_VIDEO, // video
241 [ 0x0f ] = KEY_ZOOM, // full screen
242 [ 0x13 ] = KEY_MUTE, // mute/unmute
243 [ 0x10 ] = KEY_TEXT, // min
245 [ 0x0d ] = KEY_STOP, // freeze
246 [ 0x0e ] = KEY_RECORD, // record
247 [ 0x1d ] = KEY_PLAYPAUSE, // stop
248 [ 0x19 ] = KEY_PLAY, // play
250 [ 0x16 ] = KEY_GOTO, // osd
251 [ 0x14 ] = KEY_REFRESH, // default
252 [ 0x0c ] = KEY_KPPLUS, // fine tune >>>>
253 [ 0x18 ] = KEY_KPMINUS // fine tune <<<<
256 EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp);
258 /* ---------------------------------------------------------------------- */
260 IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = {
262 [ 0x1e ] = KEY_POWER, // power
263 [ 0x07 ] = KEY_MEDIA, // source
264 [ 0x1c ] = KEY_SEARCH, // scan
266 /* FIXME: duplicate keycodes?
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.
275 * [ 0x17 ] = KEY_BACK, // fm scan <<
276 * [ 0x1f ] = KEY_FORWARD, // fm scan >>
278 * [ 0x04 ] = KEY_LEFT, // fm tuning <
279 * [ 0x0c ] = KEY_RIGHT, // fm tuning >
281 * For now, these four keys are disabled. Pressing them will generate
282 * the CH+/CH-/<<</>>> events
285 [ 0x03 ] = KEY_TUNER, // TV/FM
287 [ 0x00 ] = KEY_RECORD,
291 [ 0x1a ] = KEY_PLAYPAUSE, // freeze
292 [ 0x19 ] = KEY_ZOOM, // zoom
293 [ 0x0f ] = KEY_TEXT, // min
305 [ 0x10 ] = KEY_LAST, // +100
306 [ 0x13 ] = KEY_LIST, // recall
308 [ 0x1f ] = KEY_CHANNELUP, // chn down
309 [ 0x17 ] = KEY_CHANNELDOWN, // chn up
310 [ 0x16 ] = KEY_VOLUMEUP, // vol down
311 [ 0x14 ] = KEY_VOLUMEDOWN, // vol up
313 [ 0x04 ] = KEY_KPMINUS, // <<<
314 [ 0x0e ] = KEY_SETUP, // function
315 [ 0x0c ] = KEY_KPPLUS, // >>>
317 [ 0x0d ] = KEY_GOTO, // mts
318 [ 0x1d ] = KEY_REFRESH, // reset
319 [ 0x18 ] = KEY_MUTE // mute/unmute
322 EXPORT_SYMBOL_GPL(ir_codes_pixelview);
325 Mauro Carvalho Chehab <mchehab@infradead.org>
326 present on PV MPEG 8000GT
328 IR_KEYTAB_TYPE ir_codes_pixelview_new[IR_KEYTAB_SIZE] = {
329 [0x3c] = KEY_PAUSE, /* Timeshift */
343 [0x1c] = KEY_AGAIN, /* LOOP */
344 [0x3f] = KEY_MEDIA, /* Source */
345 [0x1f] = KEY_LAST, /* +100 */
348 [0x17] = KEY_CHANNELDOWN,
349 [0x16] = KEY_CHANNELUP,
350 [0x10] = KEY_VOLUMEUP,
351 [0x14] = KEY_VOLUMEDOWN,
354 [0x19] = KEY_SHUFFLE, /* SNAPSHOT */
355 [0x1a] = KEY_SEARCH, /* scan */
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, /* || */
367 EXPORT_SYMBOL_GPL(ir_codes_pixelview_new);
369 IR_KEYTAB_TYPE ir_codes_nebula[IR_KEYTAB_SIZE] = {
383 [ 0x0d ] = KEY_POWER,
384 [ 0x0e ] = KEY_MHP, /* labelled 'Picture' */
385 [ 0x0f ] = KEY_AUDIO,
387 [ 0x11 ] = KEY_F13, /* 16:9 */
388 [ 0x12 ] = KEY_F14, /* 14:9 */
395 [ 0x19 ] = KEY_RIGHT,
396 [ 0x1a ] = KEY_ENTER,
397 [ 0x1b ] = KEY_CHANNELUP,
398 [ 0x1c ] = KEY_CHANNELDOWN,
399 [ 0x1d ] = KEY_VOLUMEUP,
400 [ 0x1e ] = KEY_VOLUMEDOWN,
402 [ 0x20 ] = KEY_GREEN,
403 [ 0x21 ] = KEY_YELLOW,
405 [ 0x23 ] = KEY_SUBTITLE,
406 [ 0x24 ] = KEY_F15, /* AD */
409 [ 0x27 ] = KEY_REWIND,
412 [ 0x2a ] = KEY_FASTFORWARD,
413 [ 0x2b ] = KEY_F16, /* chapter */
414 [ 0x2c ] = KEY_PAUSE,
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,
427 EXPORT_SYMBOL_GPL(ir_codes_nebula);
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?' */
444 [ 0x0b ] = KEY_TUNER, /* tv/fm */
445 [ 0x0c ] = KEY_SEARCH, /* scan */
447 [ 0x0e ] = KEY_PAUSE,
448 [ 0x0f ] = KEY_LIST, /* source */
451 [ 0x11 ] = KEY_REWIND, /* backward << */
452 [ 0x12 ] = KEY_POWER,
453 [ 0x13 ] = KEY_S, /* snap */
454 [ 0x14 ] = KEY_AUDIO, /* stereo */
455 [ 0x15 ] = KEY_CLEAR, /* reset */
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,
468 EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvb_t);
470 /* ---------------------------------------------------------------------- */
472 /* IO-DATA BCTV7E Remote */
473 IR_KEYTAB_TYPE ir_codes_iodata_bctv7e[IR_KEYTAB_SIZE] = {
475 [ 0x20 ] = KEY_RADIO, /* FM */
477 [ 0x00 ] = KEY_POWER,
480 [ 0x44 ] = KEY_0, /* 10 */
491 [ 0x10 ] = KEY_L, /* Live */
492 [ 0x08 ] = KEY_T, /* Time Shift */
494 [ 0x18 ] = KEY_PLAYPAUSE, /* Play */
496 [ 0x24 ] = KEY_ENTER, /* 11 */
497 [ 0x64 ] = KEY_ESC, /* 12 */
498 [ 0x04 ] = KEY_M, /* Multi */
500 [ 0x54 ] = KEY_VIDEO,
501 [ 0x34 ] = KEY_CHANNELUP,
502 [ 0x74 ] = KEY_VOLUMEUP,
505 [ 0x4c ] = KEY_S, /* SVIDEO */
506 [ 0x2c ] = KEY_CHANNELDOWN,
507 [ 0x6c ] = KEY_VOLUMEDOWN,
510 [ 0x5c ] = KEY_PAUSE,
511 [ 0x3c ] = KEY_C, /* || (red) */
512 [ 0x7c ] = KEY_RECORD, /* recording */
515 [ 0x41 ] = KEY_REWIND, /* backward << */
517 [ 0x61 ] = KEY_FASTFORWARD, /* forward >> */
518 [ 0x01 ] = KEY_NEXT, /* skip >| */
521 EXPORT_SYMBOL_GPL(ir_codes_iodata_bctv7e);
523 /* ---------------------------------------------------------------------- */
525 /* ADS Tech Instant TV DVB-T PCI Remote */
526 IR_KEYTAB_TYPE ir_codes_adstech_dvb_t_pci[IR_KEYTAB_SIZE] = {
539 [ 0x5b ] = KEY_POWER,
542 [ 0x5d ] = KEY_SEARCH,
543 [ 0x17 ] = KEY_EPG, /* Guide */
548 [ 0x1e ] = KEY_RIGHT,
549 [ 0x0e ] = KEY_SELECT, /* Enter */
552 [ 0x59 ] = KEY_PREVIOUS,
554 [ 0x58 ] = KEY_REWIND,
555 [ 0x50 ] = KEY_FORWARD,
556 [ 0x44 ] = KEY_PLAYPAUSE,
558 [ 0x1b ] = KEY_RECORD,
559 [ 0x13 ] = KEY_TUNER, /* Live */
562 [ 0x03 ] = KEY_PROG1, /* 1 */
563 [ 0x01 ] = KEY_PROG2, /* 2 */
564 [ 0x00 ] = KEY_PROG3, /* 3 */
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,
575 EXPORT_SYMBOL_GPL(ir_codes_adstech_dvb_t_pci);
577 /* ---------------------------------------------------------------------- */
579 /* MSI TV@nywhere MASTER remote */
581 IR_KEYTAB_TYPE ir_codes_msi_tvanywhere[IR_KEYTAB_SIZE] = {
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 */
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,
610 EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere);
612 /* ---------------------------------------------------------------------- */
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.
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.
624 Henry Wong <henry@stuffedcow.net>
625 Some changes to formatting and keycodes by Mark Schultz <n9xmj@yahoo.com>
629 IR_KEYTAB_TYPE ir_codes_msi_tvanywhere_plus[IR_KEYTAB_SIZE] = {
631 /* ---- Remote Button Layout ----
633 POWER SOURCE SCAN MUTE
638 vvDN RECORD STOP PLAY
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 */
664 [0x1e] = KEY_POWER, /* Power */
665 [0x07] = KEY_TUNER, /* Source */
666 [0x1c] = KEY_SEARCH, /* Scan */
667 [0x18] = KEY_MUTE, /* Mute */
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 << */
680 [0x00] = KEY_RECORD, /* Record */
681 [0x08] = KEY_STOP, /* Stop */
682 [0x11] = KEY_PLAY, /* Play */
684 [0x0f] = KEY_CLOSE, /* Minimize */
685 [0x19] = KEY_ZOOM, /* Zoom */
686 [0x1a] = KEY_SHUFFLE, /* Snapshot */
687 [0x0d] = KEY_LANGUAGE, /* MTS */
689 [0x14] = KEY_VOLUMEDOWN, /* Vol- */
690 [0x16] = KEY_VOLUMEUP, /* Vol+ */
691 [0x17] = KEY_CHANNELDOWN, /* Ch- */
692 [0x1f] = KEY_CHANNELUP, /* Ch+ */
694 [0x04] = KEY_REWIND, /* << */
695 [0x0e] = KEY_MENU, /* Function */
696 [0x0c] = KEY_FASTFORWARD, /* >> */
697 [0x1d] = KEY_RESTART, /* Reset */
699 EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere_plus);
701 /* ---------------------------------------------------------------------- */
703 /* Cinergy 1400 DVB-T */
704 IR_KEYTAB_TYPE ir_codes_cinergy_1400[IR_KEYTAB_SIZE] = {
705 [ 0x01 ] = KEY_POWER,
717 [ 0x0b ] = KEY_VIDEO,
718 [ 0x0d ] = KEY_REFRESH,
719 [ 0x0e ] = KEY_SELECT,
724 [ 0x13 ] = KEY_RIGHT,
730 [ 0x18 ] = KEY_GREEN,
731 [ 0x19 ] = KEY_YELLOW,
734 [ 0x1b ] = KEY_CHANNELUP,
735 [ 0x1c ] = KEY_VOLUMEUP,
737 [ 0x1e ] = KEY_VOLUMEDOWN,
738 [ 0x1f ] = KEY_CHANNELDOWN,
740 [ 0x40 ] = KEY_PAUSE,
742 [ 0x58 ] = KEY_RECORD,
743 [ 0x54 ] = KEY_PREVIOUS,
748 EXPORT_SYMBOL_GPL(ir_codes_cinergy_1400);
750 /* ---------------------------------------------------------------------- */
752 /* AVERTV STUDIO 303 Remote */
753 IR_KEYTAB_TYPE ir_codes_avertv_303[IR_KEYTAB_SIZE] = {
765 [ 0x02 ] = KEY_POWER,
766 [ 0x22 ] = KEY_VIDEO,
767 [ 0x42 ] = KEY_AUDIO,
773 [ 0x16 ] = KEY_SUBTITLE,
774 [ 0x1e ] = KEY_REWIND,
775 [ 0x06 ] = KEY_PRINT,
777 [ 0x2e ] = KEY_SEARCH,
778 [ 0x36 ] = KEY_SLEEP,
779 [ 0x3e ] = KEY_SHUFFLE,
782 [ 0x4e ] = KEY_RECORD,
783 [ 0x56 ] = KEY_PAUSE,
788 [ 0x0b ] = KEY_GREEN,
789 [ 0x66 ] = KEY_YELLOW,
793 [ 0x7e ] = KEY_RIGHT,
798 EXPORT_SYMBOL_GPL(ir_codes_avertv_303);
800 /* ---------------------------------------------------------------------- */
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,
807 [ 0x55 ] = KEY_TV, /* live tv */
808 [ 0x58 ] = KEY_TUNER, /* digital Radio */
809 [ 0x5a ] = KEY_RADIO, /* FM radio */
810 [ 0x59 ] = KEY_DVD, /* dvd menu */
820 [ 0x0c ] = KEY_CANCEL,
822 [ 0x4a ] = KEY_CLEAR,
828 [ 0x52 ] = KEY_RIGHT,
830 [ 0x1e ] = KEY_VOLUMEUP,
831 [ 0x0a ] = KEY_VOLUMEDOWN,
832 [ 0x02 ] = KEY_CHANNELDOWN,
833 [ 0x05 ] = KEY_CHANNELUP,
834 [ 0x11 ] = KEY_RECORD,
836 [ 0x4c ] = KEY_PAUSE,
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,
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 - */
855 [ 0x57 ] = KEY_GREEN,
856 [ 0x5c ] = KEY_YELLOW,
860 EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvbt_pro);
862 IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = {
863 [ 0x01 ] = KEY_CHANNEL,
864 [ 0x02 ] = KEY_SELECT,
866 [ 0x04 ] = KEY_POWER,
870 [ 0x08 ] = KEY_CHANNELUP,
874 [ 0x0c ] = KEY_CHANNELDOWN,
878 [ 0x10 ] = KEY_VOLUMEUP,
881 [ 0x13 ] = KEY_PRINT,
882 [ 0x14 ] = KEY_VOLUMEDOWN,
883 [ 0x16 ] = KEY_PAUSE,
884 [ 0x18 ] = KEY_RECORD,
885 [ 0x19 ] = KEY_REWIND,
887 [ 0x1b ] = KEY_FORWARD,
888 [ 0x1c ] = KEY_BACKSPACE,
893 EXPORT_SYMBOL_GPL(ir_codes_em_terratec);
895 IR_KEYTAB_TYPE ir_codes_pinnacle_grey[IR_KEYTAB_SIZE] = {
907 [ 0x2f ] = KEY_POWER,
913 [ 0x2d ] = KEY_SCREEN,
915 [ 0x1b ] = KEY_VOLUMEUP,
916 [ 0x0f ] = KEY_VOLUMEDOWN,
917 [ 0x17 ] = KEY_CHANNELUP,
918 [ 0x1c ] = KEY_CHANNELDOWN,
924 [ 0x3b ] = KEY_RIGHT,
928 [ 0x1a ] = KEY_ENTER,
931 [ 0x19 ] = KEY_AGAIN,
932 [ 0x16 ] = KEY_PREVIOUSSONG,
933 [ 0x13 ] = KEY_NEXTSONG,
934 [ 0x15 ] = KEY_PAUSE,
935 [ 0x0e ] = KEY_REWIND,
938 [ 0x07 ] = KEY_FORWARD,
939 [ 0x27 ] = KEY_RECORD,
940 [ 0x26 ] = KEY_TUNER,
942 [ 0x2a ] = KEY_MEDIA,
946 EXPORT_SYMBOL_GPL(ir_codes_pinnacle_grey);
948 IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = {
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
973 [ 0x10 ] = KEY_ENTER, // Enter
975 [ 0x19 ] = KEY_BACK, // Rewind ( <<< )
976 [ 0x1f ] = KEY_FORWARD, // Forward ( >>> )
977 [ 0x0a ] = KEY_ANGLE, // (no label, may be used as the PAUSE button)
980 EXPORT_SYMBOL_GPL(ir_codes_flyvideo);
982 IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = {
983 [ 0x01 ] = KEY_ZOOM, // Full Screen
984 [ 0x00 ] = KEY_POWER, // Power
995 [ 0x06 ] = KEY_AGAIN, // Recall
997 [ 0x10 ] = KEY_MUTE, // Mute
998 [ 0x02 ] = KEY_RADIO, // TV/Radio
999 [ 0x1b ] = KEY_LANGUAGE, // SAP (Second Audio Program)
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
1007 [ 0x1a ] = KEY_MODE, // PIP
1008 [ 0x18 ] = KEY_TUNER, // Source
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 >>|
1021 EXPORT_SYMBOL_GPL(ir_codes_flydvb);
1023 IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE] = {
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,
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,
1063 EXPORT_SYMBOL_GPL(ir_codes_cinergy);
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
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
1083 [ 0x31 ] = KEY_HELP, // help
1084 [ 0x32 ] = KEY_MODE, // num/memo
1085 [ 0x33 ] = KEY_ESC, // cancel
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
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
1113 [ 0x2a ] = KEY_VOLUMEUP,
1114 [ 0x11 ] = KEY_VOLUMEDOWN,
1115 [ 0x18 ] = KEY_CHANNELUP, // CH.tracking up
1116 [ 0x19 ] = KEY_CHANNELDOWN, // CH.tracking down
1118 [ 0x13 ] = KEY_ENTER, // enter
1119 [ 0x21 ] = KEY_DOT, // . (decimal dot)
1122 EXPORT_SYMBOL_GPL(ir_codes_eztv);
1124 /* Alex Hermann <gaaf@gmx.net> */
1125 IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = {
1137 [ 0x20 ] = KEY_TV, /* TV/FM */
1138 [ 0x10 ] = KEY_CD, /* CD */
1139 [ 0x30 ] = KEY_TEXT, /* TELETEXT */
1140 [ 0x00 ] = KEY_POWER, /* POWER */
1142 [ 0x08 ] = KEY_VIDEO, /* VIDEO */
1143 [ 0x04 ] = KEY_AUDIO, /* AUDIO */
1144 [ 0x0c ] = KEY_ZOOM, /* FULL SCREEN */
1146 [ 0x12 ] = KEY_SUBTITLE, /* DISPLAY */
1147 [ 0x32 ] = KEY_REWIND, /* LOOP */
1148 [ 0x02 ] = KEY_PRINT, /* PREVIEW */
1150 [ 0x2a ] = KEY_SEARCH, /* AUTOSCAN */
1151 [ 0x1a ] = KEY_SLEEP, /* FREEZE */
1152 [ 0x3a ] = KEY_SHUFFLE, /* SNAPSHOT */
1153 [ 0x0a ] = KEY_MUTE, /* MUTE */
1155 [ 0x26 ] = KEY_RECORD, /* RECORD */
1156 [ 0x16 ] = KEY_PAUSE, /* PAUSE */
1157 [ 0x36 ] = KEY_STOP, /* STOP */
1158 [ 0x06 ] = KEY_PLAY, /* PLAY */
1160 [ 0x2e ] = KEY_RED, /* RED */
1161 [ 0x21 ] = KEY_GREEN, /* GREEN */
1162 [ 0x0e ] = KEY_YELLOW, /* YELLOW */
1163 [ 0x01 ] = KEY_BLUE, /* BLUE */
1165 [ 0x1e ] = KEY_VOLUMEDOWN, /* VOLUME- */
1166 [ 0x3e ] = KEY_VOLUMEUP, /* VOLUME+ */
1167 [ 0x11 ] = KEY_CHANNELDOWN, /* CHANNEL/PAGE- */
1168 [ 0x31 ] = KEY_CHANNELUP /* CHANNEL/PAGE+ */
1171 EXPORT_SYMBOL_GPL(ir_codes_avermedia);
1173 IR_KEYTAB_TYPE ir_codes_videomate_tv_pvr[IR_KEYTAB_SIZE] = {
1174 [ 0x14 ] = KEY_MUTE,
1175 [ 0x24 ] = KEY_ZOOM,
1178 [ 0x23 ] = KEY_RADIO,
1181 [ 0x0a ] = KEY_REWIND,
1182 [ 0x08 ] = KEY_PLAYPAUSE,
1183 [ 0x0f ] = KEY_FORWARD,
1185 [ 0x02 ] = KEY_PREVIOUS,
1186 [ 0x07 ] = KEY_STOP,
1187 [ 0x06 ] = KEY_NEXT,
1190 [ 0x0e ] = KEY_DOWN,
1191 [ 0x0b ] = KEY_LEFT,
1192 [ 0x0d ] = KEY_RIGHT,
1195 [ 0x03 ] = KEY_MENU,
1196 [ 0x09 ] = KEY_SETUP,
1197 [ 0x05 ] = KEY_VIDEO,
1198 [ 0x22 ] = KEY_CHANNEL,
1200 [ 0x12 ] = KEY_VOLUMEUP,
1201 [ 0x15 ] = KEY_VOLUMEDOWN,
1202 [ 0x10 ] = KEY_CHANNELUP,
1203 [ 0x13 ] = KEY_CHANNELDOWN,
1205 [ 0x04 ] = KEY_RECORD,
1218 [ 0x20 ] = KEY_LANGUAGE,
1219 [ 0x21 ] = KEY_SLEEP,
1222 EXPORT_SYMBOL_GPL(ir_codes_videomate_tv_pvr);
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.
1233 IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE] = {
1239 [ 0x1c ] = KEY_RADIO, /*XXX*/
1240 [ 0x12 ] = KEY_POWER,
1265 [ 0x0a ] = KEY_AGAIN, /*XXX KEY_REWIND? */
1267 [ 0x17 ] = KEY_DIGITS, /*XXX*/
1272 [ 0x14 ] = KEY_MENU,
1273 [ 0x10 ] = KEY_INFO,
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? */
1294 [ 0x11 ] = KEY_TV, /*XXX*/
1295 [ 0x0d ] = KEY_MODE, /*XXX there's no KEY_STEREO */
1298 * AUDIO Vol+ Chan+ *
1302 * SLEEP Vol- Chan- *
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,
1314 [ 0x13 ] = KEY_MUTE,
1315 [ 0x19 ] = KEY_RECORD, /*XXX*/
1320 EXPORT_SYMBOL_GPL(ir_codes_manli);
1322 /* Mike Baikov <mike@baikov.com> */
1323 IR_KEYTAB_TYPE ir_codes_gotview7135[IR_KEYTAB_SIZE] = {
1325 [ 0x11 ] = KEY_POWER,
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*/
1356 [ 0x2a ] = KEY_F21, /* LIVE TIMESHIFT */
1357 [ 0x0e ] = KEY_F22, /* MIN TIMESHIFT */
1358 [ 0x1e ] = KEY_F23, /* TIMESHIFT */
1359 [ 0x38 ] = KEY_F24, /* NORMAL TIMESHIFT */
1362 EXPORT_SYMBOL_GPL(ir_codes_gotview7135);
1364 IR_KEYTAB_TYPE ir_codes_purpletv[IR_KEYTAB_SIZE] = {
1365 [ 0x03 ] = KEY_POWER,
1366 [ 0x6f ] = KEY_MUTE,
1367 [ 0x10 ] = KEY_BACKSPACE, /* Recall */
1379 [ 0x12 ] = KEY_DOT, /* 100+ */
1381 [ 0x07 ] = KEY_VOLUMEUP,
1382 [ 0x0b ] = KEY_VOLUMEDOWN,
1383 [ 0x1a ] = KEY_KPPLUS,
1384 [ 0x18 ] = KEY_KPMINUS,
1386 [ 0x1d ] = KEY_DOWN,
1387 [ 0x0f ] = KEY_CHANNELUP,
1388 [ 0x13 ] = KEY_CHANNELDOWN,
1389 [ 0x48 ] = KEY_ZOOM,
1391 [ 0x1b ] = KEY_VIDEO, /* Video source */
1392 [ 0x49 ] = KEY_LANGUAGE, /* MTS Select */
1393 [ 0x19 ] = KEY_SEARCH, /* Auto Scan */
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 ? */
1404 EXPORT_SYMBOL_GPL(ir_codes_purpletv);
1406 /* Mapping for the 28 key remote control as seen at
1407 http://www.sednacomputer.com/photo/cardbus-tv.jpg
1408 Pavel Mihaylov <bin@bash.info>
1409 Also for the remote bundled with Kozumi KTV-01C card */
1410 IR_KEYTAB_TYPE ir_codes_pctv_sedna[IR_KEYTAB_SIZE] = {
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,
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 */
1447 EXPORT_SYMBOL_GPL(ir_codes_pctv_sedna);
1449 /* Mark Phalan <phalanm@o2.ie> */
1450 IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE] = {
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,
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 */
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 */
1488 EXPORT_SYMBOL_GPL(ir_codes_pv951);
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] = {
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 */
1532 EXPORT_SYMBOL_GPL(ir_codes_rc5_tv);
1534 /* Table for Leadtek Winfast Remote Controls - used by both bttv and cx88 */
1535 IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = {
1548 [ 0x00 ] = KEY_POWER,
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 */
1553 [ 0x04 ] = KEY_VOLUMEUP,
1554 [ 0x08 ] = KEY_VOLUMEDOWN,
1555 [ 0x0c ] = KEY_CHANNELUP,
1556 [ 0x10 ] = KEY_CHANNELDOWN,
1557 [ 0x03 ] = KEY_ZOOM, /* fullscreen */
1558 [ 0x1f ] = KEY_TEXT, /* closed caption/teletext */
1559 [ 0x20 ] = KEY_SLEEP,
1560 [ 0x29 ] = KEY_CLEAR, /* boss key */
1561 [ 0x14 ] = KEY_MUTE,
1563 [ 0x2c ] = KEY_GREEN,
1564 [ 0x2d ] = KEY_YELLOW,
1565 [ 0x2e ] = KEY_BLUE,
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 */
1570 [ 0x13 ] = KEY_ENTER,
1571 [ 0x11 ] = KEY_LAST, /* Recall (last channel */
1572 [ 0x22 ] = KEY_PREVIOUS,
1573 [ 0x23 ] = KEY_PLAYPAUSE,
1574 [ 0x24 ] = KEY_NEXT,
1575 [ 0x25 ] = KEY_ARCHIVE, /* Time Shifting */
1576 [ 0x26 ] = KEY_STOP,
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,
1587 [ 0x37 ] = KEY_RADIO, /* FM */
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 */
1596 EXPORT_SYMBOL_GPL(ir_codes_winfast);
1598 IR_KEYTAB_TYPE ir_codes_pinnacle_color[IR_KEYTAB_SIZE] = {
1599 [ 0x59 ] = KEY_MUTE,
1600 [ 0x4a ] = KEY_POWER,
1602 [ 0x18 ] = KEY_TEXT,
1604 [ 0x3d ] = KEY_PRINT,
1607 [ 0x04 ] = KEY_GREEN,
1608 [ 0x11 ] = KEY_YELLOW,
1609 [ 0x00 ] = KEY_BLUE,
1611 [ 0x2d ] = KEY_VOLUMEUP,
1612 [ 0x1e ] = KEY_VOLUMEDOWN,
1614 [ 0x49 ] = KEY_MENU,
1616 [ 0x16 ] = KEY_CHANNELUP,
1617 [ 0x17 ] = KEY_CHANNELDOWN,
1620 [ 0x21 ] = KEY_DOWN,
1621 [ 0x22 ] = KEY_LEFT,
1622 [ 0x23 ] = KEY_RIGHT,
1623 [ 0x0d ] = KEY_SELECT,
1627 [ 0x08 ] = KEY_BACK,
1628 [ 0x07 ] = KEY_REFRESH,
1630 [ 0x2f ] = KEY_ZOOM,
1631 [ 0x29 ] = KEY_RECORD,
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,
1652 [ 0x74 ] = KEY_CHANNEL,
1653 [ 0x0a ] = KEY_BACKSPACE,
1656 EXPORT_SYMBOL_GPL(ir_codes_pinnacle_color);
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] = {
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 */
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
1695 [ 0x1b ] = KEY_EPG, /* Guide */
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) */
1719 EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new);
1721 IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE] = {
1722 [ 0x1d ] = KEY_SWITCHVIDEOMODE, /* switch inputs */
1723 [ 0x2a ] = KEY_FRONT,
1735 [ 0x22 ] = KEY_NUMLOCK, /* -/-- */
1736 [ 0x20 ] = KEY_REFRESH,
1738 [ 0x03 ] = KEY_BRIGHTNESSDOWN,
1739 [ 0x28 ] = KEY_AUDIO,
1741 [ 0x3f ] = KEY_LEFT,
1742 [ 0x2e ] = KEY_MUTE,
1743 [ 0x3b ] = KEY_RIGHT,
1744 [ 0x00 ] = KEY_DOWN,
1745 [ 0x07 ] = KEY_BRIGHTNESSUP,
1746 [ 0x2c ] = KEY_TEXT,
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,
1763 EXPORT_SYMBOL_GPL(ir_codes_npgtech);
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] = {
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 */
1786 [ 0x32 ] = KEY_BRIGHTNESSUP, /* Brightness increase */
1787 [ 0x33 ] = KEY_BRIGHTNESSDOWN, /* Brightness decrease */
1788 [ 0x6b ] = KEY_KPPLUS, /* (not named >>>>>) */
1789 [ 0x6c ] = KEY_KPMINUS, /* (not named <<<<<) */
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 */
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 */
1811 EXPORT_SYMBOL_GPL(ir_codes_norwood);
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
1818 IR_KEYTAB_TYPE ir_codes_budget_ci_old[IR_KEYTAB_SIZE] = {
1829 [ 0x0a ] = KEY_ENTER,
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,
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,
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 */
1861 [ 0x3c ] = KEY_EXIT,
1862 [ 0x3d ] = KEY_POWER2,
1863 [ 0x3e ] = KEY_TUNER,
1866 EXPORT_SYMBOL_GPL(ir_codes_budget_ci_old);
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"
1873 IR_KEYTAB_TYPE ir_codes_asus_pc39[IR_KEYTAB_SIZE] = {
1886 [ 0x3e ] = KEY_RADIO, /* radio */
1887 [ 0x03 ] = KEY_MENU, /* dvd/menu */
1888 [ 0x2a ] = KEY_VOLUMEUP,
1889 [ 0x19 ] = KEY_VOLUMEDOWN,
1891 [ 0x3b ] = KEY_DOWN,
1892 [ 0x27 ] = KEY_LEFT,
1893 [ 0x2f ] = KEY_RIGHT,
1894 [ 0x25 ] = KEY_VIDEO, /* video */
1895 [ 0x39 ] = KEY_AUDIO, /* music */
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 */
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" */
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 */
1920 EXPORT_SYMBOL_GPL(ir_codes_asus_pc39);
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] = {
1927 /* Power button does nothing, neither in Windows app,
1928 although it sends data (used for BIOS wakeup?) */
1929 [ 0x0d ] = KEY_MUTE,
1932 [ 0x00 ] = KEY_VIDEO,
1933 [ 0x01 ] = KEY_AUDIO, /* music */
1934 [ 0x02 ] = KEY_MHP, /* picture */
1947 [ 0x09 ] = KEY_LIST, /* -/-- */
1948 [ 0x0b ] = KEY_LAST, /* recall */
1950 [ 0x14 ] = KEY_HOME, /* win start menu */
1951 [ 0x15 ] = KEY_EXIT, /* exit */
1953 [ 0x12 ] = KEY_DOWN,
1954 [ 0x0c ] = KEY_RIGHT,
1955 [ 0x17 ] = KEY_LEFT,
1957 [ 0x18 ] = KEY_ENTER, /* OK */
1960 [ 0x13 ] = KEY_D, /* desktop */
1962 [ 0x19 ] = KEY_SWITCHVIDEOMODE, /* switch */
1964 [ 0x1a ] = KEY_MENU,
1965 [ 0x1b ] = KEY_ZOOM, /* fullscreen */
1966 [ 0x44 ] = KEY_TIME, /* time shift */
1967 [ 0x40 ] = KEY_MODE, /* source */
1969 [ 0x5a ] = KEY_RECORD,
1970 [ 0x42 ] = KEY_PLAY, /* play/pause */
1971 [ 0x45 ] = KEY_STOP,
1972 [ 0x43 ] = KEY_CAMERA, /* camera icon */
1974 [ 0x48 ] = KEY_REWIND,
1975 [ 0x4a ] = KEY_FASTFORWARD,
1976 [ 0x49 ] = KEY_PREVIOUS,
1977 [ 0x4b ] = KEY_NEXT,
1979 [ 0x4c ] = KEY_FAVORITES, /* tv wall */
1980 [ 0x4d ] = KEY_SOUND, /* DVD sound */
1981 [ 0x4e ] = KEY_LANGUAGE, /* DVD lang */
1982 [ 0x4f ] = KEY_TEXT, /* DVD text */
1984 [ 0x50 ] = KEY_SLEEP, /* shutdown */
1985 [ 0x51 ] = KEY_MODE, /* stereo > main */
1986 [ 0x52 ] = KEY_SELECT, /* stereo > sap */
1987 [ 0x53 ] = KEY_PROG1, /* teletext */
1990 [ 0x59 ] = KEY_RED, /* AP1 */
1991 [ 0x41 ] = KEY_GREEN, /* AP2 */
1992 [ 0x47 ] = KEY_YELLOW, /* AP3 */
1993 [ 0x57 ] = KEY_BLUE, /* AP4 */
1995 EXPORT_SYMBOL_GPL(ir_codes_encore_enltv);
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,
2013 [0x64] = KEY_LAST, /* +100 */
2014 [0x4e] = KEY_AGAIN, /* Recall */
2016 [0x6c] = KEY_SWITCHVIDEOMODE, /* Video Source */
2018 [0x56] = KEY_SCREEN,
2022 [0x5c] = KEY_MODE, /* Stereo */
2032 [0x42] = KEY_VOLUMEUP,
2033 [0x62] = KEY_VOLUMEDOWN,
2034 [0x52] = KEY_CHANNELUP,
2035 [0x72] = KEY_CHANNELDOWN,
2037 [0x41] = KEY_RECORD,
2038 [0x51] = KEY_SHUFFLE, /* Snapshot */
2039 [0x75] = KEY_TIME, /* Timeshift */
2040 [0x71] = KEY_TV2, /* PIP */
2042 [0x45] = KEY_REWIND,
2044 [0x7d] = KEY_FORWARD,
2047 EXPORT_SYMBOL_GPL(ir_codes_encore_enltv2);
2049 /* for the Technotrend 1500 bundled remotes (grey and black): */
2050 IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = {
2051 [ 0x01 ] = KEY_POWER,
2052 [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */
2064 [ 0x0e ] = KEY_LEFT,
2066 [ 0x10 ] = KEY_RIGHT,
2067 [ 0x11 ] = KEY_DOWN,
2068 [ 0x12 ] = KEY_INFO,
2069 [ 0x13 ] = KEY_EXIT,
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,
2079 [ 0x23 ] = KEY_CHANNELUP,
2080 [ 0x24 ] = KEY_CHANNELDOWN,
2081 [ 0x25 ] = KEY_VOLUMEUP,
2082 [ 0x26 ] = KEY_VOLUMEDOWN,
2083 [ 0x27 ] = KEY_SETUP,
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,
2092 EXPORT_SYMBOL_GPL(ir_codes_tt_1500);
2094 /* DViCO FUSION HDTV MCE remote */
2095 IR_KEYTAB_TYPE ir_codes_fusionhdtv_mce[IR_KEYTAB_SIZE] = {
2110 [ 0x53 ] = KEY_DOWN,
2111 [ 0x5b ] = KEY_LEFT,
2112 [ 0x5f ] = KEY_RIGHT,
2114 [ 0x02 ] = KEY_TV, /* Labeled DTV on remote */
2117 [ 0x1e ] = KEY_FAVORITES, /* Labeled CPF on remote */
2118 [ 0x16 ] = KEY_SETUP,
2119 [ 0x46 ] = KEY_POWER2, /* TV On/Off button on remote */
2120 [ 0x0a ] = KEY_EPG, /* Labeled Guide on remote */
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 */
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
2130 * MS windows logo on remote */
2132 [ 0x15 ] = KEY_VOLUMEUP,
2133 [ 0x05 ] = KEY_VOLUMEDOWN,
2134 [ 0x11 ] = KEY_CHANNELUP,
2135 [ 0x09 ] = KEY_CHANNELDOWN,
2137 [ 0x52 ] = KEY_CAMERA,
2138 [ 0x5a ] = KEY_TUNER,
2139 [ 0x19 ] = KEY_OPEN,
2141 [ 0x13 ] = KEY_MODE, /* 4:3 16:9 select */
2142 [ 0x1f ] = KEY_ZOOM,
2144 [ 0x43 ] = KEY_REWIND,
2145 [ 0x47 ] = KEY_PLAYPAUSE,
2146 [ 0x4f ] = KEY_FASTFORWARD,
2147 [ 0x57 ] = KEY_MUTE,
2148 [ 0x0d ] = KEY_STOP,
2149 [ 0x01 ] = KEY_RECORD,
2150 [ 0x4e ] = KEY_POWER,
2153 EXPORT_SYMBOL_GPL(ir_codes_fusionhdtv_mce);
2155 /* Pinnacle PCTV HD 800i mini remote */
2156 IR_KEYTAB_TYPE ir_codes_pinnacle_pctv_hd[IR_KEYTAB_SIZE] = {
2170 [0x2a] = KEY_SUBTITLE,
2173 [0x01] = KEY_ENTER, /* Pinnacle Logo */
2176 [0x03] = KEY_VOLUMEUP,
2177 [0x09] = KEY_VOLUMEDOWN,
2178 [0x06] = KEY_CHANNELUP,
2179 [0x0c] = KEY_CHANNELDOWN,
2181 [0x2d] = KEY_REWIND,
2182 [0x30] = KEY_PLAYPAUSE,
2183 [0x33] = KEY_FASTFORWARD,
2185 [0x36] = KEY_RECORD,
2186 [0x3f] = KEY_EPG, /* Labeled "?" */
2188 EXPORT_SYMBOL_GPL(ir_codes_pinnacle_pctv_hd);
2191 * Igor Kuznetsov <igk72@ya.ru>
2192 * Andrey J. Melnikov <temnota@kmv.ru>
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.
2201 IR_KEYTAB_TYPE ir_codes_behold[IR_KEYTAB_SIZE] = {
2206 [ 0x1c ] = KEY_TUNER, /*XXX KEY_TV KEY_RADIO */
2207 [ 0x12 ] = KEY_POWER,
2231 [ 0x0a ] = KEY_AGAIN,
2233 [ 0x17 ] = KEY_MODE,
2236 * ASPECT FULLSCREEN *
2238 [ 0x14 ] = KEY_SCREEN,
2239 [ 0x10 ] = KEY_ZOOM,
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 */
2259 [ 0x11 ] = KEY_MUTE,
2260 [ 0x0d ] = KEY_INFO,
2263 * RECORD PLAY/PAUSE STOP *
2266 *TELETEXT AUDIO SOURCE *
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 */
2277 * SLEEP PREVIEW DVB *
2280 [ 0x1d ] = KEY_SLEEP,
2281 [ 0x13 ] = KEY_GREEN,
2282 [ 0x19 ] = KEY_BLUE, /*XXX KEY_SAT */
2287 [ 0x58 ] = KEY_SLOW,
2288 [ 0x5c ] = KEY_SAVE,
2292 EXPORT_SYMBOL_GPL(ir_codes_behold);
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.
2302 IR_KEYTAB_TYPE ir_codes_behold_columbus[IR_KEYTAB_SIZE] = {
2304 /* 0x13 0x11 0x1C 0x12 *
2305 * Mute Source TV/FM Power *
2310 [0x1C] = KEY_TUNER, /* KEY_TV/KEY_RADIO */
2313 /* 0x01 0x02 0x03 0x0D *
2316 * 0x04 0x05 0x06 0x19 *
2319 * 0x07 0x08 0x09 0x10 *
2325 [0x0D] = KEY_SETUP, /* Setup key */
2329 [0x19] = KEY_BOOKMARKS, /* Snapshot key */
2335 /* 0x0A 0x00 0x0B 0x0C *
2336 * RECALL 0 ChannelUp VolumeUp *
2340 [0x0B] = KEY_CHANNELUP,
2341 [0x0C] = KEY_VOLUMEUP,
2343 /* 0x1B 0x1D 0x15 0x18 *
2344 * Timeshift Record ChannelDown VolumeDown *
2347 [0x1B] = KEY_REWIND,
2348 [0x1D] = KEY_RECORD,
2349 [0x15] = KEY_CHANNELDOWN,
2350 [0x18] = KEY_VOLUMEDOWN,
2352 /* 0x0E 0x1E 0x0F 0x1A *
2353 * Stop Pause Previouse Next *
2358 [0x0F] = KEY_PREVIOUS,
2362 EXPORT_SYMBOL_GPL(ir_codes_behold_columbus);
2365 * Remote control for the Genius TVGO A11MCE
2366 * Adrian Pardini <pardo.bsso@gmail.com>
2368 IR_KEYTAB_TYPE ir_codes_genius_tvgo_a11mce[IR_KEYTAB_SIZE] = {
2381 [0x54] = KEY_RECORD, /* recording */
2382 [0x06] = KEY_MUTE, /* mute */
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 */
2405 [0x13] = KEY_YELLOW,
2408 EXPORT_SYMBOL_GPL(ir_codes_genius_tvgo_a11mce);
2411 * Remote control for Powercolor Real Angel 330
2412 * Daniel Fraga <fragabr@gmail.com>
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 */
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 */
2438 [0x1f] = KEY_RECORD,
2442 [0x27] = KEY_FASTFORWARD,
2443 [0x26] = KEY_REWIND,
2444 [0x1e] = KEY_SEARCH, /* autoscan */
2445 [0x0e] = KEY_SHUFFLE, /* snapshot */
2447 [0x0f] = KEY_SCREEN, /* full screen */
2448 [0x14] = KEY_RADIO, /* FM radio */
2449 [0x25] = KEY_POWER, /* power */
2451 EXPORT_SYMBOL_GPL(ir_codes_powercolor_real_angel);
2453 /* Kworld Plus TV Analog Lite PCI IR
2454 Mauro Carvalho Chehab <mchehab@infradead.org>
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,
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 */
2479 [0x10] = KEY_CHANNELUP,
2480 [0x11] = KEY_CHANNELDOWN,
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
2487 [0x13] = KEY_VOLUMEUP,
2488 [0x12] = KEY_VOLUMEDOWN,
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
2499 [0x19] = KEY_PAUSE, /* Timeshift */
2501 [0x1b] = KEY_RECORD,
2505 [0x15] = KEY_AUDIO, /* ((*)) */
2507 [0x1c] = KEY_SHUFFLE, /* snapshot */
2509 [0x18] = KEY_RED, /* B */
2510 [0x23] = KEY_GREEN, /* C */
2512 EXPORT_SYMBOL_GPL(ir_codes_kworld_plus_tv_analog);
2515 Mauro Carvalho Chehab <mchehab@infradead.org>
2517 IR_KEYTAB_TYPE ir_codes_kaiomy[IR_KEYTAB_SIZE] = {
2518 [0x43] = KEY_POWER2,
2537 [0x09] = KEY_CHANNELUP,
2538 [0x07] = KEY_CHANNELDOWN,
2540 [0x0e] = KEY_VOLUMEUP,
2541 [0x13] = KEY_VOLUMEDOWN,
2546 [0x14] = KEY_RECORD,
2558 [0x1e] = KEY_YELLOW,
2561 EXPORT_SYMBOL_GPL(ir_codes_kaiomy);
2563 IR_KEYTAB_TYPE ir_codes_avermedia_a16d[IR_KEYTAB_SIZE] = {
2575 [0x12] = KEY_SUBTITLE,
2577 [0x32] = KEY_REWIND,
2578 [0x3a] = KEY_SHUFFLE,
2580 [0x11] = KEY_CHANNELDOWN,
2581 [0x31] = KEY_CHANNELUP,
2583 [0x1e] = KEY_VOLUMEDOWN,
2584 [0x3e] = KEY_VOLUMEUP,
2587 [0x26] = KEY_RECORD,
2591 [0x2e] = KEY_REWIND,
2592 [0x0e] = KEY_FASTFORWARD,
2599 EXPORT_SYMBOL_GPL(ir_codes_avermedia_a16d);
2601 /* Encore ENLTV-FM v5.3
2602 Mauro Carvalho Chehab <mchehab@infradead.org>
2604 IR_KEYTAB_TYPE ir_codes_encore_enltv_fm53[IR_KEYTAB_SIZE] = {
2605 [0x10] = KEY_POWER2,
2619 [0x04] = KEY_LIST, /* -/-- */
2620 [0x40] = KEY_LAST, /* recall */
2622 [0x02] = KEY_MODE, /* TV/AV */
2623 [0x05] = KEY_SHUFFLE, /* SNAPSHOT */
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 */
2631 [0x54] = KEY_RECORD,
2632 [0x4d] = KEY_PLAY, /* pause */
2634 [0x1e] = KEY_UP, /* video setting */
2635 [0x0e] = KEY_RIGHT, /* <- */
2636 [0x1a] = KEY_LEFT, /* -> */
2638 [0x0a] = KEY_DOWN, /* video default */
2639 [0x0c] = KEY_ZOOM, /* hide pannel */
2640 [0x47] = KEY_SLEEP, /* shutdown */
2642 EXPORT_SYMBOL_GPL(ir_codes_encore_enltv_fm53);
2644 /* Zogis Real Audio 220 - 32 keys IR */
2645 IR_KEYTAB_TYPE ir_codes_real_audio_220_32_keys[IR_KEYTAB_SIZE] = {
2647 [0x12] = KEY_POWER2,
2660 [0x0c] = KEY_VOLUMEUP,
2661 [0x18] = KEY_VOLUMEDOWN,
2662 [0x0b] = KEY_CHANNELUP,
2663 [0x15] = KEY_CHANNELDOWN,
2666 [0x11] = KEY_LIST, /* Source */
2667 [0x0d] = KEY_AUDIO, /* stereo */
2669 [0x0f] = KEY_PREVIOUS, /* Prev */
2670 [0x1b] = KEY_PAUSE, /* Timeshift */
2671 [0x1a] = KEY_NEXT, /* Next */
2675 [0x1e] = KEY_PLAYPAUSE, /* Pause */
2677 [0x1d] = KEY_RECORD,
2679 [0x19] = KEY_SHUFFLE, /* Snapshot */
2682 EXPORT_SYMBOL_GPL(ir_codes_real_audio_220_32_keys);
2684 /* ATI TV Wonder HD 600 USB
2685 Devin Heitmueller <devin.heitmueller@gmail.com>
2687 IR_KEYTAB_TYPE ir_codes_ati_tv_wonder_hd_600[IR_KEYTAB_SIZE] = {
2688 [0x00] = KEY_RECORD, /* Row 1 */
2689 [0x01] = KEY_PLAYPAUSE,
2692 [0x04] = KEY_PREVIOUS, /* Row 2 */
2693 [0x05] = KEY_REWIND,
2694 [0x06] = KEY_FORWARD,
2696 [0x08] = KEY_EPG, /* Row 3 */
2699 [0x0b] = KEY_CHANNELUP,
2700 [0x0c] = KEY_BACK, /* Row 4 */
2703 [0x0f] = KEY_CHANNELDOWN,
2704 [0x10] = KEY_LEFT, /* Row 5 */
2705 [0x11] = KEY_SELECT,
2707 [0x13] = KEY_VOLUMEUP,
2708 [0x14] = KEY_LAST, /* Row 6 */
2711 [0x17] = KEY_VOLUMEDOWN,
2714 EXPORT_SYMBOL_GPL(ir_codes_ati_tv_wonder_hd_600);
2717 Igor M. Liplianin <liplianin@me.by>
2719 IR_KEYTAB_TYPE ir_codes_dm1105_nec[IR_KEYTAB_SIZE] = {
2720 [0x0a] = KEY_Q, /*power*/
2721 [0x0c] = KEY_M, /*mute*/
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*/
2752 EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec);