forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/rc/keymaps/rc-snapstream-firefly.c
....@@ -1,21 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * SnapStream Firefly X10 RF remote keytable
34 *
45 * Copyright (C) 2011 Anssi Hannula <anssi.hannula@?ki.fi>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along
17
- * with this program; if not, write to the Free Software Foundation, Inc.,
18
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
196 */
207
218 #include <linux/module.h>
....@@ -25,16 +12,16 @@
2512 { 0x2c, KEY_ZOOM }, /* Maximize */
2613 { 0x02, KEY_CLOSE },
2714
28
- { 0x0d, KEY_1 },
29
- { 0x0e, KEY_2 },
30
- { 0x0f, KEY_3 },
31
- { 0x10, KEY_4 },
32
- { 0x11, KEY_5 },
33
- { 0x12, KEY_6 },
34
- { 0x13, KEY_7 },
35
- { 0x14, KEY_8 },
36
- { 0x15, KEY_9 },
37
- { 0x17, KEY_0 },
15
+ { 0x0d, KEY_NUMERIC_1 },
16
+ { 0x0e, KEY_NUMERIC_2 },
17
+ { 0x0f, KEY_NUMERIC_3 },
18
+ { 0x10, KEY_NUMERIC_4 },
19
+ { 0x11, KEY_NUMERIC_5 },
20
+ { 0x12, KEY_NUMERIC_6 },
21
+ { 0x13, KEY_NUMERIC_7 },
22
+ { 0x14, KEY_NUMERIC_8 },
23
+ { 0x15, KEY_NUMERIC_9 },
24
+ { 0x17, KEY_NUMERIC_0 },
3825 { 0x16, KEY_BACK },
3926 { 0x18, KEY_KPENTER }, /* ent */
4027