Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
media
rc
keymaps
rc-avertv-303.c
Go to the documentation of this file.
1
/* avertv-303.h - Keytable for avertv_303 Remote Controller
2
*
3
* keymap imported from ir-keymaps.c
4
*
5
* Copyright (c) 2010 by Mauro Carvalho Chehab <
[email protected]
>
6
*
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.
11
*/
12
13
#include <
media/rc-map.h
>
14
#include <linux/module.h>
15
16
/* AVERTV STUDIO 303 Remote */
17
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
},
29
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
},
37
38
{ 0x16,
KEY_SUBTITLE
},
39
{ 0x1e,
KEY_REWIND
},
40
{ 0x06,
KEY_PRINT
},
41
42
{ 0x2e,
KEY_SEARCH
},
43
{ 0x36,
KEY_SLEEP
},
44
{ 0x3e,
KEY_SHUFFLE
},
45
{ 0x26,
KEY_MUTE
},
46
47
{ 0x4e,
KEY_RECORD
},
48
{ 0x56,
KEY_PAUSE
},
49
{ 0x5e,
KEY_STOP
},
50
{ 0x46,
KEY_PLAY
},
51
52
{ 0x6e,
KEY_RED
},
53
{ 0x0b,
KEY_GREEN
},
54
{ 0x66,
KEY_YELLOW
},
55
{ 0x03,
KEY_BLUE
},
56
57
{ 0x76,
KEY_LEFT
},
58
{ 0x7e,
KEY_RIGHT
},
59
{ 0x13,
KEY_DOWN
},
60
{ 0x1b,
KEY_UP
},
61
};
62
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
,
69
}
70
};
71
72
static
int
__init
init_rc_map_avertv_303(
void
)
73
{
74
return
rc_map_register
(&avertv_303_map);
75
}
76
77
static
void
__exit
exit_rc_map_avertv_303(
void
)
78
{
79
rc_map_unregister
(&avertv_303_map);
80
}
81
82
module_init
(init_rc_map_avertv_303)
83
module_exit
(exit_rc_map_avertv_303)
84
85
MODULE_LICENSE
("GPL");
86
MODULE_AUTHOR
("Mauro Carvalho Chehab <
[email protected]
>");
Generated on Thu Jan 10 2013 13:50:24 for Linux Kernel by
1.8.2