| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Total Media In Hand remote controller keytable |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2010 Antti Palosaari <crope@iki.fi> |
|---|
| 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. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | | - * You should have received a copy of the GNU General Public License along |
|---|
| 17 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 18 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 19 | 6 | */ |
|---|
| 20 | 7 | |
|---|
| 21 | 8 | #include <media/rc-map.h> |
|---|
| .. | .. |
|---|
| 23 | 10 | |
|---|
| 24 | 11 | /* Uses NEC extended 0x02bd */ |
|---|
| 25 | 12 | static struct rc_map_table total_media_in_hand[] = { |
|---|
| 26 | | - { 0x02bd00, KEY_1 }, |
|---|
| 27 | | - { 0x02bd01, KEY_2 }, |
|---|
| 28 | | - { 0x02bd02, KEY_3 }, |
|---|
| 29 | | - { 0x02bd03, KEY_4 }, |
|---|
| 30 | | - { 0x02bd04, KEY_5 }, |
|---|
| 31 | | - { 0x02bd05, KEY_6 }, |
|---|
| 32 | | - { 0x02bd06, KEY_7 }, |
|---|
| 33 | | - { 0x02bd07, KEY_8 }, |
|---|
| 34 | | - { 0x02bd08, KEY_9 }, |
|---|
| 35 | | - { 0x02bd09, KEY_0 }, |
|---|
| 13 | + { 0x02bd00, KEY_NUMERIC_1 }, |
|---|
| 14 | + { 0x02bd01, KEY_NUMERIC_2 }, |
|---|
| 15 | + { 0x02bd02, KEY_NUMERIC_3 }, |
|---|
| 16 | + { 0x02bd03, KEY_NUMERIC_4 }, |
|---|
| 17 | + { 0x02bd04, KEY_NUMERIC_5 }, |
|---|
| 18 | + { 0x02bd05, KEY_NUMERIC_6 }, |
|---|
| 19 | + { 0x02bd06, KEY_NUMERIC_7 }, |
|---|
| 20 | + { 0x02bd07, KEY_NUMERIC_8 }, |
|---|
| 21 | + { 0x02bd08, KEY_NUMERIC_9 }, |
|---|
| 22 | + { 0x02bd09, KEY_NUMERIC_0 }, |
|---|
| 36 | 23 | { 0x02bd0a, KEY_MUTE }, |
|---|
| 37 | 24 | { 0x02bd0b, KEY_CYCLEWINDOWS }, /* yellow, [min / max] */ |
|---|
| 38 | 25 | { 0x02bd0c, KEY_VIDEO }, /* TV / AV */ |
|---|
| .. | .. |
|---|
| 64 | 51 | .map = { |
|---|
| 65 | 52 | .scan = total_media_in_hand, |
|---|
| 66 | 53 | .size = ARRAY_SIZE(total_media_in_hand), |
|---|
| 67 | | - .rc_proto = RC_PROTO_NEC, |
|---|
| 54 | + .rc_proto = RC_PROTO_NECX, |
|---|
| 68 | 55 | .name = RC_MAP_TOTAL_MEDIA_IN_HAND, |
|---|
| 69 | 56 | } |
|---|
| 70 | 57 | }; |
|---|