1 /* asus-pc39.h - Keytable for asus_pc39 Remote Controller
3 * Imported from ir-keymaps.c
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
12 * Marc Fargas <telenieko@telenieko.com>
13 * this is the remote control that comes with the asus p7131
14 * which has a label saying is "Model PC-39"
18 static struct ir_scancode asus_pc39[] = {
31 { 0x3e, KEY_RADIO }, /* radio */
32 { 0x03, KEY_MENU }, /* dvd/menu */
33 { 0x2a, KEY_VOLUMEUP },
34 { 0x19, KEY_VOLUMEDOWN },
39 { 0x25, KEY_VIDEO }, /* video */
40 { 0x39, KEY_AUDIO }, /* music */
42 { 0x21, KEY_TV }, /* tv */
43 { 0x1d, KEY_EXIT }, /* back */
44 { 0x0a, KEY_CHANNELUP }, /* channel / program + */
45 { 0x1b, KEY_CHANNELDOWN }, /* channel / program - */
46 { 0x1a, KEY_ENTER }, /* enter */
48 { 0x06, KEY_PAUSE }, /* play/pause */
49 { 0x1e, KEY_PREVIOUS }, /* rew */
50 { 0x26, KEY_NEXT }, /* forward */
51 { 0x0e, KEY_REWIND }, /* backward << */
52 { 0x3a, KEY_FASTFORWARD }, /* forward >> */
54 { 0x2e, KEY_RECORD }, /* recording */
55 { 0x16, KEY_POWER }, /* the button that reads "close" */
57 { 0x11, KEY_ZOOM }, /* full screen */
58 { 0x13, KEY_MACRO }, /* recall */
59 { 0x23, KEY_HOME }, /* home */
60 { 0x05, KEY_PVR }, /* picture */
61 { 0x3d, KEY_MUTE }, /* mute */
62 { 0x01, KEY_DVD }, /* dvd */
64 DEFINE_LEGACY_IR_KEYTABLE(asus_pc39);
66 DECLARE_IR_KEYTABLE(asus_pc39);