1 /* cinergy-1400.h - Keytable for cinergy_1400 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 /* Cinergy 1400 DVB-T */
18 static struct rc_map_table cinergy_1400
[] = {
32 { 0x0d, KEY_REFRESH
},
48 { 0x1b, KEY_CHANNELUP
},
49 { 0x1c, KEY_VOLUMEUP
},
51 { 0x1e, KEY_VOLUMEDOWN
},
52 { 0x1f, KEY_CHANNELDOWN
},
57 { 0x54, KEY_PREVIOUS
},
62 static struct rc_map_list cinergy_1400_map
= {
65 .size
= ARRAY_SIZE(cinergy_1400
),
66 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
67 .name
= RC_MAP_CINERGY_1400
,
71 static int __init
init_rc_map_cinergy_1400(void)
73 return rc_map_register(&cinergy_1400_map
);
76 static void __exit
exit_rc_map_cinergy_1400(void)
78 rc_map_unregister(&cinergy_1400_map
);
81 module_init(init_rc_map_cinergy_1400
)
82 module_exit(exit_rc_map_cinergy_1400
)
84 MODULE_LICENSE("GPL");
85 MODULE_AUTHOR("Mauro Carvalho Chehab");