1 /* encore-enltv-fm53.h - Keytable for encore_enltv_fm53 Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
13 #include <media/rc-map.h>
14 #include <linux/module.h>
16 /* Encore ENLTV-FM v5.3
17 Mauro Carvalho Chehab <mchehab@infradead.org>
20 static struct rc_map_table encore_enltv_fm53
[] = {
35 { 0x04, KEY_LIST
}, /* -/-- */
36 { 0x40, KEY_LAST
}, /* recall */
38 { 0x02, KEY_MODE
}, /* TV/AV */
39 { 0x05, KEY_CAMERA
}, /* SNAPSHOT */
41 { 0x4c, KEY_CHANNELUP
}, /* UP */
42 { 0x00, KEY_CHANNELDOWN
}, /* DOWN */
43 { 0x0d, KEY_VOLUMEUP
}, /* RIGHT */
44 { 0x15, KEY_VOLUMEDOWN
}, /* LEFT */
45 { 0x49, KEY_ENTER
}, /* OK */
48 { 0x4d, KEY_PLAY
}, /* pause */
50 { 0x1e, KEY_MENU
}, /* video setting */
51 { 0x0e, KEY_RIGHT
}, /* <- */
52 { 0x1a, KEY_LEFT
}, /* -> */
54 { 0x0a, KEY_CLEAR
}, /* video default */
55 { 0x0c, KEY_ZOOM
}, /* hide pannel */
56 { 0x47, KEY_SLEEP
}, /* shutdown */
59 static struct rc_map_list encore_enltv_fm53_map
= {
61 .scan
= encore_enltv_fm53
,
62 .size
= ARRAY_SIZE(encore_enltv_fm53
),
63 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
64 .name
= RC_MAP_ENCORE_ENLTV_FM53
,
68 static int __init
init_rc_map_encore_enltv_fm53(void)
70 return rc_map_register(&encore_enltv_fm53_map
);
73 static void __exit
exit_rc_map_encore_enltv_fm53(void)
75 rc_map_unregister(&encore_enltv_fm53_map
);
78 module_init(init_rc_map_encore_enltv_fm53
)
79 module_exit(exit_rc_map_encore_enltv_fm53
)
81 MODULE_LICENSE("GPL");
82 MODULE_AUTHOR("Mauro Carvalho Chehab");