hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-dvico-mce.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>
....@@ -38,17 +35,17 @@
3835 { 0x0152, KEY_CAMERA },
3936 { 0x015a, KEY_TUNER }, /* Live */
4037 { 0x0119, KEY_OPEN },
41
- { 0x010b, KEY_1 },
42
- { 0x0117, KEY_2 },
43
- { 0x011b, KEY_3 },
44
- { 0x0107, KEY_4 },
45
- { 0x0150, KEY_5 },
46
- { 0x0154, KEY_6 },
47
- { 0x0148, KEY_7 },
48
- { 0x014c, KEY_8 },
49
- { 0x0158, KEY_9 },
38
+ { 0x010b, KEY_NUMERIC_1 },
39
+ { 0x0117, KEY_NUMERIC_2 },
40
+ { 0x011b, KEY_NUMERIC_3 },
41
+ { 0x0107, KEY_NUMERIC_4 },
42
+ { 0x0150, KEY_NUMERIC_5 },
43
+ { 0x0154, KEY_NUMERIC_6 },
44
+ { 0x0148, KEY_NUMERIC_7 },
45
+ { 0x014c, KEY_NUMERIC_8 },
46
+ { 0x0158, KEY_NUMERIC_9 },
5047 { 0x0113, KEY_ANGLE }, /* Aspect */
51
- { 0x0103, KEY_0 },
48
+ { 0x0103, KEY_NUMERIC_0 },
5249 { 0x011f, KEY_ZOOM },
5350 { 0x0143, KEY_REWIND },
5451 { 0x0147, KEY_PLAYPAUSE },