1 /* manli.h - Keytable for manli 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 /* Michael Tokarev <mjt@tls.msk.ru>
12 http://www.corpit.ru/mjt/beholdTV/remote_control.jpg
13 keytable is used by MANLI MTV00[0x0c] and BeholdTV 40[13] at
14 least, and probably other cards too.
15 The "ascii-art picture" below (in comments, first row
16 is the keycode in hex, and subsequent row(s) shows
17 the button labels (several variants when appropriate)
18 helps to descide which keycodes to assign to the buttons.
22 static struct ir_scancode manli[] = {
28 { 0x1c, KEY_RADIO }, /*XXX*/
54 { 0x0a, KEY_AGAIN }, /*XXX KEY_REWIND? */
56 { 0x17, KEY_DIGITS }, /*XXX*/
75 { 0x16, KEY_OK }, /*XXX KEY_SELECT? KEY_ENTER? */
83 { 0x11, KEY_TV }, /*XXX*/
84 { 0x0d, KEY_MODE }, /*XXX there's no KEY_STEREO */
94 { 0x1b, KEY_VOLUMEUP },
95 { 0x1a, KEY_CHANNELUP },
97 { 0x1f, KEY_VOLUMEDOWN },
98 { 0x1e, KEY_CHANNELDOWN },
104 { 0x19, KEY_CAMERA },
108 DEFINE_LEGACY_IR_KEYTABLE(manli);
110 DECLARE_IR_KEYTABLE(manli);