hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-ati-x10.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * ATI X10 RF remote keytable
34 *
....@@ -7,20 +8,6 @@
78 * ati_remote.c, which is
89 * Copyright (c) 2004 Torrey Hoffman <thoffman@arnor.net>
910 * Copyright (c) 2002 Vladimir Dergachev
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>
....@@ -62,18 +49,18 @@
6249 * has problems with keycodes greater than 255, so avoid those high
6350 * keycodes in default maps.
6451 */
65
- { 0x0d, KEY_1 },
66
- { 0x0e, KEY_2 },
67
- { 0x0f, KEY_3 },
68
- { 0x10, KEY_4 },
69
- { 0x11, KEY_5 },
70
- { 0x12, KEY_6 },
71
- { 0x13, KEY_7 },
72
- { 0x14, KEY_8 },
73
- { 0x15, KEY_9 },
52
+ { 0x0d, KEY_NUMERIC_1 },
53
+ { 0x0e, KEY_NUMERIC_2 },
54
+ { 0x0f, KEY_NUMERIC_3 },
55
+ { 0x10, KEY_NUMERIC_4 },
56
+ { 0x11, KEY_NUMERIC_5 },
57
+ { 0x12, KEY_NUMERIC_6 },
58
+ { 0x13, KEY_NUMERIC_7 },
59
+ { 0x14, KEY_NUMERIC_8 },
60
+ { 0x15, KEY_NUMERIC_9 },
7461 { 0x16, KEY_MENU }, /* "menu": DVD root menu */
7562 /* KEY_NUMERIC_STAR? */
76
- { 0x17, KEY_0 },
63
+ { 0x17, KEY_NUMERIC_0 },
7764 { 0x18, KEY_SETUP }, /* "check": DVD setup menu */
7865 /* KEY_NUMERIC_POUND? */
7966