V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / winfast-usbii-deluxe.h
1 /* winfast-usbii-deluxe.h - Keytable for winfast_usbii_deluxe Remote Controller
2  *
3  * Imported from ir-keymaps.c
4  *
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.
9  */
10
11 /* Leadtek Winfast TV USB II Deluxe remote
12    Magnus Alm <magnus.alm@gmail.com>
13  */
14
15 #ifdef IR_KEYMAPS
16 static struct ir_scancode winfast_usbii_deluxe[] = {
17         { 0x62, KEY_0},
18         { 0x75, KEY_1},
19         { 0x76, KEY_2},
20         { 0x77, KEY_3},
21         { 0x79, KEY_4},
22         { 0x7a, KEY_5},
23         { 0x7b, KEY_6},
24         { 0x7d, KEY_7},
25         { 0x7e, KEY_8},
26         { 0x7f, KEY_9},
27
28         { 0x38, KEY_CAMERA},            /* SNAPSHOT */
29         { 0x37, KEY_RECORD},            /* RECORD */
30         { 0x35, KEY_TIME},              /* TIMESHIFT */
31
32         { 0x74, KEY_VOLUMEUP},          /* VOLUMEUP */
33         { 0x78, KEY_VOLUMEDOWN},        /* VOLUMEDOWN */
34         { 0x64, KEY_MUTE},              /* MUTE */
35
36         { 0x21, KEY_CHANNEL},           /* SURF */
37         { 0x7c, KEY_CHANNELUP},         /* CHANNELUP */
38         { 0x60, KEY_CHANNELDOWN},       /* CHANNELDOWN */
39         { 0x61, KEY_LAST},              /* LAST CHANNEL (RECALL) */
40
41         { 0x72, KEY_VIDEO},             /* INPUT MODES (TV/FM) */
42
43         { 0x70, KEY_POWER2},            /* TV ON/OFF */
44
45         { 0x39, KEY_CYCLEWINDOWS},      /* MINIMIZE (BOSS) */
46         { 0x3a, KEY_NEW},               /* PIP */
47         { 0x73, KEY_ZOOM},              /* FULLSECREEN */
48
49         { 0x66, KEY_INFO},              /* OSD (DISPLAY) */
50
51         { 0x31, KEY_DOT},               /* '.' */
52         { 0x63, KEY_ENTER},             /* ENTER */
53
54 };
55 DEFINE_LEGACY_IR_KEYTABLE(winfast_usbii_deluxe);
56 #else
57 DECLARE_IR_KEYTABLE(winfast_usbii_deluxe);
58 #endif