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_KEY( KED_MENU, KEY_HOME)
72 IARM_TO_LINUX_KEY( KED_GUIDE,KEY_HOME)
73 IARM_TO_LINUX_KEY( KED_INFO, KEY_F9)
74 IARM_TO_LINUX_KEY( KED_STAR, KEY_F6)
75 IARM_TO_LINUX_KEY( KED_INFO, KEY_F9)
76 IARM_TO_LINUX_KEY( KED_TVPOWER, KEY_F1)
77 IARM_TO_LINUX_KEY( KED_INPUTKEY, KEY_F15)
78 IARM_TO_LINUX_KEY( KED_OK, KEY_OK)
79 IARM_TO_LINUX_KEY( KED_SELECT, KEY_ENTER)
80 IARM_TO_LINUX_KEY( KED_EXIT, KEY_ESC)
81 IARM_TO_LINUX_KEY( KED_PERIOD, KEY_F5)
82 IARM_TO_LINUX_KEY( KED_PUSH_TO_TALK, KEY_F8)
83 IARM_TO_LINUX_KEY( KED_POWER, KEY_POWER)
84 IARM_TO_LINUX_CTL( KED_CHANNELUP, KEY_UP)
85 IARM_TO_LINUX_CTL( KED_CHANNELDOWN, KEY_DOWN)
86 IARM_TO_LINUX_KEY( KED_VOLUMEUP, KEY_KPPLUS)
87 IARM_TO_LINUX_KEY( KED_VOLUMEDOWN, KEY_KPMINUS)
88 IARM_TO_LINUX_KEY( KED_MUTE, KEY_KPASTERISK)
89 IARM_TO_LINUX_KEY( KED_DIGIT1, KEY_1)
90 IARM_TO_LINUX_KEY( KED_DIGIT2, KEY_2)
91 IARM_TO_LINUX_KEY( KED_DIGIT3, KEY_3)
92 IARM_TO_LINUX_KEY( KED_DIGIT4, KEY_4)
93 IARM_TO_LINUX_KEY( KED_DIGIT5, KEY_5)
94 IARM_TO_LINUX_KEY( KED_DIGIT6, KEY_6)
95 IARM_TO_LINUX_KEY( KED_DIGIT7, KEY_7)
96 IARM_TO_LINUX_KEY( KED_DIGIT8, KEY_8)
97 IARM_TO_LINUX_KEY( KED_DIGIT9, KEY_9)
98 IARM_TO_LINUX_KEY( KED_DIGIT0, KEY_0)
99 IARM_TO_LINUX_KEY( KED_FASTFORWARD, KEY_F12)
100 IARM_TO_LINUX_KEY( KED_REWIND, KEY_F10)
101 IARM_TO_LINUX_KEY( KED_PAUSE, KEY_F11)
102 IARM_TO_LINUX_KEY( KED_PLAY, KEY_F11)
103 IARM_TO_LINUX_CTL( KED_STOP, KEY_S)
104 IARM_TO_LINUX_KEY( KED_RECORD, KEY_F7)
105 IARM_TO_LINUX_KEY( KED_ARROWUP, KEY_UP)
106 IARM_TO_LINUX_KEY( KED_ARROWDOWN, KEY_DOWN)
107 IARM_TO_LINUX_KEY( KED_ARROWLEFT, KEY_LEFT)
108 IARM_TO_LINUX_KEY( KED_ARROWRIGHT, KEY_RIGHT)
109 IARM_TO_LINUX_KEY( KED_PAGEUP, KEY_PAGEUP)
110 IARM_TO_LINUX_KEY( KED_PAGEDOWN, KEY_PAGEDOWN)
111 IARM_TO_LINUX_CTL( KED_LAST, KEY_L)
112 IARM_TO_LINUX_CTL( KED_FAVORITE, KEY_N)
113 IARM_TO_LINUX_KEY( KED_KEYA, KEY_INSERT)
114 IARM_TO_LINUX_KEY( KED_KEYB, KEY_END)
115 IARM_TO_LINUX_KEY( KED_KEYC, KEY_F4)
116 IARM_TO_LINUX_KEY( KED_KEYD, KEY_DELETE)
117 IARM_TO_LINUX_KEY( KED_HELP, KEY_F2)
118 IARM_TO_LINUX_KEY( KED_SETUP, KEY_SETUP)
119 IARM_TO_LINUX_KEY( KED_NEXT, KEY_NEXT)
120 IARM_TO_LINUX_KEY( KED_PREVIOUS, KEY_PREVIOUS)
121 IARM_TO_LINUX_KEY( KED_ONDEMAND, KEY_F5)
122 IARM_TO_LINUX_KEY( KED_POUND, KEY_BATTERY)
123 IARM_TO_LINUX_KEY( KED_AUDIO, KEY_F23)
124 IARM_TO_LINUX_KEY( KED_CLOSED_CAPTIONING, KEY_F24)
126 IARM_TO_LINUX_CTL( KED_REPLAY, KEY_B)
127 IARM_TO_LINUX_KEY( KED_SEARCH, KEY_F3)
129 IARM_TO_LINUX_KEY( KED_RF_PAIR_GHOST, KEY_BLUETOOTH)
132 IARM_TO_LINUX_KEY( KED_UNDEFINEDKEY, KEY_UNKNOWN)