PM / sleep: Asynchronous threads for suspend_noirq
[linux/fpc-iii.git] / drivers / media / rc / keymaps / rc-twinhan1027.c
blob509299b90c903b7e6b799ebcd1dcc31c2172d208
1 #include <media/rc-map.h>
2 #include <linux/module.h>
4 static struct rc_map_table twinhan_vp1027[] = {
5 { 0x16, KEY_POWER2 },
6 { 0x17, KEY_FAVORITES },
7 { 0x0f, KEY_TEXT },
8 { 0x48, KEY_INFO},
9 { 0x1c, KEY_EPG },
10 { 0x04, KEY_LIST },
12 { 0x03, KEY_1 },
13 { 0x01, KEY_2 },
14 { 0x06, KEY_3 },
15 { 0x09, KEY_4 },
16 { 0x1d, KEY_5 },
17 { 0x1f, KEY_6 },
18 { 0x0d, KEY_7 },
19 { 0x19, KEY_8 },
20 { 0x1b, KEY_9 },
21 { 0x15, KEY_0 },
23 { 0x0c, KEY_CANCEL },
24 { 0x4a, KEY_CLEAR },
25 { 0x13, KEY_BACKSPACE },
26 { 0x00, KEY_TAB },
28 { 0x4b, KEY_UP },
29 { 0x51, KEY_DOWN },
30 { 0x4e, KEY_LEFT },
31 { 0x52, KEY_RIGHT },
32 { 0x4f, KEY_ENTER },
34 { 0x1e, KEY_VOLUMEUP },
35 { 0x0a, KEY_VOLUMEDOWN },
36 { 0x02, KEY_CHANNELDOWN },
37 { 0x05, KEY_CHANNELUP },
38 { 0x11, KEY_RECORD },
40 { 0x14, KEY_PLAY },
41 { 0x4c, KEY_PAUSE },
42 { 0x1a, KEY_STOP },
43 { 0x40, KEY_REWIND },
44 { 0x12, KEY_FASTFORWARD },
45 { 0x41, KEY_PREVIOUSSONG },
46 { 0x42, KEY_NEXTSONG },
47 { 0x54, KEY_SAVE },
48 { 0x50, KEY_LANGUAGE },
49 { 0x47, KEY_MEDIA },
50 { 0x4d, KEY_SCREEN },
51 { 0x43, KEY_SUBTITLE },
52 { 0x10, KEY_MUTE },
53 { 0x49, KEY_AUDIO },
54 { 0x07, KEY_SLEEP },
55 { 0x08, KEY_VIDEO },
56 { 0x0e, KEY_AGAIN },
57 { 0x45, KEY_EQUAL },
58 { 0x46, KEY_MINUS },
59 { 0x18, KEY_RED },
60 { 0x53, KEY_GREEN },
61 { 0x5e, KEY_YELLOW },
62 { 0x5f, KEY_BLUE },
65 static struct rc_map_list twinhan_vp1027_map = {
66 .map = {
67 .scan = twinhan_vp1027,
68 .size = ARRAY_SIZE(twinhan_vp1027),
69 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
70 .name = RC_MAP_TWINHAN_VP1027_DVBS,
74 static int __init init_rc_map_twinhan_vp1027(void)
76 return rc_map_register(&twinhan_vp1027_map);
79 static void __exit exit_rc_map_twinhan_vp1027(void)
81 rc_map_unregister(&twinhan_vp1027_map);
84 module_init(init_rc_map_twinhan_vp1027)
85 module_exit(exit_rc_map_twinhan_vp1027)
87 MODULE_LICENSE("GPL");
88 MODULE_AUTHOR("Sergey Ivanov <123kash@gmail.com>");