hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-delock-61959.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* rc-delock-61959.c - Keytable for Delock
23 *
34 * Copyright (c) 2013 by Jakob Haufe <sur5r@sur5r.net>
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>
....@@ -18,16 +14,16 @@
1814 { 0x866b16, KEY_POWER2 }, /* Power */
1915 { 0x866b0c, KEY_POWER }, /* Shut Down */
2016
21
- { 0x866b00, KEY_1},
22
- { 0x866b01, KEY_2},
23
- { 0x866b02, KEY_3},
24
- { 0x866b03, KEY_4},
25
- { 0x866b04, KEY_5},
26
- { 0x866b05, KEY_6},
27
- { 0x866b06, KEY_7},
28
- { 0x866b07, KEY_8},
29
- { 0x866b08, KEY_9},
30
- { 0x866b14, KEY_0},
17
+ { 0x866b00, KEY_NUMERIC_1},
18
+ { 0x866b01, KEY_NUMERIC_2},
19
+ { 0x866b02, KEY_NUMERIC_3},
20
+ { 0x866b03, KEY_NUMERIC_4},
21
+ { 0x866b04, KEY_NUMERIC_5},
22
+ { 0x866b05, KEY_NUMERIC_6},
23
+ { 0x866b06, KEY_NUMERIC_7},
24
+ { 0x866b07, KEY_NUMERIC_8},
25
+ { 0x866b08, KEY_NUMERIC_9},
26
+ { 0x866b14, KEY_NUMERIC_0},
3127
3228 { 0x866b0a, KEY_ZOOM}, /* Full Screen */
3329 { 0x866b10, KEY_CAMERA}, /* Photo */
....@@ -60,7 +56,7 @@
6056 .map = {
6157 .scan = delock_61959,
6258 .size = ARRAY_SIZE(delock_61959),
63
- .rc_proto = RC_PROTO_NEC,
59
+ .rc_proto = RC_PROTO_NECX,
6460 .name = RC_MAP_DELOCK_61959,
6561 }
6662 };