1 /* rc5-tv.h - Keytable for rc5_tv 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 /* generic RC5 keytable */
12 /* see http://users.pandora.be/nenya/electronics/rc5/codes00.htm */
13 /* used by old (black) Hauppauge remotes */
16 static struct ir_scancode rc5_tv[] = {
29 { 0x0b, KEY_CHANNEL }, /* channel / program (japan: 11) */
30 { 0x0c, KEY_POWER }, /* standby */
31 { 0x0d, KEY_MUTE }, /* mute / demute */
32 { 0x0f, KEY_TV }, /* display */
33 { 0x10, KEY_VOLUMEUP },
34 { 0x11, KEY_VOLUMEDOWN },
35 { 0x12, KEY_BRIGHTNESSUP },
36 { 0x13, KEY_BRIGHTNESSDOWN },
37 { 0x1e, KEY_SEARCH }, /* search + */
38 { 0x20, KEY_CHANNELUP }, /* channel / program + */
39 { 0x21, KEY_CHANNELDOWN }, /* channel / program - */
40 { 0x22, KEY_CHANNEL }, /* alt / channel */
41 { 0x23, KEY_LANGUAGE }, /* 1st / 2nd language */
42 { 0x26, KEY_SLEEP }, /* sleeptimer */
43 { 0x2e, KEY_MENU }, /* 2nd controls (USA: menu) */
49 { 0x37, KEY_RECORD }, /* recording */
50 { 0x3c, KEY_TEXT }, /* teletext submode (Japan: 12) */
51 { 0x3d, KEY_SUSPEND }, /* system standby */
54 DEFINE_LEGACY_IR_KEYTABLE(rc5_tv);
56 DECLARE_IR_KEYTABLE(rc5_tv);