1 /* behold.h - Keytable for behold 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.
12 * Igor Kuznetsov <igk72@ya.ru>
13 * Andrey J. Melnikov <temnota@kmv.ru>
15 * Keytable is used by BeholdTV 60x series, M6 series at
16 * least, and probably other cards too.
17 * The "ascii-art picture" below (in comments, first row
18 * is the keycode in hex, and subsequent row(s) shows
19 * the button labels (several variants when appropriate)
20 * helps to descide which keycodes to assign to the buttons.
24 static struct ir_scancode behold[] = {
29 { 0x1c, KEY_TUNER }, /* XXX KEY_TV / KEY_RADIO */
73 { 0x0b, KEY_CHANNELUP },
74 { 0x18, KEY_VOLUMEDOWN },
75 { 0x16, KEY_OK }, /* XXX KEY_ENTER */
76 { 0x0c, KEY_VOLUMEUP },
77 { 0x15, KEY_CHANNELDOWN },
86 * RECORD PLAY/PAUSE STOP *
89 *TELETEXT AUDIO SOURCE *
93 { 0x1b, KEY_PLAYPAUSE },
96 { 0x1f, KEY_RED }, /*XXX KEY_AUDIO */
97 { 0x1e, KEY_YELLOW }, /*XXX KEY_SOURCE */
100 * SLEEP PREVIEW DVB *
105 { 0x19, KEY_BLUE }, /* XXX KEY_SAT */
111 { 0x5c, KEY_CAMERA },
114 DEFINE_LEGACY_IR_KEYTABLE(behold);
116 DECLARE_IR_KEYTABLE(behold);