| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Medion X10 RF remote keytable (Digitainer variant) |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * up/down buttons (tested with P/N 40009936 / 20018268), reportedly |
|---|
| 8 | 9 | * originally shipped with Medion Digitainer but now sold separately simply as |
|---|
| 9 | 10 | * an "X10" remote. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 76 | 63 | { 0x27, KEY_RECORD }, |
|---|
| 77 | 64 | { 0x26, KEY_FORWARD }, |
|---|
| 78 | 65 | |
|---|
| 79 | | - { 0x0d, KEY_1 }, |
|---|
| 80 | | - { 0x0e, KEY_2 }, |
|---|
| 81 | | - { 0x0f, KEY_3 }, |
|---|
| 82 | | - { 0x10, KEY_4 }, |
|---|
| 83 | | - { 0x11, KEY_5 }, |
|---|
| 84 | | - { 0x12, KEY_6 }, |
|---|
| 85 | | - { 0x13, KEY_7 }, |
|---|
| 86 | | - { 0x14, KEY_8 }, |
|---|
| 87 | | - { 0x15, KEY_9 }, |
|---|
| 88 | | - { 0x17, KEY_0 }, |
|---|
| 66 | + { 0x0d, KEY_NUMERIC_1 }, |
|---|
| 67 | + { 0x0e, KEY_NUMERIC_2 }, |
|---|
| 68 | + { 0x0f, KEY_NUMERIC_3 }, |
|---|
| 69 | + { 0x10, KEY_NUMERIC_4 }, |
|---|
| 70 | + { 0x11, KEY_NUMERIC_5 }, |
|---|
| 71 | + { 0x12, KEY_NUMERIC_6 }, |
|---|
| 72 | + { 0x13, KEY_NUMERIC_7 }, |
|---|
| 73 | + { 0x14, KEY_NUMERIC_8 }, |
|---|
| 74 | + { 0x15, KEY_NUMERIC_9 }, |
|---|
| 75 | + { 0x17, KEY_NUMERIC_0 }, |
|---|
| 89 | 76 | |
|---|
| 90 | 77 | /* these do not actually exist on this remote, but these scancodes |
|---|
| 91 | 78 | * exist on all other Medion X10 remotes and adding them here allows |
|---|