hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-dtt200u.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* Keytable for Wideview WT-220U.
23 *
34 * Copyright (c) 2016 Jonathan McDowell <noodles@earth.li>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
95 */
106
117 #include <media/rc-map.h>
....@@ -16,21 +12,21 @@
1612 { 0x8001, KEY_MUTE },
1713 { 0x8002, KEY_CHANNELDOWN },
1814 { 0x8003, KEY_VOLUMEDOWN },
19
- { 0x8004, KEY_1 },
20
- { 0x8005, KEY_2 },
21
- { 0x8006, KEY_3 },
22
- { 0x8007, KEY_4 },
23
- { 0x8008, KEY_5 },
24
- { 0x8009, KEY_6 },
25
- { 0x800a, KEY_7 },
15
+ { 0x8004, KEY_NUMERIC_1 },
16
+ { 0x8005, KEY_NUMERIC_2 },
17
+ { 0x8006, KEY_NUMERIC_3 },
18
+ { 0x8007, KEY_NUMERIC_4 },
19
+ { 0x8008, KEY_NUMERIC_5 },
20
+ { 0x8009, KEY_NUMERIC_6 },
21
+ { 0x800a, KEY_NUMERIC_7 },
2622 { 0x800c, KEY_ZOOM },
27
- { 0x800d, KEY_0 },
23
+ { 0x800d, KEY_NUMERIC_0 },
2824 { 0x800e, KEY_SELECT },
2925 { 0x8012, KEY_POWER },
3026 { 0x801a, KEY_CHANNELUP },
31
- { 0x801b, KEY_8 },
27
+ { 0x801b, KEY_NUMERIC_8 },
3228 { 0x801e, KEY_VOLUMEUP },
33
- { 0x801f, KEY_9 },
29
+ { 0x801f, KEY_NUMERIC_9 },
3430 };
3531
3632 static struct rc_map_list dtt200u_map = {