| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ATI X10 RF remote keytable |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * ati_remote.c, which is |
|---|
| 8 | 9 | * Copyright (c) 2004 Torrey Hoffman <thoffman@arnor.net> |
|---|
| 9 | 10 | * Copyright (c) 2002 Vladimir Dergachev |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 12 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 13 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 14 | | - * (at your option) any later version. |
|---|
| 15 | | - * |
|---|
| 16 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | | - * GNU General Public License for more details. |
|---|
| 20 | | - * |
|---|
| 21 | | - * You should have received a copy of the GNU General Public License along |
|---|
| 22 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 23 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
|---|
| 24 | 11 | */ |
|---|
| 25 | 12 | |
|---|
| 26 | 13 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 62 | 49 | * has problems with keycodes greater than 255, so avoid those high |
|---|
| 63 | 50 | * keycodes in default maps. |
|---|
| 64 | 51 | */ |
|---|
| 65 | | - { 0x0d, KEY_1 }, |
|---|
| 66 | | - { 0x0e, KEY_2 }, |
|---|
| 67 | | - { 0x0f, KEY_3 }, |
|---|
| 68 | | - { 0x10, KEY_4 }, |
|---|
| 69 | | - { 0x11, KEY_5 }, |
|---|
| 70 | | - { 0x12, KEY_6 }, |
|---|
| 71 | | - { 0x13, KEY_7 }, |
|---|
| 72 | | - { 0x14, KEY_8 }, |
|---|
| 73 | | - { 0x15, KEY_9 }, |
|---|
| 52 | + { 0x0d, KEY_NUMERIC_1 }, |
|---|
| 53 | + { 0x0e, KEY_NUMERIC_2 }, |
|---|
| 54 | + { 0x0f, KEY_NUMERIC_3 }, |
|---|
| 55 | + { 0x10, KEY_NUMERIC_4 }, |
|---|
| 56 | + { 0x11, KEY_NUMERIC_5 }, |
|---|
| 57 | + { 0x12, KEY_NUMERIC_6 }, |
|---|
| 58 | + { 0x13, KEY_NUMERIC_7 }, |
|---|
| 59 | + { 0x14, KEY_NUMERIC_8 }, |
|---|
| 60 | + { 0x15, KEY_NUMERIC_9 }, |
|---|
| 74 | 61 | { 0x16, KEY_MENU }, /* "menu": DVD root menu */ |
|---|
| 75 | 62 | /* KEY_NUMERIC_STAR? */ |
|---|
| 76 | | - { 0x17, KEY_0 }, |
|---|
| 63 | + { 0x17, KEY_NUMERIC_0 }, |
|---|
| 77 | 64 | { 0x18, KEY_SETUP }, /* "check": DVD setup menu */ |
|---|
| 78 | 65 | /* KEY_NUMERIC_POUND? */ |
|---|
| 79 | 66 | |
|---|