hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-d680-dmb.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * keymap imported from cxusb.c
34 *
45 * Copyright (C) 2016 Sean Young
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; version 2.
96 */
107
118 #include <media/rc-map.h>
....@@ -14,16 +11,16 @@
1411 static struct rc_map_table rc_map_d680_dmb_table[] = {
1512 { 0x0038, KEY_SWITCHVIDEOMODE }, /* TV/AV */
1613 { 0x080c, KEY_ZOOM },
17
- { 0x0800, KEY_0 },
18
- { 0x0001, KEY_1 },
19
- { 0x0802, KEY_2 },
20
- { 0x0003, KEY_3 },
21
- { 0x0804, KEY_4 },
22
- { 0x0005, KEY_5 },
23
- { 0x0806, KEY_6 },
24
- { 0x0007, KEY_7 },
25
- { 0x0808, KEY_8 },
26
- { 0x0009, KEY_9 },
14
+ { 0x0800, KEY_NUMERIC_0 },
15
+ { 0x0001, KEY_NUMERIC_1 },
16
+ { 0x0802, KEY_NUMERIC_2 },
17
+ { 0x0003, KEY_NUMERIC_3 },
18
+ { 0x0804, KEY_NUMERIC_4 },
19
+ { 0x0005, KEY_NUMERIC_5 },
20
+ { 0x0806, KEY_NUMERIC_6 },
21
+ { 0x0007, KEY_NUMERIC_7 },
22
+ { 0x0808, KEY_NUMERIC_8 },
23
+ { 0x0009, KEY_NUMERIC_9 },
2724 { 0x000a, KEY_MUTE },
2825 { 0x0829, KEY_BACK },
2926 { 0x0012, KEY_CHANNELUP },