hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-dvico-portable.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * keymap imported from cxusb.c
34 *
45 * Copyright (C) 2016 Sean Young
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; version 2.
96 */
107
118 #include <media/rc-map.h>
....@@ -27,17 +24,17 @@
2724 { 0x0316, KEY_CAMERA },
2825 { 0x0340, KEY_TUNER }, /* ATV/DTV */
2926 { 0x0345, KEY_OPEN },
30
- { 0x0319, KEY_1 },
31
- { 0x0318, KEY_2 },
32
- { 0x031b, KEY_3 },
33
- { 0x031a, KEY_4 },
34
- { 0x0358, KEY_5 },
35
- { 0x0359, KEY_6 },
36
- { 0x0315, KEY_7 },
37
- { 0x0314, KEY_8 },
38
- { 0x0317, KEY_9 },
27
+ { 0x0319, KEY_NUMERIC_1 },
28
+ { 0x0318, KEY_NUMERIC_2 },
29
+ { 0x031b, KEY_NUMERIC_3 },
30
+ { 0x031a, KEY_NUMERIC_4 },
31
+ { 0x0358, KEY_NUMERIC_5 },
32
+ { 0x0359, KEY_NUMERIC_6 },
33
+ { 0x0315, KEY_NUMERIC_7 },
34
+ { 0x0314, KEY_NUMERIC_8 },
35
+ { 0x0317, KEY_NUMERIC_9 },
3936 { 0x0344, KEY_ANGLE }, /* Aspect */
40
- { 0x0355, KEY_0 },
37
+ { 0x0355, KEY_NUMERIC_0 },
4138 { 0x0307, KEY_ZOOM },
4239 { 0x030a, KEY_REWIND },
4340 { 0x0308, KEY_PLAYPAUSE },