1 /* pixelview-new.h - Keytable for pixelview_new 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>
17 Mauro Carvalho Chehab <mchehab@infradead.org>
18 present on PV MPEG 8000GT
21 static struct rc_map_table pixelview_new
[] = {
22 { 0x3c, KEY_TIME
}, /* Timeshift */
36 { 0x1c, KEY_AGAIN
}, /* LOOP */
37 { 0x3f, KEY_VIDEO
}, /* Source */
38 { 0x1f, KEY_LAST
}, /* +100 */
41 { 0x17, KEY_CHANNELDOWN
},
42 { 0x16, KEY_CHANNELUP
},
43 { 0x10, KEY_VOLUMEUP
},
44 { 0x14, KEY_VOLUMEDOWN
},
47 { 0x19, KEY_CAMERA
}, /* SNAPSHOT */
48 { 0x1a, KEY_SEARCH
}, /* scan */
50 { 0x37, KEY_REWIND
}, /* << */
51 { 0x32, KEY_RECORD
}, /* o (red) */
52 { 0x33, KEY_FORWARD
}, /* >> */
53 { 0x11, KEY_STOP
}, /* square */
54 { 0x3b, KEY_PLAY
}, /* > */
55 { 0x30, KEY_PLAYPAUSE
}, /* || */
61 static struct rc_map_list pixelview_new_map
= {
63 .scan
= pixelview_new
,
64 .size
= ARRAY_SIZE(pixelview_new
),
65 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
66 .name
= RC_MAP_PIXELVIEW_NEW
,
70 static int __init
init_rc_map_pixelview_new(void)
72 return rc_map_register(&pixelview_new_map
);
75 static void __exit
exit_rc_map_pixelview_new(void)
77 rc_map_unregister(&pixelview_new_map
);
80 module_init(init_rc_map_pixelview_new
)
81 module_exit(exit_rc_map_pixelview_new
)
83 MODULE_LICENSE("GPL");
84 MODULE_AUTHOR("Mauro Carvalho Chehab");