This source file includes following definitions.
- init_rc_map_encore_enltv_fm53
- exit_rc_map_encore_enltv_fm53
1
2
3
4
5
6
7
8 #include <media/rc-map.h>
9 #include <linux/module.h>
10
11
12
13
14
15 static struct rc_map_table encore_enltv_fm53[] = {
16 { 0x10, KEY_POWER2},
17 { 0x06, KEY_MUTE},
18
19 { 0x09, KEY_NUMERIC_1},
20 { 0x1d, KEY_NUMERIC_2},
21 { 0x1f, KEY_NUMERIC_3},
22 { 0x19, KEY_NUMERIC_4},
23 { 0x1b, KEY_NUMERIC_5},
24 { 0x11, KEY_NUMERIC_6},
25 { 0x17, KEY_NUMERIC_7},
26 { 0x12, KEY_NUMERIC_8},
27 { 0x16, KEY_NUMERIC_9},
28 { 0x48, KEY_NUMERIC_0},
29
30 { 0x04, KEY_LIST},
31 { 0x40, KEY_LAST},
32
33 { 0x02, KEY_MODE},
34 { 0x05, KEY_CAMERA},
35
36 { 0x4c, KEY_CHANNELUP},
37 { 0x00, KEY_CHANNELDOWN},
38 { 0x0d, KEY_VOLUMEUP},
39 { 0x15, KEY_VOLUMEDOWN},
40 { 0x49, KEY_ENTER},
41
42 { 0x54, KEY_RECORD},
43 { 0x4d, KEY_PLAY},
44
45 { 0x1e, KEY_MENU},
46 { 0x0e, KEY_RIGHT},
47 { 0x1a, KEY_LEFT},
48
49 { 0x0a, KEY_CLEAR},
50 { 0x0c, KEY_ZOOM},
51 { 0x47, KEY_SLEEP},
52 };
53
54 static struct rc_map_list encore_enltv_fm53_map = {
55 .map = {
56 .scan = encore_enltv_fm53,
57 .size = ARRAY_SIZE(encore_enltv_fm53),
58 .rc_proto = RC_PROTO_UNKNOWN,
59 .name = RC_MAP_ENCORE_ENLTV_FM53,
60 }
61 };
62
63 static int __init init_rc_map_encore_enltv_fm53(void)
64 {
65 return rc_map_register(&encore_enltv_fm53_map);
66 }
67
68 static void __exit exit_rc_map_encore_enltv_fm53(void)
69 {
70 rc_map_unregister(&encore_enltv_fm53_map);
71 }
72
73 module_init(init_rc_map_encore_enltv_fm53)
74 module_exit(exit_rc_map_encore_enltv_fm53)
75
76 MODULE_LICENSE("GPL");
77 MODULE_AUTHOR("Mauro Carvalho Chehab");