1 /* gotview7135.h - Keytable for gotview7135 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>
16 /* Mike Baikov <mike@baikov.com> */
18 static struct rc_map_table gotview7135[] = {
32 { 0x3b, KEY_AGAIN }, /* LOOP */
34 { 0x31, KEY_PRINT }, /* PREVIEW */
36 { 0x10, KEY_CHANNELUP },
37 { 0x20, KEY_CHANNELDOWN },
38 { 0x0c, KEY_VOLUMEDOWN },
39 { 0x28, KEY_VOLUMEUP },
41 { 0x26, KEY_SEARCH }, /* SCAN */
42 { 0x3f, KEY_CAMERA }, /* SNAPSHOT */
48 { 0x0d, KEY_FORWARD },
49 { 0x05, KEY_ZOOM }, /*FULL*/
51 { 0x2a, KEY_F21 }, /* LIVE TIMESHIFT */
52 { 0x0e, KEY_F22 }, /* MIN TIMESHIFT */
53 { 0x1e, KEY_TIME }, /* TIMESHIFT */
54 { 0x38, KEY_F24 }, /* NORMAL TIMESHIFT */
57 static struct rc_map_list gotview7135_map = {
60 .size = ARRAY_SIZE(gotview7135),
61 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
62 .name = RC_MAP_GOTVIEW7135,
66 static int __init init_rc_map_gotview7135(void)
68 return rc_map_register(&gotview7135_map);
71 static void __exit exit_rc_map_gotview7135(void)
73 rc_map_unregister(&gotview7135_map);
76 module_init(init_rc_map_gotview7135)
77 module_exit(exit_rc_map_gotview7135)
79 MODULE_LICENSE("GPL");
80 MODULE_AUTHOR("Mauro Carvalho Chehab");