42 #ifndef _IARM_IR_KEYCODES_H_
43 #define _IARM_IR_KEYCODES_H_
46 #include <linux/input.h>
48 #include "comcastIrKeyCodes.h"
54 #define _KEY_INVALID (KEY_RESERVED)
62 #define IARM_TO_LINUX_KEY(iCode, uCode) { iCode, uCode, _KEY_INVALID},
63 #define IARM_TO_LINUX_CTL(iCode, uCode) { iCode, uCode, KEY_LEFTCTRL},
71 IARM_TO_LINUX_CTL( KED_MENU, KEY_M)
72 IARM_TO_LINUX_CTL( KED_GUIDE,KEY_G)
73 IARM_TO_LINUX_CTL( KED_INFO, KEY_I)
74 IARM_TO_LINUX_KEY( KED_ENTER, KEY_ENTER)
75 IARM_TO_LINUX_KEY( KED_OK, KEY_OK)
76 IARM_TO_LINUX_KEY( KED_SELECT, KEY_ENTER)
77 IARM_TO_LINUX_CTL( KED_EXIT, KEY_E)
78 IARM_TO_LINUX_KEY( KED_POWER, KEY_POWER)
79 IARM_TO_LINUX_CTL( KED_CHANNELUP, KEY_UP)
80 IARM_TO_LINUX_CTL( KED_CHANNELDOWN, KEY_DOWN)
81 IARM_TO_LINUX_CTL( KED_VOLUMEUP, KEY_U)
82 IARM_TO_LINUX_CTL( KED_VOLUMEDOWN, KEY_D)
83 IARM_TO_LINUX_CTL( KED_MUTE, KEY_Y)
84 IARM_TO_LINUX_KEY( KED_DIGIT1, KEY_1)
85 IARM_TO_LINUX_KEY( KED_DIGIT2, KEY_2)
86 IARM_TO_LINUX_KEY( KED_DIGIT3, KEY_3)
87 IARM_TO_LINUX_KEY( KED_DIGIT4, KEY_4)
88 IARM_TO_LINUX_KEY( KED_DIGIT5, KEY_5)
89 IARM_TO_LINUX_KEY( KED_DIGIT6, KEY_6)
90 IARM_TO_LINUX_KEY( KED_DIGIT7, KEY_7)
91 IARM_TO_LINUX_KEY( KED_DIGIT8, KEY_8)
92 IARM_TO_LINUX_KEY( KED_DIGIT9, KEY_9)
93 IARM_TO_LINUX_KEY( KED_DIGIT0, KEY_0)
94 IARM_TO_LINUX_CTL( KED_FASTFORWARD, KEY_F)
95 IARM_TO_LINUX_CTL( KED_REWIND, KEY_W)
96 IARM_TO_LINUX_CTL( KED_PAUSE, KEY_P)
97 IARM_TO_LINUX_CTL( KED_PLAY, KEY_P)
98 IARM_TO_LINUX_CTL( KED_STOP, KEY_S)
99 IARM_TO_LINUX_CTL( KED_RECORD, KEY_R)
100 IARM_TO_LINUX_KEY( KED_ARROWUP, KEY_UP)
101 IARM_TO_LINUX_KEY( KED_ARROWDOWN, KEY_DOWN)
102 IARM_TO_LINUX_KEY( KED_ARROWLEFT, KEY_LEFT)
103 IARM_TO_LINUX_KEY( KED_ARROWRIGHT, KEY_RIGHT)
104 IARM_TO_LINUX_KEY( KED_PAGEUP, KEY_PAGEUP)
105 IARM_TO_LINUX_KEY( KED_PAGEDOWN, KEY_PAGEDOWN)
106 IARM_TO_LINUX_CTL( KED_LAST, KEY_L)
107 IARM_TO_LINUX_CTL( KED_FAVORITE, KEY_N)
108 IARM_TO_LINUX_CTL( KED_KEYA, KEY_0)
109 IARM_TO_LINUX_CTL( KED_KEYB, KEY_1)
110 IARM_TO_LINUX_CTL( KED_KEYC, KEY_2)
111 IARM_TO_LINUX_CTL( KED_KEYD, KEY_3)
112 IARM_TO_LINUX_KEY( KED_HELP, KEY_HELP)
113 IARM_TO_LINUX_KEY( KED_SETUP, KEY_SETUP)
114 IARM_TO_LINUX_KEY( KED_NEXT, KEY_NEXT)
115 IARM_TO_LINUX_KEY( KED_PREVIOUS, KEY_PREVIOUS)
116 IARM_TO_LINUX_CTL( KED_ONDEMAND, KEY_O)
117 IARM_TO_LINUX_CTL( KED_REPLAY, KEY_B)
118 IARM_TO_LINUX_CTL( KED_SEARCH, KEY_C)
119 IARM_TO_LINUX_KEY( KED_PROGRAM, KEY_KPASTERISK)
122 IARM_TO_LINUX_KEY( KED_UNDEFINEDKEY, KEY_UNKNOWN)