blob: 4afd1ebcf43de766ea8cf0ae6a8b5a3188811b0d
1 | #********************************************************************************************************* |
2 | #this file is configuration for each factory remote device |
3 | # work_mode 0 :software mode 1 :hardware mode |
4 | # repeat_enable 0 :disable repeat 1 :enable repeat |
5 | # |
6 | # factory_code each device has it's unique factory code. |
7 | # pattern:custom_code(16bit)+index_code(16bit) |
8 | # examble: 0xff000001 = 0xff00(custom cod) 0001 (index) |
9 | # |
10 | # release_delay unit:ms.release will report from kernel to user layer after this period of time |
11 | # from press or repeat triggered. |
12 | # |
13 | # debug_enable 0 :debug disable 1 :debug disable |
14 | # |
15 | # SW MODE: |
16 | # bit_count how many bits in each frame |
17 | # tw_leader_act time window for leader active |
18 | # tw_bit0 time window for bit0 time. |
19 | # tw_bit1 time window for bit1 time |
20 | # tw_repeat_leader time window for repeat leader |
21 | # REG |
22 | # reg_base_gen set value for PREG_IR_DEC_BASE_GEN |
23 | # reg_control set value for PREG_IR_DEC_CONTROL |
24 | # reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE |
25 | # reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE |
26 | # reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE |
27 | # reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME |
28 | #************************************************************************************************************* |
29 | #amlogic NEC remote |
30 | work_mode = 0 |
31 | repeat_enable = 1 |
32 | repeat_delay = 130 |
33 | repeat_peroid = 120 |
34 | release_delay = 20 |
35 | debug_enable = 1 |
36 | |
37 | fn_key_scancode = 0x15 |
38 | left_key_scancode = 0x1c |
39 | right_key_scancode = 0x48 |
40 | up_key_scancode = 0x44 |
41 | down_key_scancode = 0x1d |
42 | ok_key_scancode = 0x5c |
43 | pageup_key_scancode = 0x04 |
44 | pagedown_key_scancode = 0x1b |
45 | |
46 | custom_begin |
47 | factory_infcode = 0 |
48 | factory_code = 0xfb040001 |
49 | |
50 | mouse_begin |
51 | 0 0x1c |
52 | 1 0x48 |
53 | 2 0x44 |
54 | 3 0x1d |
55 | mouse_end |
56 | key_begin |
57 | 0x47 11 |
58 | 0x13 2 |
59 | 0x10 3 |
60 | 0x11 4 |
61 | 0x0F 5 |
62 | 0x0C 6 |
63 | 0x0D 7 |
64 | 0x0B 8 |
65 | 0x08 9 |
66 | 0x09 10 |
67 | 0x5C 97 |
68 | 0x51 61 |
69 | 0x50 62 |
70 | 0x40 63 |
71 | 0x4d 64 |
72 | 0x43 65 |
73 | 0x17 66 |
74 | 0x00 67 |
75 | 0x01 68 |
76 | 0x16 87 |
77 | 0x49 14 |
78 | 0x06 130 |
79 | 0x14 131 |
80 | 0x44 103 |
81 | 0x1D 108 |
82 | 0x1C 105 |
83 | 0x48 106 |
84 | 0x53 125 |
85 | 0x45 104 |
86 | 0x19 109 |
87 | 0x1f 102 |
88 | 0x52 119 |
89 | 0x05 122 |
90 | 0x59 123 |
91 | 0x1b 120 |
92 | 0x04 121 |
93 | 0x1A 116 |
94 | 0x0A 15 |
95 | 0x0e 113 |
96 | 0x15 63 |
97 | 0x1F 102 |
98 | 0x1e 132 |
99 | 0x07 133 |
100 | 0x12 134 |
101 | 0x54 135 |
102 | 0x02 136 |
103 | 0x4f 30 |
104 | 0x42 48 |
105 | 0x5d 46 |
106 | 0x4c 32 |
107 | 0x58 137 |
108 | 0x55 140 |
109 | key_end |
110 | repeat_key_begin |
111 | 0x47 11 |
112 | 0x13 2 |
113 | 0x10 3 |
114 | 0x11 4 |
115 | 0x0F 5 |
116 | 0x0C 6 |
117 | 0x0D 7 |
118 | 0x0B 8 |
119 | 0x08 9 |
120 | 0x09 10 |
121 | 0x5C 97 |
122 | 0x51 65 |
123 | 0x49 14 |
124 | 0x06 130 |
125 | 0x14 131 |
126 | 0x44 103 |
127 | 0x1D 108 |
128 | 0x1C 105 |
129 | 0x48 106 |
130 | 0x53 125 |
131 | 0x45 104 |
132 | 0x19 109 |
133 | 0x16 102 |
134 | 0x52 119 |
135 | 0x05 122 |
136 | 0x59 123 |
137 | 0x1b 120 |
138 | 0x04 121 |
139 | 0x1A 116 |
140 | 0x0A 15 |
141 | 0x0e 113 |
142 | 0x15 63 |
143 | 0x1F 102 |
144 | 0x1e 132 |
145 | 0x07 133 |
146 | 0x12 134 |
147 | 0x54 135 |
148 | 0x02 136 |
149 | 0x4f 30 |
150 | 0x42 48 |
151 | 0x5d 46 |
152 | 0x4c 32 |
153 | 0x58 137 |
154 | 0x55 140 |
155 | repeat_key_end |
156 | custom_end |
157 | |
158 | custom_begin |
159 | factory_infcode = 1 |
160 | factory_code = 0xbd020001 |
161 | key_begin |
162 | 0xca 103 |
163 | 0xd2 108 |
164 | 0x99 105 |
165 | 0xc1 106 |
166 | 0xce 97 |
167 | 0x45 116 |
168 | 0xc5 133 |
169 | 0x80 113 |
170 | 0xd0 15 |
171 | 0xd6 125 |
172 | 0x95 102 |
173 | 0xdd 104 |
174 | 0x8c 109 |
175 | 0x89 131 |
176 | 0x9c 130 |
177 | 0x9a 120 |
178 | 0xcd 121 |
179 | key_end |
180 | custom_end |
181 |