.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * TerraTec remote controller keytable |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2011 Martin Groszhauser <mgroszhauser@gmail.com> |
---|
5 | 6 | * Copyright (C) 2011 Antti Palosaari <crope@iki.fi> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License as published by |
---|
9 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
10 | | - * (at your option) any later version. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, |
---|
13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | | - * GNU General Public License for more details. |
---|
16 | | - * |
---|
17 | | - * You should have received a copy of the GNU General Public License along |
---|
18 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
---|
19 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
---|
20 | 7 | */ |
---|
21 | 8 | |
---|
22 | 9 | #include <media/rc-map.h> |
---|
.. | .. |
---|
30 | 17 | { 0x8001, KEY_MUTE }, /* MUTE */ |
---|
31 | 18 | { 0x8002, KEY_VOLUMEDOWN }, |
---|
32 | 19 | { 0x8003, KEY_CHANNELDOWN }, |
---|
33 | | - { 0x8004, KEY_1 }, |
---|
34 | | - { 0x8005, KEY_2 }, |
---|
35 | | - { 0x8006, KEY_3 }, |
---|
36 | | - { 0x8007, KEY_4 }, |
---|
37 | | - { 0x8008, KEY_5 }, |
---|
38 | | - { 0x8009, KEY_6 }, |
---|
39 | | - { 0x800a, KEY_7 }, |
---|
| 20 | + { 0x8004, KEY_NUMERIC_1 }, |
---|
| 21 | + { 0x8005, KEY_NUMERIC_2 }, |
---|
| 22 | + { 0x8006, KEY_NUMERIC_3 }, |
---|
| 23 | + { 0x8007, KEY_NUMERIC_4 }, |
---|
| 24 | + { 0x8008, KEY_NUMERIC_5 }, |
---|
| 25 | + { 0x8009, KEY_NUMERIC_6 }, |
---|
| 26 | + { 0x800a, KEY_NUMERIC_7 }, |
---|
40 | 27 | { 0x800c, KEY_ZOOM }, /* [fullscreen] */ |
---|
41 | | - { 0x800d, KEY_0 }, |
---|
| 28 | + { 0x800d, KEY_NUMERIC_0 }, |
---|
42 | 29 | { 0x800e, KEY_AGAIN }, /* [two arrows forming a circle] */ |
---|
43 | 30 | { 0x8012, KEY_POWER2 }, /* [red power button] */ |
---|
44 | 31 | { 0x801a, KEY_VOLUMEUP }, |
---|
45 | | - { 0x801b, KEY_8 }, |
---|
| 32 | + { 0x801b, KEY_NUMERIC_8 }, |
---|
46 | 33 | { 0x801e, KEY_CHANNELUP }, |
---|
47 | | - { 0x801f, KEY_9 }, |
---|
| 34 | + { 0x801f, KEY_NUMERIC_9 }, |
---|
48 | 35 | }; |
---|
49 | 36 | |
---|
50 | 37 | static struct rc_map_list terratec_slim_2_map = { |
---|