.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Keytable for the Astrometa T2hybrid remote controller |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2017 Oleh Kravchenko <oleg@kaa.org.ua> |
---|
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 version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | | - * |
---|
10 | | - * You should have received a copy of the GNU General Public License |
---|
11 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
12 | 6 | */ |
---|
13 | 7 | |
---|
14 | 8 | #include <media/rc-map.h> |
---|
.. | .. |
---|
27 | 21 | { 0x40, KEY_ZOOM }, /* Fullscreen */ |
---|
28 | 22 | { 0x1e, KEY_VOLUMEUP }, |
---|
29 | 23 | |
---|
30 | | - { 0x12, KEY_0 }, |
---|
| 24 | + { 0x12, KEY_NUMERIC_0 }, |
---|
31 | 25 | { 0x02, KEY_CHANNELDOWN }, |
---|
32 | 26 | { 0x1c, KEY_AGAIN }, /* Recall */ |
---|
33 | 27 | |
---|
34 | | - { 0x09, KEY_1 }, |
---|
35 | | - { 0x1d, KEY_2 }, |
---|
36 | | - { 0x1f, KEY_3 }, |
---|
| 28 | + { 0x09, KEY_NUMERIC_1 }, |
---|
| 29 | + { 0x1d, KEY_NUMERIC_2 }, |
---|
| 30 | + { 0x1f, KEY_NUMERIC_3 }, |
---|
37 | 31 | |
---|
38 | | - { 0x0d, KEY_4 }, |
---|
39 | | - { 0x19, KEY_5 }, |
---|
40 | | - { 0x1b, KEY_6 }, |
---|
| 32 | + { 0x0d, KEY_NUMERIC_4 }, |
---|
| 33 | + { 0x19, KEY_NUMERIC_5 }, |
---|
| 34 | + { 0x1b, KEY_NUMERIC_6 }, |
---|
41 | 35 | |
---|
42 | | - { 0x11, KEY_7 }, |
---|
43 | | - { 0x15, KEY_8 }, |
---|
44 | | - { 0x17, KEY_9 }, |
---|
| 36 | + { 0x11, KEY_NUMERIC_7 }, |
---|
| 37 | + { 0x15, KEY_NUMERIC_8 }, |
---|
| 38 | + { 0x17, KEY_NUMERIC_9 }, |
---|
45 | 39 | }; |
---|
46 | 40 | |
---|
47 | 41 | static struct rc_map_list t2hybrid_map = { |
---|