forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/media/rc/keymaps/rc-kworld-pc150u.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* kworld-pc150u.c - Keytable for kworld_pc150u Remote Controller
23 *
34 * keymap imported from ir-keymaps.c
....@@ -5,11 +6,6 @@
56 * Copyright (c) 2010 by Kyle Strickland
67 * (based on kworld-plus-tv-analog.c by
78 * Mauro Carvalho Chehab)
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.
139 */
1410
1511 #include <media/rc-map.h>
....@@ -24,16 +20,16 @@
2420 { 0x16, KEY_EJECTCLOSECD }, /* -> ) */
2521 { 0x1d, KEY_POWER2 },
2622
27
- { 0x00, KEY_1 },
28
- { 0x01, KEY_2 },
29
- { 0x02, KEY_3 },
30
- { 0x03, KEY_4 },
31
- { 0x04, KEY_5 },
32
- { 0x05, KEY_6 },
33
- { 0x06, KEY_7 },
34
- { 0x07, KEY_8 },
35
- { 0x08, KEY_9 },
36
- { 0x0a, KEY_0 },
23
+ { 0x00, KEY_NUMERIC_1 },
24
+ { 0x01, KEY_NUMERIC_2 },
25
+ { 0x02, KEY_NUMERIC_3 },
26
+ { 0x03, KEY_NUMERIC_4 },
27
+ { 0x04, KEY_NUMERIC_5 },
28
+ { 0x05, KEY_NUMERIC_6 },
29
+ { 0x06, KEY_NUMERIC_7 },
30
+ { 0x07, KEY_NUMERIC_8 },
31
+ { 0x08, KEY_NUMERIC_9 },
32
+ { 0x0a, KEY_NUMERIC_0 },
3733
3834 { 0x09, KEY_AGAIN },
3935 { 0x14, KEY_MUTE },