hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-hisi-poplar.c
....@@ -1,28 +1,24 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Keytable for remote controller of HiSilicon poplar board.
34 *
45 * Copyright (c) 2017 HiSilicon Technologies Co., Ltd.
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.
106 */
117
128 #include <linux/module.h>
139 #include <media/rc-map.h>
1410
1511 static struct rc_map_table hisi_poplar_keymap[] = {
16
- { 0x0000b292, KEY_1},
17
- { 0x0000b293, KEY_2},
18
- { 0x0000b2cc, KEY_3},
19
- { 0x0000b28e, KEY_4},
20
- { 0x0000b28f, KEY_5},
21
- { 0x0000b2c8, KEY_6},
22
- { 0x0000b28a, KEY_7},
23
- { 0x0000b28b, KEY_8},
24
- { 0x0000b2c4, KEY_9},
25
- { 0x0000b287, KEY_0},
12
+ { 0x0000b292, KEY_NUMERIC_1},
13
+ { 0x0000b293, KEY_NUMERIC_2},
14
+ { 0x0000b2cc, KEY_NUMERIC_3},
15
+ { 0x0000b28e, KEY_NUMERIC_4},
16
+ { 0x0000b28f, KEY_NUMERIC_5},
17
+ { 0x0000b2c8, KEY_NUMERIC_6},
18
+ { 0x0000b28a, KEY_NUMERIC_7},
19
+ { 0x0000b28b, KEY_NUMERIC_8},
20
+ { 0x0000b2c4, KEY_NUMERIC_9},
21
+ { 0x0000b287, KEY_NUMERIC_0},
2622 { 0x0000b282, KEY_HOMEPAGE},
2723 { 0x0000b2ca, KEY_UP},
2824 { 0x0000b299, KEY_LEFT},