1 /* evga-indtube.h - Keytable for evga_indtube Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab <mchehab@redhat.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>
14 #include <linux/module.h>
17 Devin Heitmueller <devin.heitmueller@gmail.com>
20 static struct rc_map_table evga_indtube
[] = {
22 { 0x02, KEY_MODE
}, /* TV */
24 { 0x1a, KEY_CHANNELUP
},
25 { 0x16, KEY_TV2
}, /* PIP */
26 { 0x1d, KEY_VOLUMEUP
},
27 { 0x05, KEY_CHANNELDOWN
},
28 { 0x0f, KEY_PLAYPAUSE
},
29 { 0x19, KEY_VOLUMEDOWN
},
33 { 0x1e, KEY_PREVIOUS
},
39 static struct rc_map_list evga_indtube_map
= {
42 .size
= ARRAY_SIZE(evga_indtube
),
43 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
44 .name
= RC_MAP_EVGA_INDTUBE
,
48 static int __init
init_rc_map_evga_indtube(void)
50 return rc_map_register(&evga_indtube_map
);
53 static void __exit
exit_rc_map_evga_indtube(void)
55 rc_map_unregister(&evga_indtube_map
);
58 module_init(init_rc_map_evga_indtube
)
59 module_exit(exit_rc_map_evga_indtube
)
61 MODULE_LICENSE("GPL");
62 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");