forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/rc/keymaps/rc-medion-x10.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Medion X10 RF remote keytable
34 *
....@@ -5,20 +6,6 @@
56 *
67 * This file is based on a keytable provided by
78 * Jan Losinski <losinski@wh2.tu-dresden.de>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License along
20
- * with this program; if not, write to the Free Software Foundation, Inc.,
21
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
229 */
2310
2411 #include <linux/module.h>
....@@ -50,16 +37,16 @@
5037 { 0x35, KEY_BLUE }, /* blue */
5138 { 0x16, KEY_TEXT }, /* TXT */
5239
53
- { 0x0d, KEY_1 },
54
- { 0x0e, KEY_2 },
55
- { 0x0f, KEY_3 },
56
- { 0x10, KEY_4 },
57
- { 0x11, KEY_5 },
58
- { 0x12, KEY_6 },
59
- { 0x13, KEY_7 },
60
- { 0x14, KEY_8 },
61
- { 0x15, KEY_9 },
62
- { 0x17, KEY_0 },
40
+ { 0x0d, KEY_NUMERIC_1 },
41
+ { 0x0e, KEY_NUMERIC_2 },
42
+ { 0x0f, KEY_NUMERIC_3 },
43
+ { 0x10, KEY_NUMERIC_4 },
44
+ { 0x11, KEY_NUMERIC_5 },
45
+ { 0x12, KEY_NUMERIC_6 },
46
+ { 0x13, KEY_NUMERIC_7 },
47
+ { 0x14, KEY_NUMERIC_8 },
48
+ { 0x15, KEY_NUMERIC_9 },
49
+ { 0x17, KEY_NUMERIC_0 },
6350 { 0x1c, KEY_SEARCH }, /* TV/RAD, CH SRC */
6451 { 0x20, KEY_DELETE }, /* DELETE */
6552