hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-medion-x10-or2x.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Medion X10 OR22/OR24 RF remote keytable
34 *
....@@ -7,20 +8,6 @@
78 * button. This has been tested with a "RF VISTA Remote Control", OR24V,
89 * P/N 20035335, but should work with other variants that have the same
910 * buttons, such as OR22V and OR24E.
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2 of the License, or
14
- * (at your option) any later version.
15
- *
16
- * This program is distributed in the hope that it will be useful,
17
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
- * GNU General Public License for more details.
20
- *
21
- * You should have received a copy of the GNU General Public License along
22
- * with this program; if not, write to the Free Software Foundation, Inc.,
23
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2411 */
2512
2613 #include <linux/module.h>
....@@ -65,16 +52,16 @@
6552 { 0x29, KEY_PAUSE },
6653 { 0x27, KEY_RECORD },
6754
68
- { 0x0d, KEY_1 },
69
- { 0x0e, KEY_2 },
70
- { 0x0f, KEY_3 },
71
- { 0x10, KEY_4 },
72
- { 0x11, KEY_5 },
73
- { 0x12, KEY_6 },
74
- { 0x13, KEY_7 },
75
- { 0x14, KEY_8 },
76
- { 0x15, KEY_9 },
77
- { 0x17, KEY_0 },
55
+ { 0x0d, KEY_NUMERIC_1 },
56
+ { 0x0e, KEY_NUMERIC_2 },
57
+ { 0x0f, KEY_NUMERIC_3 },
58
+ { 0x10, KEY_NUMERIC_4 },
59
+ { 0x11, KEY_NUMERIC_5 },
60
+ { 0x12, KEY_NUMERIC_6 },
61
+ { 0x13, KEY_NUMERIC_7 },
62
+ { 0x14, KEY_NUMERIC_8 },
63
+ { 0x15, KEY_NUMERIC_9 },
64
+ { 0x17, KEY_NUMERIC_0 },
7865 { 0x30, KEY_CLEAR },
7966 { 0x36, KEY_ENTER },
8067 { 0x37, KEY_NUMERIC_STAR },