forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/media/rc/keymaps/rc-dvbsky.c
....@@ -1,14 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* rc-dvbsky.c - Keytable for DVBSky Remote Controllers
23 *
34 * keymap imported from ir-keymaps.c
45 *
5
- *
66 * Copyright (c) 2010-2012 by Nibble Max <nibble.max@gmail.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
127 */
138
149 #include <media/rc-map.h>
....@@ -18,16 +13,16 @@
1813 */
1914
2015 static struct rc_map_table rc5_dvbsky[] = {
21
- { 0x0000, KEY_0 },
22
- { 0x0001, KEY_1 },
23
- { 0x0002, KEY_2 },
24
- { 0x0003, KEY_3 },
25
- { 0x0004, KEY_4 },
26
- { 0x0005, KEY_5 },
27
- { 0x0006, KEY_6 },
28
- { 0x0007, KEY_7 },
29
- { 0x0008, KEY_8 },
30
- { 0x0009, KEY_9 },
16
+ { 0x0000, KEY_NUMERIC_0 },
17
+ { 0x0001, KEY_NUMERIC_1 },
18
+ { 0x0002, KEY_NUMERIC_2 },
19
+ { 0x0003, KEY_NUMERIC_3 },
20
+ { 0x0004, KEY_NUMERIC_4 },
21
+ { 0x0005, KEY_NUMERIC_5 },
22
+ { 0x0006, KEY_NUMERIC_6 },
23
+ { 0x0007, KEY_NUMERIC_7 },
24
+ { 0x0008, KEY_NUMERIC_8 },
25
+ { 0x0009, KEY_NUMERIC_9 },
3126 { 0x000a, KEY_MUTE },
3227 { 0x000d, KEY_OK },
3328 { 0x000b, KEY_STOP },