ath9k: fix a tx rate duration calculation bug
[linux/fpc-iii.git] / drivers / media / rc / keymaps / rc-avertv-303.c
blob14f78451e64e2a3bf6c0ed5e477709b0acc875df
1 /* avertv-303.h - Keytable for avertv_303 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>
14 #include <linux/module.h>
16 /* AVERTV STUDIO 303 Remote */
18 static struct rc_map_table avertv_303[] = {
19 { 0x2a, KEY_1 },
20 { 0x32, KEY_2 },
21 { 0x3a, KEY_3 },
22 { 0x4a, KEY_4 },
23 { 0x52, KEY_5 },
24 { 0x5a, KEY_6 },
25 { 0x6a, KEY_7 },
26 { 0x72, KEY_8 },
27 { 0x7a, KEY_9 },
28 { 0x0e, KEY_0 },
30 { 0x02, KEY_POWER },
31 { 0x22, KEY_VIDEO },
32 { 0x42, KEY_AUDIO },
33 { 0x62, KEY_ZOOM },
34 { 0x0a, KEY_TV },
35 { 0x12, KEY_CD },
36 { 0x1a, KEY_TEXT },
38 { 0x16, KEY_SUBTITLE },
39 { 0x1e, KEY_REWIND },
40 { 0x06, KEY_PRINT },
42 { 0x2e, KEY_SEARCH },
43 { 0x36, KEY_SLEEP },
44 { 0x3e, KEY_SHUFFLE },
45 { 0x26, KEY_MUTE },
47 { 0x4e, KEY_RECORD },
48 { 0x56, KEY_PAUSE },
49 { 0x5e, KEY_STOP },
50 { 0x46, KEY_PLAY },
52 { 0x6e, KEY_RED },
53 { 0x0b, KEY_GREEN },
54 { 0x66, KEY_YELLOW },
55 { 0x03, KEY_BLUE },
57 { 0x76, KEY_LEFT },
58 { 0x7e, KEY_RIGHT },
59 { 0x13, KEY_DOWN },
60 { 0x1b, KEY_UP },
63 static struct rc_map_list avertv_303_map = {
64 .map = {
65 .scan = avertv_303,
66 .size = ARRAY_SIZE(avertv_303),
67 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
68 .name = RC_MAP_AVERTV_303,
72 static int __init init_rc_map_avertv_303(void)
74 return rc_map_register(&avertv_303_map);
77 static void __exit exit_rc_map_avertv_303(void)
79 rc_map_unregister(&avertv_303_map);
82 module_init(init_rc_map_avertv_303)
83 module_exit(exit_rc_map_avertv_303)
85 MODULE_LICENSE("GPL");
86 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");