hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
....@@ -1,21 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * AverMedia RM-KS remote controller keytable
34 *
45 * Copyright (C) 2010 Antti Palosaari <crope@iki.fi>
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>
....@@ -33,16 +20,16 @@
3320 { 0x0506, KEY_MUTE }, /* Mute */
3421 { 0x0507, KEY_AGAIN }, /* Recall */
3522 { 0x0508, KEY_VIDEO }, /* Source */
36
- { 0x0509, KEY_1 }, /* 1 */
37
- { 0x050a, KEY_2 }, /* 2 */
38
- { 0x050b, KEY_3 }, /* 3 */
39
- { 0x050c, KEY_4 }, /* 4 */
40
- { 0x050d, KEY_5 }, /* 5 */
41
- { 0x050e, KEY_6 }, /* 6 */
42
- { 0x050f, KEY_7 }, /* 7 */
43
- { 0x0510, KEY_8 }, /* 8 */
44
- { 0x0511, KEY_9 }, /* 9 */
45
- { 0x0512, KEY_0 }, /* 0 */
23
+ { 0x0509, KEY_NUMERIC_1 }, /* 1 */
24
+ { 0x050a, KEY_NUMERIC_2 }, /* 2 */
25
+ { 0x050b, KEY_NUMERIC_3 }, /* 3 */
26
+ { 0x050c, KEY_NUMERIC_4 }, /* 4 */
27
+ { 0x050d, KEY_NUMERIC_5 }, /* 5 */
28
+ { 0x050e, KEY_NUMERIC_6 }, /* 6 */
29
+ { 0x050f, KEY_NUMERIC_7 }, /* 7 */
30
+ { 0x0510, KEY_NUMERIC_8 }, /* 8 */
31
+ { 0x0511, KEY_NUMERIC_9 }, /* 9 */
32
+ { 0x0512, KEY_NUMERIC_0 }, /* 0 */
4633 { 0x0513, KEY_AUDIO }, /* Audio */
4734 { 0x0515, KEY_EPG }, /* EPG */
4835 { 0x0516, KEY_PLAYPAUSE }, /* Play/Pause */