forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/rc/keymaps/rc-astrometa-t2hybrid.c
....@@ -1,14 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Keytable for the Astrometa T2hybrid remote controller
34 *
45 * Copyright (C) 2017 Oleh Kravchenko <oleg@kaa.org.ua>
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 version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * You should have received a copy of the GNU General Public License
11
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
126 */
137
148 #include <media/rc-map.h>
....@@ -27,21 +21,21 @@
2721 { 0x40, KEY_ZOOM }, /* Fullscreen */
2822 { 0x1e, KEY_VOLUMEUP },
2923
30
- { 0x12, KEY_0 },
24
+ { 0x12, KEY_NUMERIC_0 },
3125 { 0x02, KEY_CHANNELDOWN },
3226 { 0x1c, KEY_AGAIN }, /* Recall */
3327
34
- { 0x09, KEY_1 },
35
- { 0x1d, KEY_2 },
36
- { 0x1f, KEY_3 },
28
+ { 0x09, KEY_NUMERIC_1 },
29
+ { 0x1d, KEY_NUMERIC_2 },
30
+ { 0x1f, KEY_NUMERIC_3 },
3731
38
- { 0x0d, KEY_4 },
39
- { 0x19, KEY_5 },
40
- { 0x1b, KEY_6 },
32
+ { 0x0d, KEY_NUMERIC_4 },
33
+ { 0x19, KEY_NUMERIC_5 },
34
+ { 0x1b, KEY_NUMERIC_6 },
4135
42
- { 0x11, KEY_7 },
43
- { 0x15, KEY_8 },
44
- { 0x17, KEY_9 },
36
+ { 0x11, KEY_NUMERIC_7 },
37
+ { 0x15, KEY_NUMERIC_8 },
38
+ { 0x17, KEY_NUMERIC_9 },
4539 };
4640
4741 static struct rc_map_list t2hybrid_map = {