hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-terratec-cinergy-c-pci.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* keytable for Terratec Cinergy C PCI Remote Controller
23 *
34 * Copyright (c) 2010 by Igor M. Liplianin <liplianin@me.by>
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
95 */
106
117 #include <media/rc-map.h>
....@@ -13,17 +9,17 @@
139
1410 static struct rc_map_table terratec_cinergy_c_pci[] = {
1511 { 0x3e, KEY_POWER},
16
- { 0x3d, KEY_1},
17
- { 0x3c, KEY_2},
18
- { 0x3b, KEY_3},
19
- { 0x3a, KEY_4},
20
- { 0x39, KEY_5},
21
- { 0x38, KEY_6},
22
- { 0x37, KEY_7},
23
- { 0x36, KEY_8},
24
- { 0x35, KEY_9},
12
+ { 0x3d, KEY_NUMERIC_1},
13
+ { 0x3c, KEY_NUMERIC_2},
14
+ { 0x3b, KEY_NUMERIC_3},
15
+ { 0x3a, KEY_NUMERIC_4},
16
+ { 0x39, KEY_NUMERIC_5},
17
+ { 0x38, KEY_NUMERIC_6},
18
+ { 0x37, KEY_NUMERIC_7},
19
+ { 0x36, KEY_NUMERIC_8},
20
+ { 0x35, KEY_NUMERIC_9},
2521 { 0x34, KEY_VIDEO_NEXT}, /* AV */
26
- { 0x33, KEY_0},
22
+ { 0x33, KEY_NUMERIC_0},
2723 { 0x32, KEY_REFRESH},
2824 { 0x30, KEY_EPG},
2925 { 0x2f, KEY_UP},