1 /* gotview7135.h - Keytable for gotview7135 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 /* Mike Baikov <mike@baikov.com> */
17 static struct rc_map_table gotview7135
[] = {
31 { 0x3b, KEY_AGAIN
}, /* LOOP */
33 { 0x31, KEY_PRINT
}, /* PREVIEW */
35 { 0x10, KEY_CHANNELUP
},
36 { 0x20, KEY_CHANNELDOWN
},
37 { 0x0c, KEY_VOLUMEDOWN
},
38 { 0x28, KEY_VOLUMEUP
},
40 { 0x26, KEY_SEARCH
}, /* SCAN */
41 { 0x3f, KEY_CAMERA
}, /* SNAPSHOT */
47 { 0x0d, KEY_FORWARD
},
48 { 0x05, KEY_ZOOM
}, /*FULL*/
50 { 0x2a, KEY_F21
}, /* LIVE TIMESHIFT */
51 { 0x0e, KEY_F22
}, /* MIN TIMESHIFT */
52 { 0x1e, KEY_TIME
}, /* TIMESHIFT */
53 { 0x38, KEY_F24
}, /* NORMAL TIMESHIFT */
56 static struct rc_map_list gotview7135_map
= {
59 .size
= ARRAY_SIZE(gotview7135
),
60 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
61 .name
= RC_MAP_GOTVIEW7135
,
65 static int __init
init_rc_map_gotview7135(void)
67 return rc_map_register(&gotview7135_map
);
70 static void __exit
exit_rc_map_gotview7135(void)
72 rc_map_unregister(&gotview7135_map
);
75 module_init(init_rc_map_gotview7135
)
76 module_exit(exit_rc_map_gotview7135
)
78 MODULE_LICENSE("GPL");
79 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");