1 /* rc-pixelview-mk12.h - Keytable for pixelview 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>
16 * Keytable for 002-T IR remote provided together with Pixelview
17 * SBTVD Hybrid Remote Controller. Uses NEC extended format.
19 static struct rc_map_table pixelview_002t
[] = {
20 { 0x866b13, KEY_MUTE
},
21 { 0x866b12, KEY_POWER2
}, /* power */
34 { 0x866b0d, KEY_CHANNELUP
},
35 { 0x866b19, KEY_CHANNELDOWN
},
36 { 0x866b10, KEY_VOLUMEUP
}, /* vol + */
37 { 0x866b0c, KEY_VOLUMEDOWN
}, /* vol - */
39 { 0x866b0a, KEY_CAMERA
}, /* snapshot */
40 { 0x866b0b, KEY_ZOOM
}, /* zoom */
42 { 0x866b1b, KEY_BACKSPACE
},
43 { 0x866b15, KEY_ENTER
},
46 { 0x866b1e, KEY_DOWN
},
47 { 0x866b0e, KEY_LEFT
},
48 { 0x866b0f, KEY_RIGHT
},
50 { 0x866b18, KEY_RECORD
},
51 { 0x866b1a, KEY_STOP
},
54 static struct rc_map_list pixelview_map
= {
56 .scan
= pixelview_002t
,
57 .size
= ARRAY_SIZE(pixelview_002t
),
58 .rc_type
= RC_TYPE_NEC
,
59 .name
= RC_MAP_PIXELVIEW_002T
,
63 static int __init
init_rc_map_pixelview(void)
65 return rc_map_register(&pixelview_map
);
68 static void __exit
exit_rc_map_pixelview(void)
70 rc_map_unregister(&pixelview_map
);
73 module_init(init_rc_map_pixelview
)
74 module_exit(exit_rc_map_pixelview
)
76 MODULE_LICENSE("GPL");
77 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");