1 /* nebula.h - Keytable for nebula 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>
15 static struct rc_map_table nebula
[] = {
30 { 0x0e, KEY_CAMERA
}, /* labelled 'Picture' */
33 { 0x11, KEY_F13
}, /* 16:9 */
34 { 0x12, KEY_F14
}, /* 14:9 */
43 { 0x1b, KEY_CHANNELUP
},
44 { 0x1c, KEY_CHANNELDOWN
},
45 { 0x1d, KEY_VOLUMEUP
},
46 { 0x1e, KEY_VOLUMEDOWN
},
51 { 0x23, KEY_SUBTITLE
},
52 { 0x24, KEY_F15
}, /* AD */
58 { 0x2a, KEY_FASTFORWARD
},
59 { 0x2b, KEY_F16
}, /* chapter */
63 { 0x2f, KEY_F17
}, /* picture in picture */
64 { 0x30, KEY_KPPLUS
}, /* zoom in */
65 { 0x31, KEY_KPMINUS
}, /* zoom out */
66 { 0x32, KEY_F18
}, /* capture */
67 { 0x33, KEY_F19
}, /* web */
73 static struct rc_map_list nebula_map
= {
76 .size
= ARRAY_SIZE(nebula
),
77 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
78 .name
= RC_MAP_NEBULA
,
82 static int __init
init_rc_map_nebula(void)
84 return rc_map_register(&nebula_map
);
87 static void __exit
exit_rc_map_nebula(void)
89 rc_map_unregister(&nebula_map
);
92 module_init(init_rc_map_nebula
)
93 module_exit(exit_rc_map_nebula
)
95 MODULE_LICENSE("GPL");
96 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");