hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-total-media-in-hand-02.c
....@@ -1,21 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Total Media In Hand_02 remote controller keytable for Mygica X8507
34 *
45 * Copyright (C) 2012 Alfredo J. Delaiti <alfredodelaiti@netscape.net>
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; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along
17
- * with this program; if not, write to the Free Software Foundation, Inc.,
18
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
196 */
207
218 #include <media/rc-map.h>
....@@ -23,16 +10,16 @@
2310
2411
2512 static struct rc_map_table total_media_in_hand_02[] = {
26
- { 0x0000, KEY_0 },
27
- { 0x0001, KEY_1 },
28
- { 0x0002, KEY_2 },
29
- { 0x0003, KEY_3 },
30
- { 0x0004, KEY_4 },
31
- { 0x0005, KEY_5 },
32
- { 0x0006, KEY_6 },
33
- { 0x0007, KEY_7 },
34
- { 0x0008, KEY_8 },
35
- { 0x0009, KEY_9 },
13
+ { 0x0000, KEY_NUMERIC_0 },
14
+ { 0x0001, KEY_NUMERIC_1 },
15
+ { 0x0002, KEY_NUMERIC_2 },
16
+ { 0x0003, KEY_NUMERIC_3 },
17
+ { 0x0004, KEY_NUMERIC_4 },
18
+ { 0x0005, KEY_NUMERIC_5 },
19
+ { 0x0006, KEY_NUMERIC_6 },
20
+ { 0x0007, KEY_NUMERIC_7 },
21
+ { 0x0008, KEY_NUMERIC_8 },
22
+ { 0x0009, KEY_NUMERIC_9 },
3623 { 0x000a, KEY_MUTE },
3724 { 0x000b, KEY_STOP }, /* Stop */
3825 { 0x000c, KEY_POWER2 }, /* Turn on/off application */