V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / kaiomy.h
1 /* kaiomy.h - Keytable for kaiomy 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 /* Kaiomy TVnPC U2
12    Mauro Carvalho Chehab <mchehab@infradead.org>
13  */
14
15 #ifdef IR_KEYMAPS
16 static struct ir_scancode kaiomy[] = {
17         { 0x43, KEY_POWER2},
18         { 0x01, KEY_LIST},
19         { 0x0b, KEY_ZOOM},
20         { 0x03, KEY_POWER},
21
22         { 0x04, KEY_1},
23         { 0x08, KEY_2},
24         { 0x02, KEY_3},
25
26         { 0x0f, KEY_4},
27         { 0x05, KEY_5},
28         { 0x06, KEY_6},
29
30         { 0x0c, KEY_7},
31         { 0x0d, KEY_8},
32         { 0x0a, KEY_9},
33
34         { 0x11, KEY_0},
35
36         { 0x09, KEY_CHANNELUP},
37         { 0x07, KEY_CHANNELDOWN},
38
39         { 0x0e, KEY_VOLUMEUP},
40         { 0x13, KEY_VOLUMEDOWN},
41
42         { 0x10, KEY_HOME},
43         { 0x12, KEY_ENTER},
44
45         { 0x14, KEY_RECORD},
46         { 0x15, KEY_STOP},
47         { 0x16, KEY_PLAY},
48         { 0x17, KEY_MUTE},
49
50         { 0x18, KEY_UP},
51         { 0x19, KEY_DOWN},
52         { 0x1a, KEY_LEFT},
53         { 0x1b, KEY_RIGHT},
54
55         { 0x1c, KEY_RED},
56         { 0x1d, KEY_GREEN},
57         { 0x1e, KEY_YELLOW},
58         { 0x1f, KEY_BLUE},
59 };
60 DEFINE_LEGACY_IR_KEYTABLE(kaiomy);
61 #else
62 DECLARE_IR_KEYTABLE(kaiomy);
63 #endif