2 Keytables for supported remote controls, used on drivers/media
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * NOTICE FOR DEVELOPERS:
22 * The IR mappings should be as close as possible to what's
24 * http://linuxtv.org/wiki/index.php/Remote_Controllers
26 #include <linux/module.h>
28 #include <linux/input.h>
29 #include <media/ir-common.h>
31 /* empty keytable, can be used as placeholder for not-yet created keytables */
32 static struct ir_scancode ir_codes_empty
[] = {
36 struct ir_scancode_table ir_codes_empty_table
= {
37 .scan
= ir_codes_empty
,
38 .size
= ARRAY_SIZE(ir_codes_empty
),
40 EXPORT_SYMBOL_GPL(ir_codes_empty_table
);
42 /* Michal Majchrowicz <mmajchrowicz@gmail.com> */
43 static struct ir_scancode ir_codes_proteus_2309
[] = {
56 { 0x5c, KEY_POWER
}, /* power */
57 { 0x20, KEY_ZOOM
}, /* full screen */
58 { 0x0f, KEY_BACKSPACE
}, /* recall */
59 { 0x1b, KEY_ENTER
}, /* mute */
60 { 0x41, KEY_RECORD
}, /* record */
61 { 0x43, KEY_STOP
}, /* stop */
63 { 0x1a, KEY_POWER2
}, /* off */
65 { 0x1f, KEY_CHANNELDOWN
}, /* channel - */
66 { 0x1c, KEY_CHANNELUP
}, /* channel + */
67 { 0x10, KEY_VOLUMEDOWN
}, /* volume - */
68 { 0x1e, KEY_VOLUMEUP
}, /* volume + */
72 struct ir_scancode_table ir_codes_proteus_2309_table
= {
73 .scan
= ir_codes_proteus_2309
,
74 .size
= ARRAY_SIZE(ir_codes_proteus_2309
),
76 EXPORT_SYMBOL_GPL(ir_codes_proteus_2309_table
);
78 /* Matt Jesson <dvb@jesson.eclipse.co.uk */
79 static struct ir_scancode ir_codes_avermedia_dvbt
[] = {
80 { 0x28, KEY_0
}, /* '0' / 'enter' */
81 { 0x22, KEY_1
}, /* '1' */
82 { 0x12, KEY_2
}, /* '2' / 'up arrow' */
83 { 0x32, KEY_3
}, /* '3' */
84 { 0x24, KEY_4
}, /* '4' / 'left arrow' */
85 { 0x14, KEY_5
}, /* '5' */
86 { 0x34, KEY_6
}, /* '6' / 'right arrow' */
87 { 0x26, KEY_7
}, /* '7' */
88 { 0x16, KEY_8
}, /* '8' / 'down arrow' */
89 { 0x36, KEY_9
}, /* '9' */
91 { 0x20, KEY_LIST
}, /* 'source' */
92 { 0x10, KEY_TEXT
}, /* 'teletext' */
93 { 0x00, KEY_POWER
}, /* 'power' */
94 { 0x04, KEY_AUDIO
}, /* 'audio' */
95 { 0x06, KEY_ZOOM
}, /* 'full screen' */
96 { 0x18, KEY_VIDEO
}, /* 'display' */
97 { 0x38, KEY_SEARCH
}, /* 'loop' */
98 { 0x08, KEY_INFO
}, /* 'preview' */
99 { 0x2a, KEY_REWIND
}, /* 'backward <<' */
100 { 0x1a, KEY_FASTFORWARD
}, /* 'forward >>' */
101 { 0x3a, KEY_RECORD
}, /* 'capture' */
102 { 0x0a, KEY_MUTE
}, /* 'mute' */
103 { 0x2c, KEY_RECORD
}, /* 'record' */
104 { 0x1c, KEY_PAUSE
}, /* 'pause' */
105 { 0x3c, KEY_STOP
}, /* 'stop' */
106 { 0x0c, KEY_PLAY
}, /* 'play' */
107 { 0x2e, KEY_RED
}, /* 'red' */
108 { 0x01, KEY_BLUE
}, /* 'blue' / 'cancel' */
109 { 0x0e, KEY_YELLOW
}, /* 'yellow' / 'ok' */
110 { 0x21, KEY_GREEN
}, /* 'green' */
111 { 0x11, KEY_CHANNELDOWN
}, /* 'channel -' */
112 { 0x31, KEY_CHANNELUP
}, /* 'channel +' */
113 { 0x1e, KEY_VOLUMEDOWN
}, /* 'volume -' */
114 { 0x3e, KEY_VOLUMEUP
}, /* 'volume +' */
117 struct ir_scancode_table ir_codes_avermedia_dvbt_table
= {
118 .scan
= ir_codes_avermedia_dvbt
,
119 .size
= ARRAY_SIZE(ir_codes_avermedia_dvbt
),
121 EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt_table
);
123 /* Mauro Carvalho Chehab <mchehab@infradead.org> */
124 static struct ir_scancode ir_codes_avermedia_m135a
[] = {
125 { 0x00, KEY_POWER2
},
126 { 0x2e, KEY_DOT
}, /* '.' */
127 { 0x01, KEY_MODE
}, /* TV/FM */
140 { 0x13, KEY_RIGHT
}, /* -> */
141 { 0x12, KEY_LEFT
}, /* <- */
143 { 0x17, KEY_SLEEP
}, /* Capturar Imagem */
144 { 0x10, KEY_SHUFFLE
}, /* Amostra */
146 /* FIXME: The keys bellow aren't ok */
148 { 0x43, KEY_CHANNELUP
},
149 { 0x42, KEY_CHANNELDOWN
},
150 { 0x1f, KEY_VOLUMEUP
},
151 { 0x1e, KEY_VOLUMEDOWN
},
159 { 0x2b, KEY_TV2
}, /* TV2 */
162 { 0x1c, KEY_YELLOW
},
166 { 0x1a, KEY_PLAYPAUSE
},
167 { 0x19, KEY_RECORD
},
172 struct ir_scancode_table ir_codes_avermedia_m135a_table
= {
173 .scan
= ir_codes_avermedia_m135a
,
174 .size
= ARRAY_SIZE(ir_codes_avermedia_m135a
),
176 EXPORT_SYMBOL_GPL(ir_codes_avermedia_m135a_table
);
178 /* Oldrich Jedlicka <oldium.pro@seznam.cz> */
179 static struct ir_scancode ir_codes_avermedia_cardbus
[] = {
181 { 0x01, KEY_TUNER
}, /* TV/FM */
182 { 0x03, KEY_TEXT
}, /* Teletext */
191 { 0x0c, KEY_ZOOM
}, /* Full screen */
195 { 0x10, KEY_PAGEUP
}, /* 16-CH PREV */
198 { 0x13, KEY_AGAIN
}, /* CH RTN - channel return */
200 { 0x15, KEY_EDIT
}, /* Autoscan */
201 { 0x17, KEY_SAVE
}, /* Screenshot */
202 { 0x18, KEY_PLAYPAUSE
},
203 { 0x19, KEY_RECORD
},
206 { 0x1c, KEY_FASTFORWARD
},
207 { 0x1d, KEY_REWIND
},
208 { 0x1e, KEY_VOLUMEDOWN
},
209 { 0x1f, KEY_VOLUMEUP
},
210 { 0x22, KEY_SLEEP
}, /* Sleep */
211 { 0x23, KEY_ZOOM
}, /* Aspect */
212 { 0x26, KEY_SCREEN
}, /* Pos */
213 { 0x27, KEY_ANGLE
}, /* Size */
214 { 0x28, KEY_SELECT
}, /* Select */
215 { 0x29, KEY_BLUE
}, /* Blue/Picture */
216 { 0x2a, KEY_BACKSPACE
}, /* Back */
217 { 0x2b, KEY_MEDIA
}, /* PIP (Picture-in-picture) */
220 { 0x2f, KEY_TV
}, /* Live TV */
222 { 0x33, KEY_CLEAR
}, /* Clear */
223 { 0x35, KEY_RED
}, /* Red/TV */
225 { 0x37, KEY_HOME
}, /* Home */
226 { 0x39, KEY_GREEN
}, /* Green/Video */
227 { 0x3d, KEY_YELLOW
}, /* Yellow/Music */
228 { 0x3e, KEY_OK
}, /* Ok */
230 { 0x40, KEY_NEXT
}, /* Next */
231 { 0x41, KEY_PREVIOUS
}, /* Previous */
232 { 0x42, KEY_CHANNELDOWN
}, /* Channel down */
233 { 0x43, KEY_CHANNELUP
}, /* Channel up */
236 struct ir_scancode_table ir_codes_avermedia_cardbus_table
= {
237 .scan
= ir_codes_avermedia_cardbus
,
238 .size
= ARRAY_SIZE(ir_codes_avermedia_cardbus
),
240 EXPORT_SYMBOL_GPL(ir_codes_avermedia_cardbus_table
);
242 /* Attila Kondoros <attila.kondoros@chello.hu> */
243 static struct ir_scancode ir_codes_apac_viewcomp
[] = {
255 { 0x17, KEY_LAST
}, /* +100 */
256 { 0x0a, KEY_LIST
}, /* recall */
259 { 0x1c, KEY_TUNER
}, /* TV/FM */
260 { 0x15, KEY_SEARCH
}, /* scan */
261 { 0x12, KEY_POWER
}, /* power */
262 { 0x1f, KEY_VOLUMEDOWN
}, /* vol up */
263 { 0x1b, KEY_VOLUMEUP
}, /* vol down */
264 { 0x1e, KEY_CHANNELDOWN
}, /* chn up */
265 { 0x1a, KEY_CHANNELUP
}, /* chn down */
267 { 0x11, KEY_VIDEO
}, /* video */
268 { 0x0f, KEY_ZOOM
}, /* full screen */
269 { 0x13, KEY_MUTE
}, /* mute/unmute */
270 { 0x10, KEY_TEXT
}, /* min */
272 { 0x0d, KEY_STOP
}, /* freeze */
273 { 0x0e, KEY_RECORD
}, /* record */
274 { 0x1d, KEY_PLAYPAUSE
}, /* stop */
275 { 0x19, KEY_PLAY
}, /* play */
277 { 0x16, KEY_GOTO
}, /* osd */
278 { 0x14, KEY_REFRESH
}, /* default */
279 { 0x0c, KEY_KPPLUS
}, /* fine tune >>>> */
280 { 0x18, KEY_KPMINUS
}, /* fine tune <<<< */
283 struct ir_scancode_table ir_codes_apac_viewcomp_table
= {
284 .scan
= ir_codes_apac_viewcomp
,
285 .size
= ARRAY_SIZE(ir_codes_apac_viewcomp
),
287 EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp_table
);
289 /* ---------------------------------------------------------------------- */
291 static struct ir_scancode ir_codes_pixelview
[] = {
293 { 0x1e, KEY_POWER
}, /* power */
294 { 0x07, KEY_MEDIA
}, /* source */
295 { 0x1c, KEY_SEARCH
}, /* scan */
298 { 0x03, KEY_TUNER
}, /* TV/FM */
300 { 0x00, KEY_RECORD
},
304 { 0x1a, KEY_PLAYPAUSE
}, /* freeze */
305 { 0x19, KEY_ZOOM
}, /* zoom */
306 { 0x0f, KEY_TEXT
}, /* min */
318 { 0x10, KEY_LAST
}, /* +100 */
319 { 0x13, KEY_LIST
}, /* recall */
321 { 0x1f, KEY_CHANNELUP
}, /* chn down */
322 { 0x17, KEY_CHANNELDOWN
}, /* chn up */
323 { 0x16, KEY_VOLUMEUP
}, /* vol down */
324 { 0x14, KEY_VOLUMEDOWN
}, /* vol up */
326 { 0x04, KEY_KPMINUS
}, /* <<< */
327 { 0x0e, KEY_SETUP
}, /* function */
328 { 0x0c, KEY_KPPLUS
}, /* >>> */
330 { 0x0d, KEY_GOTO
}, /* mts */
331 { 0x1d, KEY_REFRESH
}, /* reset */
332 { 0x18, KEY_MUTE
}, /* mute/unmute */
335 struct ir_scancode_table ir_codes_pixelview_table
= {
336 .scan
= ir_codes_pixelview
,
337 .size
= ARRAY_SIZE(ir_codes_pixelview
),
339 EXPORT_SYMBOL_GPL(ir_codes_pixelview_table
);
342 Mauro Carvalho Chehab <mchehab@infradead.org>
343 present on PV MPEG 8000GT
345 static struct ir_scancode ir_codes_pixelview_new
[] = {
346 { 0x3c, KEY_TIME
}, /* Timeshift */
360 { 0x1c, KEY_AGAIN
}, /* LOOP */
361 { 0x3f, KEY_MEDIA
}, /* Source */
362 { 0x1f, KEY_LAST
}, /* +100 */
365 { 0x17, KEY_CHANNELDOWN
},
366 { 0x16, KEY_CHANNELUP
},
367 { 0x10, KEY_VOLUMEUP
},
368 { 0x14, KEY_VOLUMEDOWN
},
371 { 0x19, KEY_CAMERA
}, /* SNAPSHOT */
372 { 0x1a, KEY_SEARCH
}, /* scan */
374 { 0x37, KEY_REWIND
}, /* << */
375 { 0x32, KEY_RECORD
}, /* o (red) */
376 { 0x33, KEY_FORWARD
}, /* >> */
377 { 0x11, KEY_STOP
}, /* square */
378 { 0x3b, KEY_PLAY
}, /* > */
379 { 0x30, KEY_PLAYPAUSE
}, /* || */
385 struct ir_scancode_table ir_codes_pixelview_new_table
= {
386 .scan
= ir_codes_pixelview_new
,
387 .size
= ARRAY_SIZE(ir_codes_pixelview_new
),
389 EXPORT_SYMBOL_GPL(ir_codes_pixelview_new_table
);
391 static struct ir_scancode ir_codes_nebula
[] = {
406 { 0x0e, KEY_MHP
}, /* labelled 'Picture' */
409 { 0x11, KEY_F13
}, /* 16:9 */
410 { 0x12, KEY_F14
}, /* 14:9 */
419 { 0x1b, KEY_CHANNELUP
},
420 { 0x1c, KEY_CHANNELDOWN
},
421 { 0x1d, KEY_VOLUMEUP
},
422 { 0x1e, KEY_VOLUMEDOWN
},
425 { 0x21, KEY_YELLOW
},
427 { 0x23, KEY_SUBTITLE
},
428 { 0x24, KEY_F15
}, /* AD */
431 { 0x27, KEY_REWIND
},
434 { 0x2a, KEY_FASTFORWARD
},
435 { 0x2b, KEY_F16
}, /* chapter */
438 { 0x2e, KEY_RECORD
},
439 { 0x2f, KEY_F17
}, /* picture in picture */
440 { 0x30, KEY_KPPLUS
}, /* zoom in */
441 { 0x31, KEY_KPMINUS
}, /* zoom out */
442 { 0x32, KEY_F18
}, /* capture */
443 { 0x33, KEY_F19
}, /* web */
449 struct ir_scancode_table ir_codes_nebula_table
= {
450 .scan
= ir_codes_nebula
,
451 .size
= ARRAY_SIZE(ir_codes_nebula
),
453 EXPORT_SYMBOL_GPL(ir_codes_nebula_table
);
455 /* DigitalNow DNTV Live DVB-T Remote */
456 static struct ir_scancode ir_codes_dntv_live_dvb_t
[] = {
457 { 0x00, KEY_ESC
}, /* 'go up a level?' */
470 { 0x0b, KEY_TUNER
}, /* tv/fm */
471 { 0x0c, KEY_SEARCH
}, /* scan */
474 { 0x0f, KEY_LIST
}, /* source */
477 { 0x11, KEY_REWIND
}, /* backward << */
479 { 0x13, KEY_CAMERA
}, /* snap */
480 { 0x14, KEY_AUDIO
}, /* stereo */
481 { 0x15, KEY_CLEAR
}, /* reset */
484 { 0x18, KEY_ZOOM
}, /* full screen */
485 { 0x19, KEY_FASTFORWARD
}, /* forward >> */
486 { 0x1a, KEY_CHANNELUP
},
487 { 0x1b, KEY_VOLUMEUP
},
488 { 0x1c, KEY_INFO
}, /* preview */
489 { 0x1d, KEY_RECORD
}, /* record */
490 { 0x1e, KEY_CHANNELDOWN
},
491 { 0x1f, KEY_VOLUMEDOWN
},
494 struct ir_scancode_table ir_codes_dntv_live_dvb_t_table
= {
495 .scan
= ir_codes_dntv_live_dvb_t
,
496 .size
= ARRAY_SIZE(ir_codes_dntv_live_dvb_t
),
498 EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvb_t_table
);
500 /* ---------------------------------------------------------------------- */
502 /* IO-DATA BCTV7E Remote */
503 static struct ir_scancode ir_codes_iodata_bctv7e
[] = {
505 { 0x20, KEY_RADIO
}, /* FM */
510 { 0x44, KEY_0
}, /* 10 */
521 { 0x10, KEY_L
}, /* Live */
522 { 0x08, KEY_TIME
}, /* Time Shift */
524 { 0x18, KEY_PLAYPAUSE
}, /* Play */
526 { 0x24, KEY_ENTER
}, /* 11 */
527 { 0x64, KEY_ESC
}, /* 12 */
528 { 0x04, KEY_M
}, /* Multi */
531 { 0x34, KEY_CHANNELUP
},
532 { 0x74, KEY_VOLUMEUP
},
535 { 0x4c, KEY_VCR
}, /* SVIDEO */
536 { 0x2c, KEY_CHANNELDOWN
},
537 { 0x6c, KEY_VOLUMEDOWN
},
541 { 0x3c, KEY_RED
}, /* || (red) */
542 { 0x7c, KEY_RECORD
}, /* recording */
545 { 0x41, KEY_REWIND
}, /* backward << */
547 { 0x61, KEY_FASTFORWARD
}, /* forward >> */
548 { 0x01, KEY_NEXT
}, /* skip >| */
551 struct ir_scancode_table ir_codes_iodata_bctv7e_table
= {
552 .scan
= ir_codes_iodata_bctv7e
,
553 .size
= ARRAY_SIZE(ir_codes_iodata_bctv7e
),
555 EXPORT_SYMBOL_GPL(ir_codes_iodata_bctv7e_table
);
557 /* ---------------------------------------------------------------------- */
559 /* ADS Tech Instant TV DVB-T PCI Remote */
560 static struct ir_scancode ir_codes_adstech_dvb_t_pci
[] = {
576 { 0x5d, KEY_SEARCH
},
577 { 0x17, KEY_EPG
}, /* Guide */
583 { 0x0e, KEY_SELECT
}, /* Enter */
586 { 0x59, KEY_PREVIOUS
},
588 { 0x58, KEY_REWIND
},
589 { 0x50, KEY_FORWARD
},
590 { 0x44, KEY_PLAYPAUSE
},
592 { 0x1b, KEY_RECORD
},
593 { 0x13, KEY_TUNER
}, /* Live */
596 { 0x03, KEY_PROG1
}, /* 1 */
597 { 0x01, KEY_PROG2
}, /* 2 */
598 { 0x00, KEY_PROG3
}, /* 3 */
600 { 0x48, KEY_AUX
}, /* Photo */
602 { 0x19, KEY_AUDIO
}, /* Music */
603 { 0x0b, KEY_CHANNELUP
},
604 { 0x08, KEY_CHANNELDOWN
},
605 { 0x15, KEY_VOLUMEUP
},
606 { 0x1c, KEY_VOLUMEDOWN
},
609 struct ir_scancode_table ir_codes_adstech_dvb_t_pci_table
= {
610 .scan
= ir_codes_adstech_dvb_t_pci
,
611 .size
= ARRAY_SIZE(ir_codes_adstech_dvb_t_pci
),
613 EXPORT_SYMBOL_GPL(ir_codes_adstech_dvb_t_pci_table
);
615 /* ---------------------------------------------------------------------- */
617 /* MSI TV@nywhere MASTER remote */
619 static struct ir_scancode ir_codes_msi_tvanywhere
[] = {
633 { 0x0f, KEY_SCREEN
}, /* Full Screen */
634 { 0x10, KEY_FN
}, /* Funtion */
635 { 0x11, KEY_TIME
}, /* Time shift */
637 { 0x13, KEY_MEDIA
}, /* MTS */
639 { 0x16, KEY_REWIND
}, /* backward << */
640 { 0x17, KEY_ENTER
}, /* Return */
641 { 0x18, KEY_FASTFORWARD
}, /* forward >> */
642 { 0x1a, KEY_CHANNELUP
},
643 { 0x1b, KEY_VOLUMEUP
},
644 { 0x1e, KEY_CHANNELDOWN
},
645 { 0x1f, KEY_VOLUMEDOWN
},
648 struct ir_scancode_table ir_codes_msi_tvanywhere_table
= {
649 .scan
= ir_codes_msi_tvanywhere
,
650 .size
= ARRAY_SIZE(ir_codes_msi_tvanywhere
),
652 EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere_table
);
654 /* ---------------------------------------------------------------------- */
657 Keycodes for remote on the MSI TV@nywhere Plus. The controller IC on the card
658 is marked "KS003". The controller is I2C at address 0x30, but does not seem
659 to respond to probes until a read is performed from a valid device.
662 Note: This remote may be of similar or identical design to the
663 Pixelview remote (?). The raw codes and duplicate button codes
664 appear to be the same.
666 Henry Wong <henry@stuffedcow.net>
667 Some changes to formatting and keycodes by Mark Schultz <n9xmj@yahoo.com>
671 static struct ir_scancode ir_codes_msi_tvanywhere_plus
[] = {
673 /* ---- Remote Button Layout ----
675 POWER SOURCE SCAN MUTE
680 vvDN RECORD STOP PLAY
693 { 0x01, KEY_1
}, /* 1 */
694 { 0x0b, KEY_2
}, /* 2 */
695 { 0x1b, KEY_3
}, /* 3 */
696 { 0x05, KEY_4
}, /* 4 */
697 { 0x09, KEY_5
}, /* 5 */
698 { 0x15, KEY_6
}, /* 6 */
699 { 0x06, KEY_7
}, /* 7 */
700 { 0x0a, KEY_8
}, /* 8 */
701 { 0x12, KEY_9
}, /* 9 */
702 { 0x02, KEY_0
}, /* 0 */
703 { 0x10, KEY_KPPLUS
}, /* + */
704 { 0x13, KEY_AGAIN
}, /* Recall */
706 { 0x1e, KEY_POWER
}, /* Power */
707 { 0x07, KEY_TUNER
}, /* Source */
708 { 0x1c, KEY_SEARCH
}, /* Scan */
709 { 0x18, KEY_MUTE
}, /* Mute */
711 { 0x03, KEY_RADIO
}, /* TV/FM */
712 /* The next four keys are duplicates that appear to send the
713 same IR code as Ch+, Ch-, >>, and << . The raw code assigned
714 to them is the actual code + 0x20 - they will never be
715 detected as such unless some way is discovered to distinguish
716 these buttons from those that have the same code. */
717 { 0x3f, KEY_RIGHT
}, /* |> and Ch+ */
718 { 0x37, KEY_LEFT
}, /* <| and Ch- */
719 { 0x2c, KEY_UP
}, /* ^^Up and >> */
720 { 0x24, KEY_DOWN
}, /* vvDn and << */
722 { 0x00, KEY_RECORD
}, /* Record */
723 { 0x08, KEY_STOP
}, /* Stop */
724 { 0x11, KEY_PLAY
}, /* Play */
726 { 0x0f, KEY_CLOSE
}, /* Minimize */
727 { 0x19, KEY_ZOOM
}, /* Zoom */
728 { 0x1a, KEY_CAMERA
}, /* Snapshot */
729 { 0x0d, KEY_LANGUAGE
}, /* MTS */
731 { 0x14, KEY_VOLUMEDOWN
}, /* Vol- */
732 { 0x16, KEY_VOLUMEUP
}, /* Vol+ */
733 { 0x17, KEY_CHANNELDOWN
}, /* Ch- */
734 { 0x1f, KEY_CHANNELUP
}, /* Ch+ */
736 { 0x04, KEY_REWIND
}, /* << */
737 { 0x0e, KEY_MENU
}, /* Function */
738 { 0x0c, KEY_FASTFORWARD
}, /* >> */
739 { 0x1d, KEY_RESTART
}, /* Reset */
742 struct ir_scancode_table ir_codes_msi_tvanywhere_plus_table
= {
743 .scan
= ir_codes_msi_tvanywhere_plus
,
744 .size
= ARRAY_SIZE(ir_codes_msi_tvanywhere_plus
),
746 EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere_plus_table
);
748 /* ---------------------------------------------------------------------- */
750 /* Cinergy 1400 DVB-T */
751 static struct ir_scancode ir_codes_cinergy_1400
[] = {
765 { 0x0d, KEY_REFRESH
},
766 { 0x0e, KEY_SELECT
},
778 { 0x19, KEY_YELLOW
},
781 { 0x1b, KEY_CHANNELUP
},
782 { 0x1c, KEY_VOLUMEUP
},
784 { 0x1e, KEY_VOLUMEDOWN
},
785 { 0x1f, KEY_CHANNELDOWN
},
789 { 0x58, KEY_RECORD
},
790 { 0x54, KEY_PREVIOUS
},
795 struct ir_scancode_table ir_codes_cinergy_1400_table
= {
796 .scan
= ir_codes_cinergy_1400
,
797 .size
= ARRAY_SIZE(ir_codes_cinergy_1400
),
799 EXPORT_SYMBOL_GPL(ir_codes_cinergy_1400_table
);
801 /* ---------------------------------------------------------------------- */
803 /* AVERTV STUDIO 303 Remote */
804 static struct ir_scancode ir_codes_avertv_303
[] = {
824 { 0x16, KEY_SUBTITLE
},
825 { 0x1e, KEY_REWIND
},
828 { 0x2e, KEY_SEARCH
},
830 { 0x3e, KEY_SHUFFLE
},
833 { 0x4e, KEY_RECORD
},
840 { 0x66, KEY_YELLOW
},
849 struct ir_scancode_table ir_codes_avertv_303_table
= {
850 .scan
= ir_codes_avertv_303
,
851 .size
= ARRAY_SIZE(ir_codes_avertv_303
),
853 EXPORT_SYMBOL_GPL(ir_codes_avertv_303_table
);
855 /* ---------------------------------------------------------------------- */
857 /* DigitalNow DNTV Live! DVB-T Pro Remote */
858 static struct ir_scancode ir_codes_dntv_live_dvbt_pro
[] = {
862 { 0x55, KEY_TV
}, /* live tv */
863 { 0x58, KEY_TUNER
}, /* digital Radio */
864 { 0x5a, KEY_RADIO
}, /* FM radio */
865 { 0x59, KEY_DVD
}, /* dvd menu */
875 { 0x0c, KEY_CANCEL
},
885 { 0x1e, KEY_VOLUMEUP
},
886 { 0x0a, KEY_VOLUMEDOWN
},
887 { 0x02, KEY_CHANNELDOWN
},
888 { 0x05, KEY_CHANNELUP
},
889 { 0x11, KEY_RECORD
},
893 { 0x40, KEY_REWIND
},
894 { 0x12, KEY_FASTFORWARD
},
895 { 0x41, KEY_PREVIOUSSONG
}, /* replay |< */
896 { 0x42, KEY_NEXTSONG
}, /* skip >| */
897 { 0x54, KEY_CAMERA
}, /* capture */
898 { 0x50, KEY_LANGUAGE
}, /* sap */
899 { 0x47, KEY_TV2
}, /* pip */
900 { 0x4d, KEY_SCREEN
},
901 { 0x43, KEY_SUBTITLE
},
903 { 0x49, KEY_AUDIO
}, /* l/r */
905 { 0x08, KEY_VIDEO
}, /* a/v */
906 { 0x0e, KEY_PREVIOUS
}, /* recall */
907 { 0x45, KEY_ZOOM
}, /* zoom + */
908 { 0x46, KEY_ANGLE
}, /* zoom - */
911 { 0x5c, KEY_YELLOW
},
915 struct ir_scancode_table ir_codes_dntv_live_dvbt_pro_table
= {
916 .scan
= ir_codes_dntv_live_dvbt_pro
,
917 .size
= ARRAY_SIZE(ir_codes_dntv_live_dvbt_pro
),
919 EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvbt_pro_table
);
921 static struct ir_scancode ir_codes_em_terratec
[] = {
922 { 0x01, KEY_CHANNEL
},
923 { 0x02, KEY_SELECT
},
929 { 0x08, KEY_CHANNELUP
},
933 { 0x0c, KEY_CHANNELDOWN
},
937 { 0x10, KEY_VOLUMEUP
},
941 { 0x14, KEY_VOLUMEDOWN
},
943 { 0x18, KEY_RECORD
},
944 { 0x19, KEY_REWIND
},
946 { 0x1b, KEY_FORWARD
},
947 { 0x1c, KEY_BACKSPACE
},
952 struct ir_scancode_table ir_codes_em_terratec_table
= {
953 .scan
= ir_codes_em_terratec
,
954 .size
= ARRAY_SIZE(ir_codes_em_terratec
),
956 EXPORT_SYMBOL_GPL(ir_codes_em_terratec_table
);
958 static struct ir_scancode ir_codes_pinnacle_grey
[] = {
976 { 0x2d, KEY_SCREEN
},
978 { 0x1b, KEY_VOLUMEUP
},
979 { 0x0f, KEY_VOLUMEDOWN
},
980 { 0x17, KEY_CHANNELUP
},
981 { 0x1c, KEY_CHANNELDOWN
},
995 { 0x16, KEY_PREVIOUSSONG
},
996 { 0x13, KEY_NEXTSONG
},
998 { 0x0e, KEY_REWIND
},
1001 { 0x07, KEY_FORWARD
},
1002 { 0x27, KEY_RECORD
},
1003 { 0x26, KEY_TUNER
},
1005 { 0x2a, KEY_MEDIA
},
1009 struct ir_scancode_table ir_codes_pinnacle_grey_table
= {
1010 .scan
= ir_codes_pinnacle_grey
,
1011 .size
= ARRAY_SIZE(ir_codes_pinnacle_grey
),
1013 EXPORT_SYMBOL_GPL(ir_codes_pinnacle_grey_table
);
1015 static struct ir_scancode ir_codes_flyvideo
[] = {
1027 { 0x0e, KEY_MODE
}, /* Air/Cable */
1028 { 0x11, KEY_VIDEO
}, /* Video */
1029 { 0x15, KEY_AUDIO
}, /* Audio */
1030 { 0x00, KEY_POWER
}, /* Power */
1031 { 0x18, KEY_TUNER
}, /* AV Source */
1032 { 0x02, KEY_ZOOM
}, /* Fullscreen */
1033 { 0x1a, KEY_LANGUAGE
}, /* Stereo */
1034 { 0x1b, KEY_MUTE
}, /* Mute */
1035 { 0x14, KEY_VOLUMEUP
}, /* Volume + */
1036 { 0x17, KEY_VOLUMEDOWN
},/* Volume - */
1037 { 0x12, KEY_CHANNELUP
},/* Channel + */
1038 { 0x13, KEY_CHANNELDOWN
},/* Channel - */
1039 { 0x06, KEY_AGAIN
}, /* Recall */
1040 { 0x10, KEY_ENTER
}, /* Enter */
1042 { 0x19, KEY_BACK
}, /* Rewind ( <<< ) */
1043 { 0x1f, KEY_FORWARD
}, /* Forward ( >>> ) */
1044 { 0x0a, KEY_ANGLE
}, /* no label, may be used as the PAUSE button */
1047 struct ir_scancode_table ir_codes_flyvideo_table
= {
1048 .scan
= ir_codes_flyvideo
,
1049 .size
= ARRAY_SIZE(ir_codes_flyvideo
),
1051 EXPORT_SYMBOL_GPL(ir_codes_flyvideo_table
);
1053 static struct ir_scancode ir_codes_flydvb
[] = {
1054 { 0x01, KEY_ZOOM
}, /* Full Screen */
1055 { 0x00, KEY_POWER
}, /* Power */
1066 { 0x06, KEY_AGAIN
}, /* Recall */
1068 { 0x10, KEY_MUTE
}, /* Mute */
1069 { 0x02, KEY_RADIO
}, /* TV/Radio */
1070 { 0x1b, KEY_LANGUAGE
}, /* SAP (Second Audio Program) */
1072 { 0x14, KEY_VOLUMEUP
}, /* VOL+ */
1073 { 0x17, KEY_VOLUMEDOWN
}, /* VOL- */
1074 { 0x12, KEY_CHANNELUP
}, /* CH+ */
1075 { 0x13, KEY_CHANNELDOWN
}, /* CH- */
1076 { 0x1d, KEY_ENTER
}, /* Enter */
1078 { 0x1a, KEY_MODE
}, /* PIP */
1079 { 0x18, KEY_TUNER
}, /* Source */
1081 { 0x1e, KEY_RECORD
}, /* Record/Pause */
1082 { 0x15, KEY_ANGLE
}, /* Swap (no label on key) */
1083 { 0x1c, KEY_PAUSE
}, /* Timeshift/Pause */
1084 { 0x19, KEY_BACK
}, /* Rewind << */
1085 { 0x0a, KEY_PLAYPAUSE
}, /* Play/Pause */
1086 { 0x1f, KEY_FORWARD
}, /* Forward >> */
1087 { 0x16, KEY_PREVIOUS
}, /* Back |<< */
1088 { 0x11, KEY_STOP
}, /* Stop */
1089 { 0x0e, KEY_NEXT
}, /* End >>| */
1092 struct ir_scancode_table ir_codes_flydvb_table
= {
1093 .scan
= ir_codes_flydvb
,
1094 .size
= ARRAY_SIZE(ir_codes_flydvb
),
1096 EXPORT_SYMBOL_GPL(ir_codes_flydvb_table
);
1098 static struct ir_scancode ir_codes_cinergy
[] = {
1110 { 0x0a, KEY_POWER
},
1111 { 0x0b, KEY_PROG1
}, /* app */
1112 { 0x0c, KEY_ZOOM
}, /* zoom/fullscreen */
1113 { 0x0d, KEY_CHANNELUP
}, /* channel */
1114 { 0x0e, KEY_CHANNELDOWN
}, /* channel- */
1115 { 0x0f, KEY_VOLUMEUP
},
1116 { 0x10, KEY_VOLUMEDOWN
},
1117 { 0x11, KEY_TUNER
}, /* AV */
1118 { 0x12, KEY_NUMLOCK
}, /* -/-- */
1119 { 0x13, KEY_AUDIO
}, /* audio */
1124 { 0x18, KEY_RIGHT
},
1125 { 0x19, BTN_LEFT
, },
1126 { 0x1a, BTN_RIGHT
, },
1127 { 0x1b, KEY_WWW
}, /* text */
1128 { 0x1c, KEY_REWIND
},
1129 { 0x1d, KEY_FORWARD
},
1130 { 0x1e, KEY_RECORD
},
1132 { 0x20, KEY_PREVIOUSSONG
},
1133 { 0x21, KEY_NEXTSONG
},
1134 { 0x22, KEY_PAUSE
},
1138 struct ir_scancode_table ir_codes_cinergy_table
= {
1139 .scan
= ir_codes_cinergy
,
1140 .size
= ARRAY_SIZE(ir_codes_cinergy
),
1142 EXPORT_SYMBOL_GPL(ir_codes_cinergy_table
);
1144 /* Alfons Geser <a.geser@cox.net>
1145 * updates from Job D. R. Borges <jobdrb@ig.com.br> */
1146 static struct ir_scancode ir_codes_eztv
[] = {
1147 { 0x12, KEY_POWER
},
1148 { 0x01, KEY_TV
}, /* DVR */
1149 { 0x15, KEY_DVD
}, /* DVD */
1150 { 0x17, KEY_AUDIO
}, /* music */
1151 /* DVR mode / DVD mode / music mode */
1153 { 0x1b, KEY_MUTE
}, /* mute */
1154 { 0x02, KEY_LANGUAGE
}, /* MTS/SAP / audio / autoseek */
1155 { 0x1e, KEY_SUBTITLE
}, /* closed captioning / subtitle / seek */
1156 { 0x16, KEY_ZOOM
}, /* full screen */
1157 { 0x1c, KEY_VIDEO
}, /* video source / eject / delall */
1158 { 0x1d, KEY_RESTART
}, /* playback / angle / del */
1159 { 0x2f, KEY_SEARCH
}, /* scan / menu / playlist */
1160 { 0x30, KEY_CHANNEL
}, /* CH surfing / bookmark / memo */
1162 { 0x31, KEY_HELP
}, /* help */
1163 { 0x32, KEY_MODE
}, /* num/memo */
1164 { 0x33, KEY_ESC
}, /* cancel */
1166 { 0x0c, KEY_UP
}, /* up */
1167 { 0x10, KEY_DOWN
}, /* down */
1168 { 0x08, KEY_LEFT
}, /* left */
1169 { 0x04, KEY_RIGHT
}, /* right */
1170 { 0x03, KEY_SELECT
}, /* select */
1172 { 0x1f, KEY_REWIND
}, /* rewind */
1173 { 0x20, KEY_PLAYPAUSE
},/* play/pause */
1174 { 0x29, KEY_FORWARD
}, /* forward */
1175 { 0x14, KEY_AGAIN
}, /* repeat */
1176 { 0x2b, KEY_RECORD
}, /* recording */
1177 { 0x2c, KEY_STOP
}, /* stop */
1178 { 0x2d, KEY_PLAY
}, /* play */
1179 { 0x2e, KEY_CAMERA
}, /* snapshot / shuffle */
1192 { 0x2a, KEY_VOLUMEUP
},
1193 { 0x11, KEY_VOLUMEDOWN
},
1194 { 0x18, KEY_CHANNELUP
},/* CH.tracking up */
1195 { 0x19, KEY_CHANNELDOWN
},/* CH.tracking down */
1197 { 0x13, KEY_ENTER
}, /* enter */
1198 { 0x21, KEY_DOT
}, /* . (decimal dot) */
1201 struct ir_scancode_table ir_codes_eztv_table
= {
1202 .scan
= ir_codes_eztv
,
1203 .size
= ARRAY_SIZE(ir_codes_eztv
),
1205 EXPORT_SYMBOL_GPL(ir_codes_eztv_table
);
1207 /* Alex Hermann <gaaf@gmx.net> */
1208 static struct ir_scancode ir_codes_avermedia
[] = {
1220 { 0x20, KEY_TV
}, /* TV/FM */
1221 { 0x10, KEY_CD
}, /* CD */
1222 { 0x30, KEY_TEXT
}, /* TELETEXT */
1223 { 0x00, KEY_POWER
}, /* POWER */
1225 { 0x08, KEY_VIDEO
}, /* VIDEO */
1226 { 0x04, KEY_AUDIO
}, /* AUDIO */
1227 { 0x0c, KEY_ZOOM
}, /* FULL SCREEN */
1229 { 0x12, KEY_SUBTITLE
}, /* DISPLAY */
1230 { 0x32, KEY_REWIND
}, /* LOOP */
1231 { 0x02, KEY_PRINT
}, /* PREVIEW */
1233 { 0x2a, KEY_SEARCH
}, /* AUTOSCAN */
1234 { 0x1a, KEY_SLEEP
}, /* FREEZE */
1235 { 0x3a, KEY_CAMERA
}, /* SNAPSHOT */
1236 { 0x0a, KEY_MUTE
}, /* MUTE */
1238 { 0x26, KEY_RECORD
}, /* RECORD */
1239 { 0x16, KEY_PAUSE
}, /* PAUSE */
1240 { 0x36, KEY_STOP
}, /* STOP */
1241 { 0x06, KEY_PLAY
}, /* PLAY */
1243 { 0x2e, KEY_RED
}, /* RED */
1244 { 0x21, KEY_GREEN
}, /* GREEN */
1245 { 0x0e, KEY_YELLOW
}, /* YELLOW */
1246 { 0x01, KEY_BLUE
}, /* BLUE */
1248 { 0x1e, KEY_VOLUMEDOWN
}, /* VOLUME- */
1249 { 0x3e, KEY_VOLUMEUP
}, /* VOLUME+ */
1250 { 0x11, KEY_CHANNELDOWN
}, /* CHANNEL/PAGE- */
1251 { 0x31, KEY_CHANNELUP
} /* CHANNEL/PAGE+ */
1254 struct ir_scancode_table ir_codes_avermedia_table
= {
1255 .scan
= ir_codes_avermedia
,
1256 .size
= ARRAY_SIZE(ir_codes_avermedia
),
1258 EXPORT_SYMBOL_GPL(ir_codes_avermedia_table
);
1260 static struct ir_scancode ir_codes_videomate_tv_pvr
[] = {
1265 { 0x23, KEY_RADIO
},
1268 { 0x0a, KEY_REWIND
},
1269 { 0x08, KEY_PLAYPAUSE
},
1270 { 0x0f, KEY_FORWARD
},
1272 { 0x02, KEY_PREVIOUS
},
1279 { 0x0d, KEY_RIGHT
},
1283 { 0x09, KEY_SETUP
},
1284 { 0x05, KEY_VIDEO
},
1285 { 0x22, KEY_CHANNEL
},
1287 { 0x12, KEY_VOLUMEUP
},
1288 { 0x15, KEY_VOLUMEDOWN
},
1289 { 0x10, KEY_CHANNELUP
},
1290 { 0x13, KEY_CHANNELDOWN
},
1292 { 0x04, KEY_RECORD
},
1305 { 0x20, KEY_LANGUAGE
},
1306 { 0x21, KEY_SLEEP
},
1309 struct ir_scancode_table ir_codes_videomate_tv_pvr_table
= {
1310 .scan
= ir_codes_videomate_tv_pvr
,
1311 .size
= ARRAY_SIZE(ir_codes_videomate_tv_pvr
),
1313 EXPORT_SYMBOL_GPL(ir_codes_videomate_tv_pvr_table
);
1315 /* Michael Tokarev <mjt@tls.msk.ru>
1316 http://www.corpit.ru/mjt/beholdTV/remote_control.jpg
1317 keytable is used by MANLI MTV00[0x0c] and BeholdTV 40[13] at
1318 least, and probably other cards too.
1319 The "ascii-art picture" below (in comments, first row
1320 is the keycode in hex, and subsequent row(s) shows
1321 the button labels (several variants when appropriate)
1322 helps to descide which keycodes to assign to the buttons.
1324 static struct ir_scancode ir_codes_manli
[] = {
1330 { 0x1c, KEY_RADIO
}, /*XXX*/
1331 { 0x12, KEY_POWER
},
1356 { 0x0a, KEY_AGAIN
}, /*XXX KEY_REWIND? */
1358 { 0x17, KEY_DIGITS
}, /*XXX*/
1377 { 0x16, KEY_OK
}, /*XXX KEY_SELECT? KEY_ENTER? */
1378 { 0x0c, KEY_RIGHT
},
1385 { 0x11, KEY_TV
}, /*XXX*/
1386 { 0x0d, KEY_MODE
}, /*XXX there's no KEY_STEREO */
1389 * AUDIO Vol+ Chan+ *
1393 * SLEEP Vol- Chan- *
1395 { 0x0f, KEY_AUDIO
},
1396 { 0x1b, KEY_VOLUMEUP
},
1397 { 0x1a, KEY_CHANNELUP
},
1399 { 0x1f, KEY_VOLUMEDOWN
},
1400 { 0x1e, KEY_CHANNELDOWN
},
1406 { 0x19, KEY_CAMERA
},
1411 struct ir_scancode_table ir_codes_manli_table
= {
1412 .scan
= ir_codes_manli
,
1413 .size
= ARRAY_SIZE(ir_codes_manli
),
1415 EXPORT_SYMBOL_GPL(ir_codes_manli_table
);
1417 /* Mike Baikov <mike@baikov.com> */
1418 static struct ir_scancode ir_codes_gotview7135
[] = {
1420 { 0x11, KEY_POWER
},
1432 { 0x3b, KEY_AGAIN
}, /* LOOP */
1433 { 0x06, KEY_AUDIO
},
1434 { 0x31, KEY_PRINT
}, /* PREVIEW */
1435 { 0x3e, KEY_VIDEO
},
1436 { 0x10, KEY_CHANNELUP
},
1437 { 0x20, KEY_CHANNELDOWN
},
1438 { 0x0c, KEY_VOLUMEDOWN
},
1439 { 0x28, KEY_VOLUMEUP
},
1441 { 0x26, KEY_SEARCH
}, /* SCAN */
1442 { 0x3f, KEY_CAMERA
}, /* SNAPSHOT */
1443 { 0x12, KEY_RECORD
},
1446 { 0x1d, KEY_REWIND
},
1447 { 0x2d, KEY_PAUSE
},
1448 { 0x0d, KEY_FORWARD
},
1449 { 0x05, KEY_ZOOM
}, /*FULL*/
1451 { 0x2a, KEY_F21
}, /* LIVE TIMESHIFT */
1452 { 0x0e, KEY_F22
}, /* MIN TIMESHIFT */
1453 { 0x1e, KEY_TIME
}, /* TIMESHIFT */
1454 { 0x38, KEY_F24
}, /* NORMAL TIMESHIFT */
1457 struct ir_scancode_table ir_codes_gotview7135_table
= {
1458 .scan
= ir_codes_gotview7135
,
1459 .size
= ARRAY_SIZE(ir_codes_gotview7135
),
1461 EXPORT_SYMBOL_GPL(ir_codes_gotview7135_table
);
1463 static struct ir_scancode ir_codes_purpletv
[] = {
1464 { 0x03, KEY_POWER
},
1466 { 0x10, KEY_BACKSPACE
}, /* Recall */
1478 { 0x12, KEY_DOT
}, /* 100+ */
1480 { 0x07, KEY_VOLUMEUP
},
1481 { 0x0b, KEY_VOLUMEDOWN
},
1482 { 0x1a, KEY_KPPLUS
},
1483 { 0x18, KEY_KPMINUS
},
1486 { 0x0f, KEY_CHANNELUP
},
1487 { 0x13, KEY_CHANNELDOWN
},
1490 { 0x1b, KEY_VIDEO
}, /* Video source */
1491 { 0x1f, KEY_CAMERA
}, /* Snapshot */
1492 { 0x49, KEY_LANGUAGE
}, /* MTS Select */
1493 { 0x19, KEY_SEARCH
}, /* Auto Scan */
1495 { 0x4b, KEY_RECORD
},
1497 { 0x45, KEY_PAUSE
}, /* Pause */
1499 { 0x43, KEY_TIME
}, /* Time Shift */
1500 { 0x17, KEY_CHANNEL
}, /* SURF CH */
1501 { 0x40, KEY_FORWARD
}, /* Forward ? */
1502 { 0x42, KEY_REWIND
}, /* Backward ? */
1506 struct ir_scancode_table ir_codes_purpletv_table
= {
1507 .scan
= ir_codes_purpletv
,
1508 .size
= ARRAY_SIZE(ir_codes_purpletv
),
1510 EXPORT_SYMBOL_GPL(ir_codes_purpletv_table
);
1512 /* Mapping for the 28 key remote control as seen at
1513 http://www.sednacomputer.com/photo/cardbus-tv.jpg
1514 Pavel Mihaylov <bin@bash.info>
1515 Also for the remote bundled with Kozumi KTV-01C card */
1516 static struct ir_scancode ir_codes_pctv_sedna
[] = {
1528 { 0x0a, KEY_AGAIN
}, /* Recall */
1529 { 0x0b, KEY_CHANNELUP
},
1530 { 0x0c, KEY_VOLUMEUP
},
1531 { 0x0d, KEY_MODE
}, /* Stereo */
1533 { 0x0f, KEY_PREVIOUSSONG
},
1535 { 0x11, KEY_TUNER
}, /* Source */
1536 { 0x12, KEY_POWER
},
1538 { 0x15, KEY_CHANNELDOWN
},
1539 { 0x18, KEY_VOLUMEDOWN
},
1540 { 0x19, KEY_CAMERA
}, /* Snapshot */
1541 { 0x1a, KEY_NEXTSONG
},
1542 { 0x1b, KEY_TIME
}, /* Time Shift */
1543 { 0x1c, KEY_RADIO
}, /* FM Radio */
1544 { 0x1d, KEY_RECORD
},
1545 { 0x1e, KEY_PAUSE
},
1546 /* additional codes for Kozumi's remote */
1547 { 0x14, KEY_INFO
}, /* OSD */
1548 { 0x16, KEY_OK
}, /* OK */
1549 { 0x17, KEY_DIGITS
}, /* Plus */
1550 { 0x1f, KEY_PLAY
}, /* Play */
1553 struct ir_scancode_table ir_codes_pctv_sedna_table
= {
1554 .scan
= ir_codes_pctv_sedna
,
1555 .size
= ARRAY_SIZE(ir_codes_pctv_sedna
),
1557 EXPORT_SYMBOL_GPL(ir_codes_pctv_sedna_table
);
1559 /* Mark Phalan <phalanm@o2.ie> */
1560 static struct ir_scancode ir_codes_pv951
[] = {
1572 { 0x12, KEY_POWER
},
1574 { 0x1f, KEY_VOLUMEDOWN
},
1575 { 0x1b, KEY_VOLUMEUP
},
1576 { 0x1a, KEY_CHANNELUP
},
1577 { 0x1e, KEY_CHANNELDOWN
},
1578 { 0x0e, KEY_PAGEUP
},
1579 { 0x1d, KEY_PAGEDOWN
},
1580 { 0x13, KEY_SOUND
},
1582 { 0x18, KEY_KPPLUSMINUS
}, /* CH +/- */
1583 { 0x16, KEY_SUBTITLE
}, /* CC */
1584 { 0x0d, KEY_TEXT
}, /* TTX */
1585 { 0x0b, KEY_TV
}, /* AIR/CBL */
1586 { 0x11, KEY_PC
}, /* PC/TV */
1587 { 0x17, KEY_OK
}, /* CH RTN */
1588 { 0x19, KEY_MODE
}, /* FUNC */
1589 { 0x0c, KEY_SEARCH
}, /* AUTOSCAN */
1591 /* Not sure what to do with these ones! */
1592 { 0x0f, KEY_SELECT
}, /* SOURCE */
1593 { 0x0a, KEY_KPPLUS
}, /* +100 */
1594 { 0x14, KEY_EQUAL
}, /* SYNC */
1595 { 0x1c, KEY_MEDIA
}, /* PC/TV */
1598 struct ir_scancode_table ir_codes_pv951_table
= {
1599 .scan
= ir_codes_pv951
,
1600 .size
= ARRAY_SIZE(ir_codes_pv951
),
1602 EXPORT_SYMBOL_GPL(ir_codes_pv951_table
);
1604 /* generic RC5 keytable */
1605 /* see http://users.pandora.be/nenya/electronics/rc5/codes00.htm */
1606 /* used by old (black) Hauppauge remotes */
1607 static struct ir_scancode ir_codes_rc5_tv
[] = {
1620 { 0x0b, KEY_CHANNEL
}, /* channel / program (japan: 11) */
1621 { 0x0c, KEY_POWER
}, /* standby */
1622 { 0x0d, KEY_MUTE
}, /* mute / demute */
1623 { 0x0f, KEY_TV
}, /* display */
1624 { 0x10, KEY_VOLUMEUP
},
1625 { 0x11, KEY_VOLUMEDOWN
},
1626 { 0x12, KEY_BRIGHTNESSUP
},
1627 { 0x13, KEY_BRIGHTNESSDOWN
},
1628 { 0x1e, KEY_SEARCH
}, /* search + */
1629 { 0x20, KEY_CHANNELUP
}, /* channel / program + */
1630 { 0x21, KEY_CHANNELDOWN
}, /* channel / program - */
1631 { 0x22, KEY_CHANNEL
}, /* alt / channel */
1632 { 0x23, KEY_LANGUAGE
}, /* 1st / 2nd language */
1633 { 0x26, KEY_SLEEP
}, /* sleeptimer */
1634 { 0x2e, KEY_MENU
}, /* 2nd controls (USA: menu) */
1635 { 0x30, KEY_PAUSE
},
1636 { 0x32, KEY_REWIND
},
1640 { 0x37, KEY_RECORD
}, /* recording */
1641 { 0x3c, KEY_TEXT
}, /* teletext submode (Japan: 12) */
1642 { 0x3d, KEY_SUSPEND
}, /* system standby */
1646 struct ir_scancode_table ir_codes_rc5_tv_table
= {
1647 .scan
= ir_codes_rc5_tv
,
1648 .size
= ARRAY_SIZE(ir_codes_rc5_tv
),
1650 EXPORT_SYMBOL_GPL(ir_codes_rc5_tv_table
);
1652 /* Table for Leadtek Winfast Remote Controls - used by both bttv and cx88 */
1653 static struct ir_scancode ir_codes_winfast
[] = {
1666 { 0x00, KEY_POWER
},
1667 { 0x1b, KEY_AUDIO
}, /* Audio Source */
1668 { 0x02, KEY_TUNER
}, /* TV/FM, not on Y0400052 */
1669 { 0x1e, KEY_VIDEO
}, /* Video Source */
1670 { 0x16, KEY_INFO
}, /* Display information */
1671 { 0x04, KEY_VOLUMEUP
},
1672 { 0x08, KEY_VOLUMEDOWN
},
1673 { 0x0c, KEY_CHANNELUP
},
1674 { 0x10, KEY_CHANNELDOWN
},
1675 { 0x03, KEY_ZOOM
}, /* fullscreen */
1676 { 0x1f, KEY_TEXT
}, /* closed caption/teletext */
1677 { 0x20, KEY_SLEEP
},
1678 { 0x29, KEY_CLEAR
}, /* boss key */
1681 { 0x2c, KEY_GREEN
},
1682 { 0x2d, KEY_YELLOW
},
1684 { 0x18, KEY_KPPLUS
}, /* fine tune + , not on Y040052 */
1685 { 0x19, KEY_KPMINUS
}, /* fine tune - , not on Y040052 */
1686 { 0x2a, KEY_MEDIA
}, /* PIP (Picture in picture */
1688 { 0x13, KEY_ENTER
},
1689 { 0x11, KEY_LAST
}, /* Recall (last channel */
1690 { 0x22, KEY_PREVIOUS
},
1691 { 0x23, KEY_PLAYPAUSE
},
1693 { 0x25, KEY_TIME
}, /* Time Shifting */
1695 { 0x27, KEY_RECORD
},
1696 { 0x28, KEY_SAVE
}, /* Screenshot */
1698 { 0x30, KEY_CANCEL
},
1699 { 0x31, KEY_CHANNEL
}, /* Channel Surf */
1700 { 0x32, KEY_SUBTITLE
},
1701 { 0x33, KEY_LANGUAGE
},
1702 { 0x34, KEY_REWIND
},
1703 { 0x35, KEY_FASTFORWARD
},
1705 { 0x37, KEY_RADIO
}, /* FM */
1708 { 0x1a, KEY_MODE
}, /* change to MCE mode on Y04G0051 */
1709 { 0x3e, KEY_F21
}, /* MCE +VOL, on Y04G0033 */
1710 { 0x3a, KEY_F22
}, /* MCE -VOL, on Y04G0033 */
1711 { 0x3b, KEY_F23
}, /* MCE +CH, on Y04G0033 */
1712 { 0x3f, KEY_F24
} /* MCE -CH, on Y04G0033 */
1715 struct ir_scancode_table ir_codes_winfast_table
= {
1716 .scan
= ir_codes_winfast
,
1717 .size
= ARRAY_SIZE(ir_codes_winfast
),
1719 EXPORT_SYMBOL_GPL(ir_codes_winfast_table
);
1721 static struct ir_scancode ir_codes_pinnacle_color
[] = {
1723 { 0x4a, KEY_POWER
},
1727 { 0x3d, KEY_PRINT
},
1730 { 0x04, KEY_GREEN
},
1731 { 0x11, KEY_YELLOW
},
1734 { 0x2d, KEY_VOLUMEUP
},
1735 { 0x1e, KEY_VOLUMEDOWN
},
1739 { 0x16, KEY_CHANNELUP
},
1740 { 0x17, KEY_CHANNELDOWN
},
1745 { 0x23, KEY_RIGHT
},
1746 { 0x0d, KEY_SELECT
},
1749 { 0x07, KEY_REFRESH
},
1752 { 0x29, KEY_RECORD
},
1754 { 0x4b, KEY_PAUSE
},
1755 { 0x4d, KEY_REWIND
},
1757 { 0x4e, KEY_FORWARD
},
1758 { 0x53, KEY_PREVIOUS
},
1773 { 0x74, KEY_CHANNEL
},
1774 { 0x0a, KEY_BACKSPACE
},
1777 struct ir_scancode_table ir_codes_pinnacle_color_table
= {
1778 .scan
= ir_codes_pinnacle_color
,
1779 .size
= ARRAY_SIZE(ir_codes_pinnacle_color
),
1781 EXPORT_SYMBOL_GPL(ir_codes_pinnacle_color_table
);
1783 /* Hauppauge: the newer, gray remotes (seems there are multiple
1784 * slightly different versions), shipped with cx88+ivtv cards.
1785 * almost rc5 coding, but some non-standard keys */
1786 static struct ir_scancode ir_codes_hauppauge_new
[] = {
1799 { 0x0a, KEY_TEXT
}, /* keypad asterisk as well */
1800 { 0x0b, KEY_RED
}, /* red button */
1801 { 0x0c, KEY_RADIO
},
1803 { 0x0e, KEY_SUBTITLE
}, /* also the # key */
1805 { 0x10, KEY_VOLUMEUP
},
1806 { 0x11, KEY_VOLUMEDOWN
},
1807 { 0x12, KEY_PREVIOUS
}, /* previous channel */
1811 { 0x17, KEY_RIGHT
},
1812 { 0x18, KEY_VIDEO
}, /* Videos */
1813 { 0x19, KEY_AUDIO
}, /* Music */
1814 /* 0x1a: Pictures - presume this means
1815 "Multimedia Home Platform" -
1816 no "PICTURES" key in input.h
1820 { 0x1b, KEY_EPG
}, /* Guide */
1822 { 0x1e, KEY_NEXTSONG
}, /* skip >| */
1823 { 0x1f, KEY_EXIT
}, /* back/exit */
1824 { 0x20, KEY_CHANNELUP
}, /* channel / program + */
1825 { 0x21, KEY_CHANNELDOWN
}, /* channel / program - */
1826 { 0x22, KEY_CHANNEL
}, /* source (old black remote) */
1827 { 0x24, KEY_PREVIOUSSONG
}, /* replay |< */
1828 { 0x25, KEY_ENTER
}, /* OK */
1829 { 0x26, KEY_SLEEP
}, /* minimize (old black remote) */
1830 { 0x29, KEY_BLUE
}, /* blue key */
1831 { 0x2e, KEY_GREEN
}, /* green button */
1832 { 0x30, KEY_PAUSE
}, /* pause */
1833 { 0x32, KEY_REWIND
}, /* backward << */
1834 { 0x34, KEY_FASTFORWARD
}, /* forward >> */
1837 { 0x37, KEY_RECORD
}, /* recording */
1838 { 0x38, KEY_YELLOW
}, /* yellow key */
1839 { 0x3b, KEY_SELECT
}, /* top right button */
1840 { 0x3c, KEY_ZOOM
}, /* full */
1841 { 0x3d, KEY_POWER
}, /* system power (green button) */
1844 struct ir_scancode_table ir_codes_hauppauge_new_table
= {
1845 .scan
= ir_codes_hauppauge_new
,
1846 .size
= ARRAY_SIZE(ir_codes_hauppauge_new
),
1848 EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new_table
);
1850 static struct ir_scancode ir_codes_npgtech
[] = {
1851 { 0x1d, KEY_SWITCHVIDEOMODE
}, /* switch inputs */
1852 { 0x2a, KEY_FRONT
},
1864 { 0x22, KEY_NUMLOCK
}, /* -/-- */
1865 { 0x20, KEY_REFRESH
},
1867 { 0x03, KEY_BRIGHTNESSDOWN
},
1868 { 0x28, KEY_AUDIO
},
1869 { 0x3c, KEY_CHANNELUP
},
1870 { 0x3f, KEY_VOLUMEDOWN
},
1872 { 0x3b, KEY_VOLUMEUP
},
1873 { 0x00, KEY_CHANNELDOWN
},
1874 { 0x07, KEY_BRIGHTNESSUP
},
1877 { 0x37, KEY_RECORD
},
1879 { 0x13, KEY_PAUSE
},
1881 { 0x18, KEY_FASTFORWARD
},
1882 { 0x14, KEY_REWIND
},
1884 { 0x32, KEY_KEYBOARD
},
1885 { 0x30, KEY_GOTO
}, /* Pointing arrow */
1886 { 0x36, KEY_MACRO
}, /* Maximize/Minimize (yellow) */
1887 { 0x0b, KEY_RADIO
},
1888 { 0x10, KEY_POWER
},
1892 struct ir_scancode_table ir_codes_npgtech_table
= {
1893 .scan
= ir_codes_npgtech
,
1894 .size
= ARRAY_SIZE(ir_codes_npgtech
),
1896 EXPORT_SYMBOL_GPL(ir_codes_npgtech_table
);
1898 /* Norwood Micro (non-Pro) TV Tuner
1899 By Peter Naulls <peter@chocky.org>
1900 Key comments are the functions given in the manual */
1901 static struct ir_scancode ir_codes_norwood
[] = {
1914 { 0x78, KEY_TUNER
}, /* Video Source */
1915 { 0x2c, KEY_EXIT
}, /* Open/Close software */
1916 { 0x2a, KEY_SELECT
}, /* 2 Digit Select */
1917 { 0x69, KEY_AGAIN
}, /* Recall */
1919 { 0x32, KEY_BRIGHTNESSUP
}, /* Brightness increase */
1920 { 0x33, KEY_BRIGHTNESSDOWN
}, /* Brightness decrease */
1921 { 0x6b, KEY_KPPLUS
}, /* (not named >>>>>) */
1922 { 0x6c, KEY_KPMINUS
}, /* (not named <<<<<) */
1924 { 0x2d, KEY_MUTE
}, /* Mute */
1925 { 0x30, KEY_VOLUMEUP
}, /* Volume up */
1926 { 0x31, KEY_VOLUMEDOWN
}, /* Volume down */
1927 { 0x60, KEY_CHANNELUP
}, /* Channel up */
1928 { 0x61, KEY_CHANNELDOWN
}, /* Channel down */
1930 { 0x3f, KEY_RECORD
}, /* Record */
1931 { 0x37, KEY_PLAY
}, /* Play */
1932 { 0x36, KEY_PAUSE
}, /* Pause */
1933 { 0x2b, KEY_STOP
}, /* Stop */
1934 { 0x67, KEY_FASTFORWARD
}, /* Foward */
1935 { 0x66, KEY_REWIND
}, /* Rewind */
1936 { 0x3e, KEY_SEARCH
}, /* Auto Scan */
1937 { 0x2e, KEY_CAMERA
}, /* Capture Video */
1938 { 0x6d, KEY_MENU
}, /* Show/Hide Control */
1939 { 0x2f, KEY_ZOOM
}, /* Full Screen */
1940 { 0x34, KEY_RADIO
}, /* FM */
1941 { 0x65, KEY_POWER
}, /* Computer power */
1944 struct ir_scancode_table ir_codes_norwood_table
= {
1945 .scan
= ir_codes_norwood
,
1946 .size
= ARRAY_SIZE(ir_codes_norwood
),
1948 EXPORT_SYMBOL_GPL(ir_codes_norwood_table
);
1950 /* From reading the following remotes:
1951 * Zenith Universal 7 / TV Mode 807 / VCR Mode 837
1952 * Hauppauge (from NOVA-CI-s box product)
1953 * This is a "middle of the road" approach, differences are noted
1955 static struct ir_scancode ir_codes_budget_ci_old
[] = {
1966 { 0x0a, KEY_ENTER
},
1968 { 0x0c, KEY_POWER
}, /* RADIO on Hauppauge */
1970 { 0x0f, KEY_A
}, /* TV on Hauppauge */
1971 { 0x10, KEY_VOLUMEUP
},
1972 { 0x11, KEY_VOLUMEDOWN
},
1976 { 0x1e, KEY_OPTION
}, /* RESERVED on Hauppauge */
1977 { 0x1f, KEY_BREAK
},
1978 { 0x20, KEY_CHANNELUP
},
1979 { 0x21, KEY_CHANNELDOWN
},
1980 { 0x22, KEY_PREVIOUS
}, /* Prev Ch on Zenith, SOURCE on Hauppauge */
1981 { 0x24, KEY_RESTART
},
1983 { 0x26, KEY_CYCLEWINDOWS
}, /* MINIMIZE on Hauppauge */
1984 { 0x28, KEY_ENTER
}, /* VCR mode on Zenith */
1985 { 0x29, KEY_PAUSE
},
1986 { 0x2b, KEY_RIGHT
},
1988 { 0x2e, KEY_MENU
}, /* FULL SCREEN on Hauppauge */
1990 { 0x31, KEY_PREVIOUS
}, /* VCR mode on Zenith */
1991 { 0x32, KEY_REWIND
},
1992 { 0x34, KEY_FASTFORWARD
},
1995 { 0x37, KEY_RECORD
},
1996 { 0x38, KEY_TUNER
}, /* TV/VCR on Zenith */
1999 { 0x3d, KEY_POWER2
},
2000 { 0x3e, KEY_TUNER
},
2003 struct ir_scancode_table ir_codes_budget_ci_old_table
= {
2004 .scan
= ir_codes_budget_ci_old
,
2005 .size
= ARRAY_SIZE(ir_codes_budget_ci_old
),
2007 EXPORT_SYMBOL_GPL(ir_codes_budget_ci_old_table
);
2010 * Marc Fargas <telenieko@telenieko.com>
2011 * this is the remote control that comes with the asus p7131
2012 * which has a label saying is "Model PC-39"
2014 static struct ir_scancode ir_codes_asus_pc39
[] = {
2027 { 0x3e, KEY_RADIO
}, /* radio */
2028 { 0x03, KEY_MENU
}, /* dvd/menu */
2029 { 0x2a, KEY_VOLUMEUP
},
2030 { 0x19, KEY_VOLUMEDOWN
},
2034 { 0x2f, KEY_RIGHT
},
2035 { 0x25, KEY_VIDEO
}, /* video */
2036 { 0x39, KEY_AUDIO
}, /* music */
2038 { 0x21, KEY_TV
}, /* tv */
2039 { 0x1d, KEY_EXIT
}, /* back */
2040 { 0x0a, KEY_CHANNELUP
}, /* channel / program + */
2041 { 0x1b, KEY_CHANNELDOWN
}, /* channel / program - */
2042 { 0x1a, KEY_ENTER
}, /* enter */
2044 { 0x06, KEY_PAUSE
}, /* play/pause */
2045 { 0x1e, KEY_PREVIOUS
}, /* rew */
2046 { 0x26, KEY_NEXT
}, /* forward */
2047 { 0x0e, KEY_REWIND
}, /* backward << */
2048 { 0x3a, KEY_FASTFORWARD
}, /* forward >> */
2050 { 0x2e, KEY_RECORD
}, /* recording */
2051 { 0x16, KEY_POWER
}, /* the button that reads "close" */
2053 { 0x11, KEY_ZOOM
}, /* full screen */
2054 { 0x13, KEY_MACRO
}, /* recall */
2055 { 0x23, KEY_HOME
}, /* home */
2056 { 0x05, KEY_PVR
}, /* picture */
2057 { 0x3d, KEY_MUTE
}, /* mute */
2058 { 0x01, KEY_DVD
}, /* dvd */
2061 struct ir_scancode_table ir_codes_asus_pc39_table
= {
2062 .scan
= ir_codes_asus_pc39
,
2063 .size
= ARRAY_SIZE(ir_codes_asus_pc39
),
2065 EXPORT_SYMBOL_GPL(ir_codes_asus_pc39_table
);
2068 /* Encore ENLTV-FM - black plastic, white front cover with white glowing buttons
2069 Juan Pablo Sormani <sorman@gmail.com> */
2070 static struct ir_scancode ir_codes_encore_enltv
[] = {
2072 /* Power button does nothing, neither in Windows app,
2073 although it sends data (used for BIOS wakeup?) */
2077 { 0x00, KEY_VIDEO
},
2078 { 0x01, KEY_AUDIO
}, /* music */
2079 { 0x02, KEY_MHP
}, /* picture */
2092 { 0x09, KEY_LIST
}, /* -/-- */
2093 { 0x0b, KEY_LAST
}, /* recall */
2095 { 0x14, KEY_HOME
}, /* win start menu */
2096 { 0x15, KEY_EXIT
}, /* exit */
2097 { 0x16, KEY_CHANNELUP
}, /* UP */
2098 { 0x12, KEY_CHANNELDOWN
}, /* DOWN */
2099 { 0x0c, KEY_VOLUMEUP
}, /* RIGHT */
2100 { 0x17, KEY_VOLUMEDOWN
}, /* LEFT */
2102 { 0x18, KEY_ENTER
}, /* OK */
2105 { 0x13, KEY_CYCLEWINDOWS
}, /* desktop */
2107 { 0x19, KEY_SWITCHVIDEOMODE
}, /* switch */
2110 { 0x1b, KEY_ZOOM
}, /* fullscreen */
2111 { 0x44, KEY_TIME
}, /* time shift */
2112 { 0x40, KEY_MODE
}, /* source */
2114 { 0x5a, KEY_RECORD
},
2115 { 0x42, KEY_PLAY
}, /* play/pause */
2117 { 0x43, KEY_CAMERA
}, /* camera icon */
2119 { 0x48, KEY_REWIND
},
2120 { 0x4a, KEY_FASTFORWARD
},
2121 { 0x49, KEY_PREVIOUS
},
2124 { 0x4c, KEY_FAVORITES
}, /* tv wall */
2125 { 0x4d, KEY_SOUND
}, /* DVD sound */
2126 { 0x4e, KEY_LANGUAGE
}, /* DVD lang */
2127 { 0x4f, KEY_TEXT
}, /* DVD text */
2129 { 0x50, KEY_SLEEP
}, /* shutdown */
2130 { 0x51, KEY_MODE
}, /* stereo > main */
2131 { 0x52, KEY_SELECT
}, /* stereo > sap */
2132 { 0x53, KEY_PROG1
}, /* teletext */
2135 { 0x59, KEY_RED
}, /* AP1 */
2136 { 0x41, KEY_GREEN
}, /* AP2 */
2137 { 0x47, KEY_YELLOW
}, /* AP3 */
2138 { 0x57, KEY_BLUE
}, /* AP4 */
2141 struct ir_scancode_table ir_codes_encore_enltv_table
= {
2142 .scan
= ir_codes_encore_enltv
,
2143 .size
= ARRAY_SIZE(ir_codes_encore_enltv
),
2145 EXPORT_SYMBOL_GPL(ir_codes_encore_enltv_table
);
2147 /* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton
2148 Mauro Carvalho Chehab <mchehab@infradead.org> */
2149 static struct ir_scancode ir_codes_encore_enltv2
[] = {
2150 { 0x4c, KEY_POWER2
},
2151 { 0x4a, KEY_TUNER
},
2163 { 0x64, KEY_LAST
}, /* +100 */
2164 { 0x4e, KEY_AGAIN
}, /* Recall */
2166 { 0x6c, KEY_SWITCHVIDEOMODE
}, /* Video Source */
2168 { 0x56, KEY_SCREEN
},
2169 { 0x7a, KEY_SETUP
},
2172 { 0x5c, KEY_MODE
}, /* Stereo */
2174 { 0x7c, KEY_CLEAR
},
2179 { 0x59, KEY_RIGHT
},
2180 { 0x6a, KEY_ENTER
},
2182 { 0x42, KEY_VOLUMEUP
},
2183 { 0x62, KEY_VOLUMEDOWN
},
2184 { 0x52, KEY_CHANNELUP
},
2185 { 0x72, KEY_CHANNELDOWN
},
2187 { 0x41, KEY_RECORD
},
2188 { 0x51, KEY_CAMERA
}, /* Snapshot */
2189 { 0x75, KEY_TIME
}, /* Timeshift */
2190 { 0x71, KEY_TV2
}, /* PIP */
2192 { 0x45, KEY_REWIND
},
2193 { 0x6f, KEY_PAUSE
},
2194 { 0x7d, KEY_FORWARD
},
2198 struct ir_scancode_table ir_codes_encore_enltv2_table
= {
2199 .scan
= ir_codes_encore_enltv2
,
2200 .size
= ARRAY_SIZE(ir_codes_encore_enltv2
),
2202 EXPORT_SYMBOL_GPL(ir_codes_encore_enltv2_table
);
2204 /* for the Technotrend 1500 bundled remotes (grey and black): */
2205 static struct ir_scancode ir_codes_tt_1500
[] = {
2206 { 0x01, KEY_POWER
},
2207 { 0x02, KEY_SHUFFLE
}, /* ? double-arrow key */
2221 { 0x10, KEY_RIGHT
},
2226 { 0x15, KEY_GREEN
},
2227 { 0x16, KEY_YELLOW
},
2231 { 0x1a, KEY_MODE
}, /* ? TV/Radio */
2232 { 0x21, KEY_OPTION
},
2234 { 0x23, KEY_CHANNELUP
},
2235 { 0x24, KEY_CHANNELDOWN
},
2236 { 0x25, KEY_VOLUMEUP
},
2237 { 0x26, KEY_VOLUMEDOWN
},
2238 { 0x27, KEY_SETUP
},
2239 { 0x3a, KEY_RECORD
}, /* these keys are only in the black remote */
2242 { 0x3d, KEY_REWIND
},
2243 { 0x3e, KEY_PAUSE
},
2244 { 0x3f, KEY_FORWARD
},
2247 struct ir_scancode_table ir_codes_tt_1500_table
= {
2248 .scan
= ir_codes_tt_1500
,
2249 .size
= ARRAY_SIZE(ir_codes_tt_1500
),
2251 EXPORT_SYMBOL_GPL(ir_codes_tt_1500_table
);
2253 /* DViCO FUSION HDTV MCE remote */
2254 static struct ir_scancode ir_codes_fusionhdtv_mce
[] = {
2271 { 0x5f, KEY_RIGHT
},
2273 { 0x02, KEY_TV
}, /* Labeled DTV on remote */
2276 { 0x1e, KEY_FAVORITES
}, /* Labeled CPF on remote */
2277 { 0x16, KEY_SETUP
},
2278 { 0x46, KEY_POWER2
}, /* TV On/Off button on remote */
2279 { 0x0a, KEY_EPG
}, /* Labeled Guide on remote */
2282 { 0x59, KEY_INFO
}, /* Labeled MORE on remote */
2283 { 0x4d, KEY_MENU
}, /* Labeled DVDMENU on remote */
2284 { 0x55, KEY_CYCLEWINDOWS
}, /* Labeled ALT-TAB on remote */
2286 { 0x0f, KEY_PREVIOUSSONG
}, /* Labeled |<< REPLAY on remote */
2287 { 0x12, KEY_NEXTSONG
}, /* Labeled >>| SKIP on remote */
2288 { 0x42, KEY_ENTER
}, /* Labeled START with a green
2289 MS windows logo on remote */
2291 { 0x15, KEY_VOLUMEUP
},
2292 { 0x05, KEY_VOLUMEDOWN
},
2293 { 0x11, KEY_CHANNELUP
},
2294 { 0x09, KEY_CHANNELDOWN
},
2296 { 0x52, KEY_CAMERA
},
2297 { 0x5a, KEY_TUNER
},
2300 { 0x13, KEY_MODE
}, /* 4:3 16:9 select */
2303 { 0x43, KEY_REWIND
},
2304 { 0x47, KEY_PLAYPAUSE
},
2305 { 0x4f, KEY_FASTFORWARD
},
2308 { 0x01, KEY_RECORD
},
2309 { 0x4e, KEY_POWER
},
2312 struct ir_scancode_table ir_codes_fusionhdtv_mce_table
= {
2313 .scan
= ir_codes_fusionhdtv_mce
,
2314 .size
= ARRAY_SIZE(ir_codes_fusionhdtv_mce
),
2316 EXPORT_SYMBOL_GPL(ir_codes_fusionhdtv_mce_table
);
2318 /* Pinnacle PCTV HD 800i mini remote */
2319 static struct ir_scancode ir_codes_pinnacle_pctv_hd
[] = {
2333 { 0x2a, KEY_SUBTITLE
},
2336 { 0x01, KEY_ENTER
}, /* Pinnacle Logo */
2337 { 0x39, KEY_POWER
},
2339 { 0x03, KEY_VOLUMEUP
},
2340 { 0x09, KEY_VOLUMEDOWN
},
2341 { 0x06, KEY_CHANNELUP
},
2342 { 0x0c, KEY_CHANNELDOWN
},
2344 { 0x2d, KEY_REWIND
},
2345 { 0x30, KEY_PLAYPAUSE
},
2346 { 0x33, KEY_FASTFORWARD
},
2348 { 0x36, KEY_RECORD
},
2349 { 0x3f, KEY_EPG
}, /* Labeled "?" */
2352 struct ir_scancode_table ir_codes_pinnacle_pctv_hd_table
= {
2353 .scan
= ir_codes_pinnacle_pctv_hd
,
2354 .size
= ARRAY_SIZE(ir_codes_pinnacle_pctv_hd
),
2356 EXPORT_SYMBOL_GPL(ir_codes_pinnacle_pctv_hd_table
);
2359 * Igor Kuznetsov <igk72@ya.ru>
2360 * Andrey J. Melnikov <temnota@kmv.ru>
2362 * Keytable is used by BeholdTV 60x series, M6 series at
2363 * least, and probably other cards too.
2364 * The "ascii-art picture" below (in comments, first row
2365 * is the keycode in hex, and subsequent row(s) shows
2366 * the button labels (several variants when appropriate)
2367 * helps to descide which keycodes to assign to the buttons.
2369 static struct ir_scancode ir_codes_behold
[] = {
2374 { 0x1c, KEY_TUNER
}, /* XXX KEY_TV / KEY_RADIO */
2375 { 0x12, KEY_POWER
},
2399 { 0x0a, KEY_AGAIN
},
2404 * ASPECT FULLSCREEN *
2406 { 0x14, KEY_SCREEN
},
2418 { 0x0b, KEY_CHANNELUP
},
2419 { 0x18, KEY_VOLUMEDOWN
},
2420 { 0x16, KEY_OK
}, /* XXX KEY_ENTER */
2421 { 0x0c, KEY_VOLUMEUP
},
2422 { 0x15, KEY_CHANNELDOWN
},
2431 * RECORD PLAY/PAUSE STOP *
2434 *TELETEXT AUDIO SOURCE *
2437 { 0x0f, KEY_RECORD
},
2438 { 0x1b, KEY_PLAYPAUSE
},
2441 { 0x1f, KEY_RED
}, /*XXX KEY_AUDIO */
2442 { 0x1e, KEY_YELLOW
}, /*XXX KEY_SOURCE */
2445 * SLEEP PREVIEW DVB *
2448 { 0x1d, KEY_SLEEP
},
2449 { 0x13, KEY_GREEN
},
2450 { 0x19, KEY_BLUE
}, /* XXX KEY_SAT */
2456 { 0x5c, KEY_CAMERA
},
2460 struct ir_scancode_table ir_codes_behold_table
= {
2461 .scan
= ir_codes_behold
,
2462 .size
= ARRAY_SIZE(ir_codes_behold
),
2464 EXPORT_SYMBOL_GPL(ir_codes_behold_table
);
2466 /* Beholder Intl. Ltd. 2008
2467 * Dmitry Belimov d.belimov@google.com
2468 * Keytable is used by BeholdTV Columbus
2469 * The "ascii-art picture" below (in comments, first row
2470 * is the keycode in hex, and subsequent row(s) shows
2471 * the button labels (several variants when appropriate)
2472 * helps to descide which keycodes to assign to the buttons.
2474 static struct ir_scancode ir_codes_behold_columbus
[] = {
2476 /* 0x13 0x11 0x1C 0x12 *
2477 * Mute Source TV/FM Power *
2481 { 0x11, KEY_PROPS
},
2482 { 0x1C, KEY_TUNER
}, /* KEY_TV/KEY_RADIO */
2483 { 0x12, KEY_POWER
},
2485 /* 0x01 0x02 0x03 0x0D *
2488 * 0x04 0x05 0x06 0x19 *
2491 * 0x07 0x08 0x09 0x10 *
2497 { 0x0D, KEY_SETUP
}, /* Setup key */
2501 { 0x19, KEY_CAMERA
}, /* Snapshot key */
2507 /* 0x0A 0x00 0x0B 0x0C *
2508 * RECALL 0 ChannelUp VolumeUp *
2510 { 0x0A, KEY_AGAIN
},
2512 { 0x0B, KEY_CHANNELUP
},
2513 { 0x0C, KEY_VOLUMEUP
},
2515 /* 0x1B 0x1D 0x15 0x18 *
2516 * Timeshift Record ChannelDown VolumeDown *
2520 { 0x1D, KEY_RECORD
},
2521 { 0x15, KEY_CHANNELDOWN
},
2522 { 0x18, KEY_VOLUMEDOWN
},
2524 /* 0x0E 0x1E 0x0F 0x1A *
2525 * Stop Pause Previouse Next *
2529 { 0x1E, KEY_PAUSE
},
2530 { 0x0F, KEY_PREVIOUS
},
2535 struct ir_scancode_table ir_codes_behold_columbus_table
= {
2536 .scan
= ir_codes_behold_columbus
,
2537 .size
= ARRAY_SIZE(ir_codes_behold_columbus
),
2539 EXPORT_SYMBOL_GPL(ir_codes_behold_columbus_table
);
2542 * Remote control for the Genius TVGO A11MCE
2543 * Adrian Pardini <pardo.bsso@gmail.com>
2545 static struct ir_scancode ir_codes_genius_tvgo_a11mce
[] = {
2558 { 0x54, KEY_RECORD
}, /* recording */
2559 { 0x06, KEY_MUTE
}, /* mute */
2560 { 0x10, KEY_POWER
},
2561 { 0x40, KEY_LAST
}, /* recall */
2562 { 0x4c, KEY_CHANNELUP
}, /* channel / program + */
2563 { 0x00, KEY_CHANNELDOWN
}, /* channel / program - */
2564 { 0x0d, KEY_VOLUMEUP
},
2565 { 0x15, KEY_VOLUMEDOWN
},
2566 { 0x4d, KEY_OK
}, /* also labeled as Pause */
2567 { 0x1c, KEY_ZOOM
}, /* full screen and Stop*/
2568 { 0x02, KEY_MODE
}, /* AV Source or Rewind*/
2569 { 0x04, KEY_LIST
}, /* -/-- */
2570 /* small arrows above numbers */
2571 { 0x1a, KEY_NEXT
}, /* also Fast Forward */
2572 { 0x0e, KEY_PREVIOUS
}, /* also Rewind */
2573 /* these are in a rather non standard layout and have
2574 an alternate name written */
2575 { 0x1e, KEY_UP
}, /* Video Setting */
2576 { 0x0a, KEY_DOWN
}, /* Video Default */
2577 { 0x05, KEY_CAMERA
}, /* Snapshot */
2578 { 0x0c, KEY_RIGHT
}, /* Hide Panel */
2579 /* Four buttons without label */
2581 { 0x0b, KEY_GREEN
},
2582 { 0x13, KEY_YELLOW
},
2586 struct ir_scancode_table ir_codes_genius_tvgo_a11mce_table
= {
2587 .scan
= ir_codes_genius_tvgo_a11mce
,
2588 .size
= ARRAY_SIZE(ir_codes_genius_tvgo_a11mce
),
2590 EXPORT_SYMBOL_GPL(ir_codes_genius_tvgo_a11mce_table
);
2593 * Remote control for Powercolor Real Angel 330
2594 * Daniel Fraga <fragabr@gmail.com>
2596 static struct ir_scancode ir_codes_powercolor_real_angel
[] = {
2597 { 0x38, KEY_SWITCHVIDEOMODE
}, /* switch inputs */
2598 { 0x0c, KEY_MEDIA
}, /* Turn ON/OFF App */
2609 { 0x0a, KEY_DIGITS
}, /* single, double, tripple digit */
2610 { 0x29, KEY_PREVIOUS
}, /* previous channel */
2611 { 0x12, KEY_BRIGHTNESSUP
},
2612 { 0x13, KEY_BRIGHTNESSDOWN
},
2613 { 0x2b, KEY_MODE
}, /* stereo/mono */
2614 { 0x2c, KEY_TEXT
}, /* teletext */
2615 { 0x20, KEY_CHANNELUP
}, /* channel up */
2616 { 0x21, KEY_CHANNELDOWN
}, /* channel down */
2617 { 0x10, KEY_VOLUMEUP
}, /* volume up */
2618 { 0x11, KEY_VOLUMEDOWN
}, /* volume down */
2620 { 0x1f, KEY_RECORD
},
2622 { 0x16, KEY_PAUSE
},
2624 { 0x27, KEY_FASTFORWARD
},
2625 { 0x26, KEY_REWIND
},
2626 { 0x1e, KEY_SEARCH
}, /* autoscan */
2627 { 0x0e, KEY_CAMERA
}, /* snapshot */
2628 { 0x2d, KEY_SETUP
},
2629 { 0x0f, KEY_SCREEN
}, /* full screen */
2630 { 0x14, KEY_RADIO
}, /* FM radio */
2631 { 0x25, KEY_POWER
}, /* power */
2634 struct ir_scancode_table ir_codes_powercolor_real_angel_table
= {
2635 .scan
= ir_codes_powercolor_real_angel
,
2636 .size
= ARRAY_SIZE(ir_codes_powercolor_real_angel
),
2638 EXPORT_SYMBOL_GPL(ir_codes_powercolor_real_angel_table
);
2640 /* Kworld Plus TV Analog Lite PCI IR
2641 Mauro Carvalho Chehab <mchehab@infradead.org>
2643 static struct ir_scancode ir_codes_kworld_plus_tv_analog
[] = {
2644 { 0x0c, KEY_PROG1
}, /* Kworld key */
2645 { 0x16, KEY_CLOSECD
}, /* -> ) */
2646 { 0x1d, KEY_POWER2
},
2650 { 0x02, KEY_3
}, /* Two keys have the same code: 3 and left */
2651 { 0x03, KEY_4
}, /* Two keys have the same code: 3 and right */
2659 { 0x09, KEY_AGAIN
},
2664 { 0x0b, KEY_ENTER
},
2666 { 0x10, KEY_CHANNELUP
},
2667 { 0x11, KEY_CHANNELDOWN
},
2669 /* Couldn't map key left/key right since those
2670 conflict with '3' and '4' scancodes
2671 I dunno what the original driver does
2674 { 0x13, KEY_VOLUMEUP
},
2675 { 0x12, KEY_VOLUMEDOWN
},
2677 /* The lower part of the IR
2678 There are several duplicated keycodes there.
2679 Most of them conflict with digits.
2680 Add mappings just to the unused scancodes.
2681 Somehow, the original driver has a way to know,
2682 but this doesn't seem to be on some GPIO.
2683 Also, it is not related to the time between keyup
2686 { 0x19, KEY_TIME
}, /* Timeshift */
2688 { 0x1b, KEY_RECORD
},
2692 { 0x15, KEY_AUDIO
}, /* ((*)) */
2694 { 0x1c, KEY_CAMERA
}, /* snapshot */
2696 { 0x18, KEY_RED
}, /* B */
2697 { 0x23, KEY_GREEN
}, /* C */
2699 struct ir_scancode_table ir_codes_kworld_plus_tv_analog_table
= {
2700 .scan
= ir_codes_kworld_plus_tv_analog
,
2701 .size
= ARRAY_SIZE(ir_codes_kworld_plus_tv_analog
),
2703 EXPORT_SYMBOL_GPL(ir_codes_kworld_plus_tv_analog_table
);
2706 Mauro Carvalho Chehab <mchehab@infradead.org>
2708 static struct ir_scancode ir_codes_kaiomy
[] = {
2709 { 0x43, KEY_POWER2
},
2728 { 0x09, KEY_CHANNELUP
},
2729 { 0x07, KEY_CHANNELDOWN
},
2731 { 0x0e, KEY_VOLUMEUP
},
2732 { 0x13, KEY_VOLUMEDOWN
},
2737 { 0x14, KEY_RECORD
},
2749 { 0x1e, KEY_YELLOW
},
2752 struct ir_scancode_table ir_codes_kaiomy_table
= {
2753 .scan
= ir_codes_kaiomy
,
2754 .size
= ARRAY_SIZE(ir_codes_kaiomy
),
2756 EXPORT_SYMBOL_GPL(ir_codes_kaiomy_table
);
2758 static struct ir_scancode ir_codes_avermedia_a16d
[] = {
2770 { 0x12, KEY_SUBTITLE
},
2772 { 0x32, KEY_REWIND
},
2773 { 0x3a, KEY_SHUFFLE
},
2775 { 0x11, KEY_CHANNELDOWN
},
2776 { 0x31, KEY_CHANNELUP
},
2778 { 0x1e, KEY_VOLUMEDOWN
},
2779 { 0x3e, KEY_VOLUMEUP
},
2782 { 0x26, KEY_RECORD
},
2786 { 0x2e, KEY_REWIND
},
2787 { 0x0e, KEY_FASTFORWARD
},
2794 struct ir_scancode_table ir_codes_avermedia_a16d_table
= {
2795 .scan
= ir_codes_avermedia_a16d
,
2796 .size
= ARRAY_SIZE(ir_codes_avermedia_a16d
),
2798 EXPORT_SYMBOL_GPL(ir_codes_avermedia_a16d_table
);
2800 /* Encore ENLTV-FM v5.3
2801 Mauro Carvalho Chehab <mchehab@infradead.org>
2803 static struct ir_scancode ir_codes_encore_enltv_fm53
[] = {
2804 { 0x10, KEY_POWER2
},
2818 { 0x04, KEY_LIST
}, /* -/-- */
2819 { 0x40, KEY_LAST
}, /* recall */
2821 { 0x02, KEY_MODE
}, /* TV/AV */
2822 { 0x05, KEY_CAMERA
}, /* SNAPSHOT */
2824 { 0x4c, KEY_CHANNELUP
}, /* UP */
2825 { 0x00, KEY_CHANNELDOWN
}, /* DOWN */
2826 { 0x0d, KEY_VOLUMEUP
}, /* RIGHT */
2827 { 0x15, KEY_VOLUMEDOWN
}, /* LEFT */
2828 { 0x49, KEY_ENTER
}, /* OK */
2830 { 0x54, KEY_RECORD
},
2831 { 0x4d, KEY_PLAY
}, /* pause */
2833 { 0x1e, KEY_MENU
}, /* video setting */
2834 { 0x0e, KEY_RIGHT
}, /* <- */
2835 { 0x1a, KEY_LEFT
}, /* -> */
2837 { 0x0a, KEY_CLEAR
}, /* video default */
2838 { 0x0c, KEY_ZOOM
}, /* hide pannel */
2839 { 0x47, KEY_SLEEP
}, /* shutdown */
2841 struct ir_scancode_table ir_codes_encore_enltv_fm53_table
= {
2842 .scan
= ir_codes_encore_enltv_fm53
,
2843 .size
= ARRAY_SIZE(ir_codes_encore_enltv_fm53
),
2845 EXPORT_SYMBOL_GPL(ir_codes_encore_enltv_fm53_table
);
2847 /* Zogis Real Audio 220 - 32 keys IR */
2848 static struct ir_scancode ir_codes_real_audio_220_32_keys
[] = {
2850 { 0x12, KEY_POWER2
},
2863 { 0x0c, KEY_VOLUMEUP
},
2864 { 0x18, KEY_VOLUMEDOWN
},
2865 { 0x0b, KEY_CHANNELUP
},
2866 { 0x15, KEY_CHANNELDOWN
},
2869 { 0x11, KEY_LIST
}, /* Source */
2870 { 0x0d, KEY_AUDIO
}, /* stereo */
2872 { 0x0f, KEY_PREVIOUS
}, /* Prev */
2873 { 0x1b, KEY_TIME
}, /* Timeshift */
2874 { 0x1a, KEY_NEXT
}, /* Next */
2878 { 0x1e, KEY_PLAYPAUSE
}, /* Pause */
2880 { 0x1d, KEY_RECORD
},
2882 { 0x19, KEY_CAMERA
}, /* Snapshot */
2885 struct ir_scancode_table ir_codes_real_audio_220_32_keys_table
= {
2886 .scan
= ir_codes_real_audio_220_32_keys
,
2887 .size
= ARRAY_SIZE(ir_codes_real_audio_220_32_keys
),
2889 EXPORT_SYMBOL_GPL(ir_codes_real_audio_220_32_keys_table
);
2891 /* ATI TV Wonder HD 600 USB
2892 Devin Heitmueller <devin.heitmueller@gmail.com>
2894 static struct ir_scancode ir_codes_ati_tv_wonder_hd_600
[] = {
2895 { 0x00, KEY_RECORD
}, /* Row 1 */
2896 { 0x01, KEY_PLAYPAUSE
},
2899 { 0x04, KEY_PREVIOUS
}, /* Row 2 */
2900 { 0x05, KEY_REWIND
},
2901 { 0x06, KEY_FORWARD
},
2903 { 0x08, KEY_EPG
}, /* Row 3 */
2906 { 0x0b, KEY_CHANNELUP
},
2907 { 0x0c, KEY_BACK
}, /* Row 4 */
2910 { 0x0f, KEY_CHANNELDOWN
},
2911 { 0x10, KEY_LEFT
}, /* Row 5 */
2912 { 0x11, KEY_SELECT
},
2914 { 0x13, KEY_VOLUMEUP
},
2915 { 0x14, KEY_LAST
}, /* Row 6 */
2918 { 0x17, KEY_VOLUMEDOWN
},
2920 struct ir_scancode_table ir_codes_ati_tv_wonder_hd_600_table
= {
2921 .scan
= ir_codes_ati_tv_wonder_hd_600
,
2922 .size
= ARRAY_SIZE(ir_codes_ati_tv_wonder_hd_600
),
2924 EXPORT_SYMBOL_GPL(ir_codes_ati_tv_wonder_hd_600_table
);
2927 Igor M. Liplianin <liplianin@me.by>
2929 static struct ir_scancode ir_codes_dm1105_nec
[] = {
2930 { 0x0a, KEY_POWER2
}, /* power */
2931 { 0x0c, KEY_MUTE
}, /* mute */
2942 { 0x1c, KEY_CHANNELUP
}, /* ch+ */
2943 { 0x0f, KEY_CHANNELDOWN
}, /* ch- */
2944 { 0x1a, KEY_VOLUMEUP
}, /* vol+ */
2945 { 0x0e, KEY_VOLUMEDOWN
}, /* vol- */
2946 { 0x04, KEY_RECORD
}, /* rec */
2947 { 0x09, KEY_CHANNEL
}, /* fav */
2948 { 0x08, KEY_BACKSPACE
}, /* rewind */
2949 { 0x07, KEY_FASTFORWARD
}, /* fast */
2950 { 0x0b, KEY_PAUSE
}, /* pause */
2951 { 0x02, KEY_ESC
}, /* cancel */
2952 { 0x03, KEY_TAB
}, /* tab */
2953 { 0x00, KEY_UP
}, /* up */
2954 { 0x1f, KEY_ENTER
}, /* ok */
2955 { 0x01, KEY_DOWN
}, /* down */
2956 { 0x05, KEY_RECORD
}, /* cap */
2957 { 0x06, KEY_STOP
}, /* stop */
2958 { 0x40, KEY_ZOOM
}, /* full */
2959 { 0x1e, KEY_TV
}, /* tvmode */
2960 { 0x1b, KEY_B
}, /* recall */
2962 struct ir_scancode_table ir_codes_dm1105_nec_table
= {
2963 .scan
= ir_codes_dm1105_nec
,
2964 .size
= ARRAY_SIZE(ir_codes_dm1105_nec
),
2966 EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec_table
);
2968 static struct ir_scancode ir_codes_tevii_nec
[] = {
2969 { 0x0a, KEY_POWER2
},
2982 { 0x0f, KEY_VOLUMEDOWN
},
2985 { 0x04, KEY_RECORD
},
2986 { 0x09, KEY_VOLUMEUP
},
2987 { 0x08, KEY_CHANNELUP
},
2996 { 0x06, KEY_CHANNELDOWN
},
2997 { 0x40, KEY_PLAYPAUSE
},
2998 { 0x1e, KEY_REWIND
},
2999 { 0x1b, KEY_FAVORITES
},
3001 { 0x4d, KEY_FASTFORWARD
},
3006 { 0x45, KEY_SUBTITLE
},
3015 { 0x58, KEY_SWITCHVIDEOMODE
},
3017 struct ir_scancode_table ir_codes_tevii_nec_table
= {
3018 .scan
= ir_codes_tevii_nec
,
3019 .size
= ARRAY_SIZE(ir_codes_tevii_nec
),
3021 EXPORT_SYMBOL_GPL(ir_codes_tevii_nec_table
);
3023 static struct ir_scancode ir_codes_tbs_nec
[] = {
3024 { 0x04, KEY_POWER2
}, /*power*/
3025 { 0x14, KEY_MUTE
}, /*mute*/
3036 { 0x16, KEY_CHANNELUP
}, /*ch+*/
3037 { 0x11, KEY_CHANNELDOWN
},/*ch-*/
3038 { 0x13, KEY_VOLUMEUP
}, /*vol+*/
3039 { 0x0c, KEY_VOLUMEDOWN
},/*vol-*/
3040 { 0x03, KEY_RECORD
}, /*rec*/
3041 { 0x18, KEY_PAUSE
}, /*pause*/
3042 { 0x19, KEY_OK
}, /*ok*/
3043 { 0x1a, KEY_CAMERA
}, /* snapshot */
3048 { 0x15, KEY_FAVORITES
},
3049 { 0x17, KEY_SUBTITLE
},
3054 { 0x00, KEY_PREVIOUS
},
3057 struct ir_scancode_table ir_codes_tbs_nec_table
= {
3058 .scan
= ir_codes_tbs_nec
,
3059 .size
= ARRAY_SIZE(ir_codes_tbs_nec
),
3061 EXPORT_SYMBOL_GPL(ir_codes_tbs_nec_table
);
3063 /* Terratec Cinergy Hybrid T USB XS
3064 Devin Heitmueller <dheitmueller@linuxtv.org>
3066 static struct ir_scancode ir_codes_terratec_cinergy_xs
[] = {
3073 { 0x43, KEY_SUBTITLE
},
3081 { 0x45, KEY_DELETE
},
3096 { 0x4d, KEY_BACKSPACE
},
3097 { 0x1c, KEY_VOLUMEUP
},
3099 { 0x1b, KEY_CHANNELUP
},
3100 { 0x1e, KEY_VOLUMEDOWN
},
3102 { 0x1f, KEY_CHANNELDOWN
},
3105 { 0x19, KEY_YELLOW
},
3107 { 0x58, KEY_RECORD
},
3111 { 0x4e, KEY_REWIND
},
3112 { 0x4f, KEY_FASTFORWARD
},
3115 struct ir_scancode_table ir_codes_terratec_cinergy_xs_table
= {
3116 .scan
= ir_codes_terratec_cinergy_xs
,
3117 .size
= ARRAY_SIZE(ir_codes_terratec_cinergy_xs
),
3119 EXPORT_SYMBOL_GPL(ir_codes_terratec_cinergy_xs_table
);
3122 Devin Heitmueller <devin.heitmueller@gmail.com>
3124 static struct ir_scancode ir_codes_evga_indtube
[] = {
3126 { 0x02, KEY_MODE
}, /* TV */
3128 { 0x1a, KEY_CHANNELUP
},
3129 { 0x16, KEY_TV2
}, /* PIP */
3130 { 0x1d, KEY_VOLUMEUP
},
3131 { 0x05, KEY_CHANNELDOWN
},
3132 { 0x0f, KEY_PLAYPAUSE
},
3133 { 0x19, KEY_VOLUMEDOWN
},
3134 { 0x1c, KEY_REWIND
},
3135 { 0x0d, KEY_RECORD
},
3136 { 0x18, KEY_FORWARD
},
3137 { 0x1e, KEY_PREVIOUS
},
3140 { 0x13, KEY_CAMERA
},
3142 struct ir_scancode_table ir_codes_evga_indtube_table
= {
3143 .scan
= ir_codes_evga_indtube
,
3144 .size
= ARRAY_SIZE(ir_codes_evga_indtube
),
3146 EXPORT_SYMBOL_GPL(ir_codes_evga_indtube_table
);
3148 static struct ir_scancode ir_codes_videomate_s350
[] = {
3151 { 0x04, KEY_RECORD
},
3152 { 0x05, KEY_VIDEO
}, /* TV/Video */
3154 { 0x08, KEY_PLAYPAUSE
},
3155 { 0x0a, KEY_REWIND
},
3156 { 0x0f, KEY_FASTFORWARD
},
3157 { 0x10, KEY_CHANNELUP
},
3158 { 0x12, KEY_VOLUMEUP
},
3159 { 0x13, KEY_CHANNELDOWN
},
3161 { 0x15, KEY_VOLUMEDOWN
},
3174 { 0x25, KEY_LAST
}, /* Recall */
3175 { 0x26, KEY_SUBTITLE
}, /* CC */
3176 { 0x27, KEY_LANGUAGE
}, /* MTS */
3177 { 0x29, KEY_CHANNEL
}, /* SURF */
3180 { 0x2f, KEY_CAMERA
}, /* Snapshot */
3182 { 0x02, KEY_PREVIOUSSONG
},
3183 { 0x06, KEY_NEXTSONG
},
3186 { 0x22, KEY_BACKSPACE
},
3194 struct ir_scancode_table ir_codes_videomate_s350_table
= {
3195 .scan
= ir_codes_videomate_s350
,
3196 .size
= ARRAY_SIZE(ir_codes_videomate_s350
),
3198 EXPORT_SYMBOL_GPL(ir_codes_videomate_s350_table
);
3200 /* GADMEI UTV330+ RM008Z remote
3201 Shine Liu <shinel@foxmail.com>
3203 static struct ir_scancode ir_codes_gadmei_rm008z
[] = {
3204 { 0x14, KEY_POWER2
}, /* POWER OFF */
3205 { 0x0c, KEY_MUTE
}, /* MUTE */
3207 { 0x18, KEY_TV
}, /* TV */
3208 { 0x0e, KEY_VIDEO
}, /* AV */
3209 { 0x0b, KEY_AUDIO
}, /* SV */
3210 { 0x0f, KEY_RADIO
}, /* FM */
3222 { 0x0a, KEY_INFO
}, /* OSD */
3223 { 0x1c, KEY_BACKSPACE
}, /* LAST */
3225 { 0x0d, KEY_PLAY
}, /* PLAY */
3226 { 0x1e, KEY_CAMERA
}, /* SNAPSHOT */
3227 { 0x1a, KEY_RECORD
}, /* RECORD */
3228 { 0x17, KEY_STOP
}, /* STOP */
3230 { 0x1f, KEY_UP
}, /* UP */
3231 { 0x44, KEY_DOWN
}, /* DOWN */
3232 { 0x46, KEY_TAB
}, /* BACK */
3233 { 0x4a, KEY_ZOOM
}, /* FULLSECREEN */
3235 { 0x10, KEY_VOLUMEUP
}, /* VOLUMEUP */
3236 { 0x11, KEY_VOLUMEDOWN
}, /* VOLUMEDOWN */
3237 { 0x12, KEY_CHANNELUP
}, /* CHANNELUP */
3238 { 0x13, KEY_CHANNELDOWN
}, /* CHANNELDOWN */
3239 { 0x15, KEY_ENTER
}, /* OK */
3241 struct ir_scancode_table ir_codes_gadmei_rm008z_table
= {
3242 .scan
= ir_codes_gadmei_rm008z
,
3243 .size
= ARRAY_SIZE(ir_codes_gadmei_rm008z
),
3245 EXPORT_SYMBOL_GPL(ir_codes_gadmei_rm008z_table
);
3247 /*************************************************************
3248 * COMPLETE SCANCODE TABLES
3249 * Instead of just a partial scancode, the tables bellow
3250 * contains the complete scancode and the receiver protocol
3251 *************************************************************/
3254 * Hauppauge:the newer, gray remotes (seems there are multiple
3255 * slightly different versions), shipped with cx88+ivtv cards.
3257 * This table contains the complete RC5 code, instead of just the data part
3259 static struct ir_scancode ir_codes_rc5_hauppauge_new
[] = {
3272 { 0x1e0a, KEY_TEXT
}, /* keypad asterisk as well */
3273 { 0x1e0b, KEY_RED
}, /* red button */
3274 { 0x1e0c, KEY_RADIO
},
3275 { 0x1e0d, KEY_MENU
},
3276 { 0x1e0e, KEY_SUBTITLE
}, /* also the # key */
3277 { 0x1e0f, KEY_MUTE
},
3278 { 0x1e10, KEY_VOLUMEUP
},
3279 { 0x1e11, KEY_VOLUMEDOWN
},
3280 { 0x1e12, KEY_PREVIOUS
}, /* previous channel */
3282 { 0x1e15, KEY_DOWN
},
3283 { 0x1e16, KEY_LEFT
},
3284 { 0x1e17, KEY_RIGHT
},
3285 { 0x1e18, KEY_VIDEO
}, /* Videos */
3286 { 0x1e19, KEY_AUDIO
}, /* Music */
3287 /* 0x1e1a: Pictures - presume this means
3288 "Multimedia Home Platform" -
3289 no "PICTURES" key in input.h
3291 { 0x1e1a, KEY_MHP
},
3293 { 0x1e1b, KEY_EPG
}, /* Guide */
3295 { 0x1e1e, KEY_NEXTSONG
}, /* skip >| */
3296 { 0x1e1f, KEY_EXIT
}, /* back/exit */
3297 { 0x1e20, KEY_CHANNELUP
}, /* channel / program + */
3298 { 0x1e21, KEY_CHANNELDOWN
}, /* channel / program - */
3299 { 0x1e22, KEY_CHANNEL
}, /* source (old black remote) */
3300 { 0x1e24, KEY_PREVIOUSSONG
}, /* replay |< */
3301 { 0x1e25, KEY_ENTER
}, /* OK */
3302 { 0x1e26, KEY_SLEEP
}, /* minimize (old black remote) */
3303 { 0x1e29, KEY_BLUE
}, /* blue key */
3304 { 0x1e2e, KEY_GREEN
}, /* green button */
3305 { 0x1e30, KEY_PAUSE
}, /* pause */
3306 { 0x1e32, KEY_REWIND
}, /* backward << */
3307 { 0x1e34, KEY_FASTFORWARD
}, /* forward >> */
3308 { 0x1e35, KEY_PLAY
},
3309 { 0x1e36, KEY_STOP
},
3310 { 0x1e37, KEY_RECORD
}, /* recording */
3311 { 0x1e38, KEY_YELLOW
}, /* yellow key */
3312 { 0x1e3b, KEY_SELECT
}, /* top right button */
3313 { 0x1e3c, KEY_ZOOM
}, /* full */
3314 { 0x1e3d, KEY_POWER
}, /* system power (green button) */
3317 struct ir_scancode_table ir_codes_rc5_hauppauge_new_table
= {
3318 .scan
= ir_codes_rc5_hauppauge_new
,
3319 .size
= ARRAY_SIZE(ir_codes_rc5_hauppauge_new
),
3320 .ir_type
= IR_TYPE_RC5
,
3322 EXPORT_SYMBOL_GPL(ir_codes_rc5_hauppauge_new_table
);
3324 /* Terratec Cinergy Hybrid T USB XS FM
3325 Mauro Carvalho Chehab <mchehab@redhat.com>
3327 static struct ir_scancode ir_codes_nec_terratec_cinergy_xs
[] = {
3328 { 0x1441, KEY_HOME
},
3329 { 0x1401, KEY_POWER2
},
3331 { 0x1442, KEY_MENU
}, /* DVD menu */
3332 { 0x1443, KEY_SUBTITLE
},
3333 { 0x1444, KEY_TEXT
}, /* Teletext */
3334 { 0x1445, KEY_DELETE
},
3347 { 0x140b, KEY_TUNER
}, /* AV */
3348 { 0x140d, KEY_MODE
}, /* A.B */
3352 { 0x1449, KEY_VIDEO
},
3353 { 0x144a, KEY_RADIO
}, /* Music */
3354 { 0x144b, KEY_CAMERA
}, /* PIC */
3357 { 0x1411, KEY_LEFT
},
3359 { 0x1413, KEY_RIGHT
},
3360 { 0x1414, KEY_DOWN
},
3363 { 0x1416, KEY_INFO
},
3364 { 0x144d, KEY_BACKSPACE
},
3366 { 0x141c, KEY_VOLUMEUP
},
3367 { 0x141e, KEY_VOLUMEDOWN
},
3369 { 0x144c, KEY_PLAY
},
3370 { 0x141d, KEY_MUTE
},
3372 { 0x141b, KEY_CHANNELUP
},
3373 { 0x141f, KEY_CHANNELDOWN
},
3376 { 0x1418, KEY_GREEN
},
3377 { 0x1419, KEY_YELLOW
},
3378 { 0x141a, KEY_BLUE
},
3380 { 0x1458, KEY_RECORD
},
3381 { 0x1448, KEY_STOP
},
3382 { 0x1440, KEY_PAUSE
},
3384 { 0x1454, KEY_LAST
},
3385 { 0x144e, KEY_REWIND
},
3386 { 0x144f, KEY_FASTFORWARD
},
3387 { 0x145c, KEY_NEXT
},
3389 struct ir_scancode_table ir_codes_nec_terratec_cinergy_xs_table
= {
3390 .scan
= ir_codes_nec_terratec_cinergy_xs
,
3391 .size
= ARRAY_SIZE(ir_codes_nec_terratec_cinergy_xs
),
3392 .ir_type
= IR_TYPE_NEC
,
3394 EXPORT_SYMBOL_GPL(ir_codes_nec_terratec_cinergy_xs_table
);
3397 /* Leadtek Winfast TV USB II Deluxe remote
3398 Magnus Alm <magnus.alm@gmail.com>
3400 static struct ir_scancode ir_codes_winfast_usbii_deluxe
[] = {
3412 { 0x38, KEY_CAMERA
}, /* SNAPSHOT */
3413 { 0x37, KEY_RECORD
}, /* RECORD */
3414 { 0x35, KEY_TIME
}, /* TIMESHIFT */
3416 { 0x74, KEY_VOLUMEUP
}, /* VOLUMEUP */
3417 { 0x78, KEY_VOLUMEDOWN
}, /* VOLUMEDOWN */
3418 { 0x64, KEY_MUTE
}, /* MUTE */
3420 { 0x21, KEY_CHANNEL
}, /* SURF */
3421 { 0x7c, KEY_CHANNELUP
}, /* CHANNELUP */
3422 { 0x60, KEY_CHANNELDOWN
}, /* CHANNELDOWN */
3423 { 0x61, KEY_LAST
}, /* LAST CHANNEL (RECALL) */
3425 { 0x72, KEY_VIDEO
}, /* INPUT MODES (TV/FM) */
3427 { 0x70, KEY_POWER2
}, /* TV ON/OFF */
3429 { 0x39, KEY_CYCLEWINDOWS
}, /* MINIMIZE (BOSS) */
3430 { 0x3a, KEY_NEW
}, /* PIP */
3431 { 0x73, KEY_ZOOM
}, /* FULLSECREEN */
3433 { 0x66, KEY_INFO
}, /* OSD (DISPLAY) */
3435 { 0x31, KEY_DOT
}, /* '.' */
3436 { 0x63, KEY_ENTER
}, /* ENTER */
3439 struct ir_scancode_table ir_codes_winfast_usbii_deluxe_table
= {
3440 .scan
= ir_codes_winfast_usbii_deluxe
,
3441 .size
= ARRAY_SIZE(ir_codes_winfast_usbii_deluxe
),
3443 EXPORT_SYMBOL_GPL(ir_codes_winfast_usbii_deluxe_table
);
3447 static struct ir_scancode ir_codes_kworld_315u
[] = {
3448 { 0x6143, KEY_POWER
},
3449 { 0x6101, KEY_TUNER
}, /* source */
3450 { 0x610b, KEY_ZOOM
},
3451 { 0x6103, KEY_POWER2
}, /* shutdown */
3456 { 0x6109, KEY_CHANNELUP
},
3461 { 0x6107, KEY_CHANNELDOWN
},
3466 { 0x610e, KEY_VOLUMEUP
},
3468 { 0x6110, KEY_LAST
},
3470 { 0x6112, KEY_ENTER
},
3471 { 0x6113, KEY_VOLUMEDOWN
},
3473 { 0x6114, KEY_RECORD
},
3474 { 0x6115, KEY_STOP
},
3475 { 0x6116, KEY_PLAY
},
3476 { 0x6117, KEY_MUTE
},
3479 { 0x6119, KEY_DOWN
},
3480 { 0x611a, KEY_LEFT
},
3481 { 0x611b, KEY_RIGHT
},
3483 { 0x611c, KEY_RED
},
3484 { 0x611d, KEY_GREEN
},
3485 { 0x611e, KEY_YELLOW
},
3486 { 0x611f, KEY_BLUE
},
3489 struct ir_scancode_table ir_codes_kworld_315u_table
= {
3490 .scan
= ir_codes_kworld_315u
,
3491 .size
= ARRAY_SIZE(ir_codes_kworld_315u
),
3492 .ir_type
= IR_TYPE_NEC
,
3494 EXPORT_SYMBOL_GPL(ir_codes_kworld_315u_table
);