hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-videomate-m1f.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* videomate-k100.h - Keytable for videomate_k100 Remote Controller
23 *
34 * keymap imported from ir-keymaps.c
45 *
56 * Copyright (c) 2010 by Pavel Osnova <pvosnova@gmail.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 */
128
139 #include <media/rc-map.h>
....@@ -45,17 +41,17 @@
4541 { 0x10, KEY_PREVIOUS },
4642 { 0x0d, KEY_PAUSE },
4743 { 0x0f, KEY_NEXT },
48
- { 0x1e, KEY_1 },
49
- { 0x1f, KEY_2 },
50
- { 0x20, KEY_3 },
51
- { 0x21, KEY_4 },
52
- { 0x22, KEY_5 },
53
- { 0x23, KEY_6 },
54
- { 0x24, KEY_7 },
55
- { 0x25, KEY_8 },
56
- { 0x26, KEY_9 },
44
+ { 0x1e, KEY_NUMERIC_1 },
45
+ { 0x1f, KEY_NUMERIC_2 },
46
+ { 0x20, KEY_NUMERIC_3 },
47
+ { 0x21, KEY_NUMERIC_4 },
48
+ { 0x22, KEY_NUMERIC_5 },
49
+ { 0x23, KEY_NUMERIC_6 },
50
+ { 0x24, KEY_NUMERIC_7 },
51
+ { 0x25, KEY_NUMERIC_8 },
52
+ { 0x26, KEY_NUMERIC_9 },
5753 { 0x2a, KEY_NUMERIC_STAR }, /* * key */
58
- { 0x1d, KEY_0 },
54
+ { 0x1d, KEY_NUMERIC_0 },
5955 { 0x29, KEY_SUBTITLE }, /* # key */
6056 { 0x27, KEY_CLEAR },
6157 { 0x34, KEY_SCREEN },