hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-su3000.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* rc-su3000.h - Keytable for Geniatech HDStar Remote Controller
23 *
34 * Copyright (c) 2013 by Evgeny Plehov <Evgeny Plehov@ukr.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>
....@@ -14,16 +10,16 @@
1410 static struct rc_map_table su3000[] = {
1511 { 0x25, KEY_POWER }, /* right-bottom Red */
1612 { 0x0a, KEY_MUTE }, /* -/-- */
17
- { 0x01, KEY_1 },
18
- { 0x02, KEY_2 },
19
- { 0x03, KEY_3 },
20
- { 0x04, KEY_4 },
21
- { 0x05, KEY_5 },
22
- { 0x06, KEY_6 },
23
- { 0x07, KEY_7 },
24
- { 0x08, KEY_8 },
25
- { 0x09, KEY_9 },
26
- { 0x00, KEY_0 },
13
+ { 0x01, KEY_NUMERIC_1 },
14
+ { 0x02, KEY_NUMERIC_2 },
15
+ { 0x03, KEY_NUMERIC_3 },
16
+ { 0x04, KEY_NUMERIC_4 },
17
+ { 0x05, KEY_NUMERIC_5 },
18
+ { 0x06, KEY_NUMERIC_6 },
19
+ { 0x07, KEY_NUMERIC_7 },
20
+ { 0x08, KEY_NUMERIC_8 },
21
+ { 0x09, KEY_NUMERIC_9 },
22
+ { 0x00, KEY_NUMERIC_0 },
2723 { 0x20, KEY_UP }, /* CH+ */
2824 { 0x21, KEY_DOWN }, /* CH+ */
2925 { 0x12, KEY_VOLUMEUP }, /* Brightness Up */