1 /* hauppauge-new.h - Keytable for hauppauge_new Remote Controller
3 * Imported from ir-keymaps.c
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.
11 /* Hauppauge: the newer, gray remotes (seems there are multiple
12 * slightly different versions), shipped with cx88+ivtv cards.
13 * almost rc5 coding, but some non-standard keys */
16 static struct ir_scancode hauppauge_new[] = {
29 { 0x0a, KEY_TEXT }, /* keypad asterisk as well */
30 { 0x0b, KEY_RED }, /* red button */
33 { 0x0e, KEY_SUBTITLE }, /* also the # key */
35 { 0x10, KEY_VOLUMEUP },
36 { 0x11, KEY_VOLUMEDOWN },
37 { 0x12, KEY_PREVIOUS }, /* previous channel */
42 { 0x18, KEY_VIDEO }, /* Videos */
43 { 0x19, KEY_AUDIO }, /* Music */
44 /* 0x1a: Pictures - presume this means
45 "Multimedia Home Platform" -
46 no "PICTURES" key in input.h
50 { 0x1b, KEY_EPG }, /* Guide */
52 { 0x1e, KEY_NEXTSONG }, /* skip >| */
53 { 0x1f, KEY_EXIT }, /* back/exit */
54 { 0x20, KEY_CHANNELUP }, /* channel / program + */
55 { 0x21, KEY_CHANNELDOWN }, /* channel / program - */
56 { 0x22, KEY_CHANNEL }, /* source (old black remote) */
57 { 0x24, KEY_PREVIOUSSONG }, /* replay |< */
58 { 0x25, KEY_ENTER }, /* OK */
59 { 0x26, KEY_SLEEP }, /* minimize (old black remote) */
60 { 0x29, KEY_BLUE }, /* blue key */
61 { 0x2e, KEY_GREEN }, /* green button */
62 { 0x30, KEY_PAUSE }, /* pause */
63 { 0x32, KEY_REWIND }, /* backward << */
64 { 0x34, KEY_FASTFORWARD }, /* forward >> */
67 { 0x37, KEY_RECORD }, /* recording */
68 { 0x38, KEY_YELLOW }, /* yellow key */
69 { 0x3b, KEY_SELECT }, /* top right button */
70 { 0x3c, KEY_ZOOM }, /* full */
71 { 0x3d, KEY_POWER }, /* system power (green button) */
73 DEFINE_LEGACY_IR_KEYTABLE(hauppauge_new);
75 DECLARE_IR_KEYTABLE(hauppauge_new);