1 /* videomate-m1f.h - Keytable for videomate_m1f Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Pavel Osnova <pvosnova@gmail.com>
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>
15 static struct rc_map_table videomate_m1f
[] = {
21 { 0x2d, KEY_NEW
}, /* TV record button */
22 { 0x17, KEY_CYCLEWINDOWS
},
24 { 0x2b, KEY_LANGUAGE
},
25 { 0x32, KEY_SEARCH
}, /* '...' button */
31 { 0x16, KEY_BACKSPACE
},
32 { 0x02, KEY_ZOOM
}, /* WIN key */
34 { 0x05, KEY_VOLUMEUP
},
36 { 0x07, KEY_CHANNELUP
},
37 { 0x06, KEY_VOLUMEDOWN
},
38 { 0x08, KEY_CHANNELDOWN
},
43 { 0x09, KEY_FORWARD
},
44 { 0x10, KEY_PREVIOUS
},
56 { 0x2a, KEY_NUMERIC_STAR
}, /* * key */
58 { 0x29, KEY_SUBTITLE
}, /* # key */
69 static struct rc_map_list videomate_m1f_map
= {
71 .scan
= videomate_m1f
,
72 .size
= ARRAY_SIZE(videomate_m1f
),
73 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
74 .name
= RC_MAP_VIDEOMATE_M1F
,
78 static int __init
init_rc_map_videomate_m1f(void)
80 return rc_map_register(&videomate_m1f_map
);
83 static void __exit
exit_rc_map_videomate_m1f(void)
85 rc_map_unregister(&videomate_m1f_map
);
88 module_init(init_rc_map_videomate_m1f
)
89 module_exit(exit_rc_map_videomate_m1f
)
91 MODULE_LICENSE("GPL");
92 MODULE_AUTHOR("Pavel Osnova <pvosnova@gmail.com>");