V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / encore-enltv-fm53.h
1 /* encore-enltv-fm53.h - Keytable for encore_enltv_fm53 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 /* Encore ENLTV-FM v5.3
12    Mauro Carvalho Chehab <mchehab@infradead.org>
13  */
14
15 #ifdef IR_KEYMAPS
16 static struct ir_scancode encore_enltv_fm53[] = {
17         { 0x10, KEY_POWER2},
18         { 0x06, KEY_MUTE},
19
20         { 0x09, KEY_1},
21         { 0x1d, KEY_2},
22         { 0x1f, KEY_3},
23         { 0x19, KEY_4},
24         { 0x1b, KEY_5},
25         { 0x11, KEY_6},
26         { 0x17, KEY_7},
27         { 0x12, KEY_8},
28         { 0x16, KEY_9},
29         { 0x48, KEY_0},
30
31         { 0x04, KEY_LIST},              /* -/-- */
32         { 0x40, KEY_LAST},              /* recall */
33
34         { 0x02, KEY_MODE},              /* TV/AV */
35         { 0x05, KEY_CAMERA},            /* SNAPSHOT */
36
37         { 0x4c, KEY_CHANNELUP},         /* UP */
38         { 0x00, KEY_CHANNELDOWN},       /* DOWN */
39         { 0x0d, KEY_VOLUMEUP},          /* RIGHT */
40         { 0x15, KEY_VOLUMEDOWN},        /* LEFT */
41         { 0x49, KEY_ENTER},             /* OK */
42
43         { 0x54, KEY_RECORD},
44         { 0x4d, KEY_PLAY},              /* pause */
45
46         { 0x1e, KEY_MENU},              /* video setting */
47         { 0x0e, KEY_RIGHT},             /* <- */
48         { 0x1a, KEY_LEFT},              /* -> */
49
50         { 0x0a, KEY_CLEAR},             /* video default */
51         { 0x0c, KEY_ZOOM},              /* hide pannel */
52         { 0x47, KEY_SLEEP},             /* shutdown */
53 };
54 DEFINE_LEGACY_IR_KEYTABLE(encore_enltv_fm53);
55 #else
56 DECLARE_IR_KEYTABLE(encore_enltv_fm53);
57 #endif