Laxkit  0.0.7.1
laxkeynames.h
1 
2 
3 
4 
5 
6 
7 ***************** // there's gotta be an xlib function somewhere that returns these things
8 
9 
10 
11 const char *key_value_to_name(int key)
12 {***}
13 
14 int key_name_to_value(const char *name)
15 {***}
16 
17 
18 #define LAXKEY_NULL "NULL"
19 #define LAXKEY_Shift "Shift"
20 #define LAXKEY_Control "Control"
21 #define LAXKEY_Esc "Esc"
22 #define LAXKEY_Menu "Menu"
23 #define LAXKEY_Pause "Pause"
24 #define LAXKEY_Alt "Alt"
25 #define LAXKEY_Meta "Meta"
26 #define LAXKEY_Del "Del"
27 #define LAXKEY_Bksp "Bksp"
28 #define LAXKEY_Tab "Tab"
29 #define LAXKEY_Ins "Ins"
30 #define LAXKEY_Home "Home"
31 #define LAXKEY_End "End"
32 #define LAXKEY_Enter "Enter"
33 #define LAXKEY_Pgup "Pgup"
34 #define LAXKEY_Pgdown "Pgdown"
35 #define LAXKEY_F1 "F1"
36 #define LAXKEY_F2 "F2"
37 #define LAXKEY_F3 "F3"
38 #define LAXKEY_F4 "F4"
39 #define LAXKEY_F5 "F5"
40 #define LAXKEY_F6 "F6"
41 #define LAXKEY_F7 "F7"
42 #define LAXKEY_F8 "F8"
43 #define LAXKEY_F9 "F9"
44 #define LAXKEY_F10 "F10"
45 #define LAXKEY_F11 "F11"
46 #define LAXKEY_F12 "F12"
47 #define LAXKEY_Left "Left"
48 #define LAXKEY_Up "Up"
49 #define LAXKEY_Down "Down"
50 #define LAXKEY_Right "Right"
51 #define LAXKEY_Numlock "Numlock"
52 #define LAXKEY_Capslock "Capslock"
53 
54 
55 //The following are basically one for one with XF86XK_* from /usr/include/X11/XF86keysym.h
56 //They map various special keys found on different keyboards.
57 
58 /* Backlight controls. */
59 #define LAXKEY_MonBrightnessUp "MonBrightnessUp"
60 #define LAXKEY_MonBrightnessDown "MonBrightnessDown"
61 #define LAXKEY_KbdLightOnOff "KbdLightOnOff"
62 #define LAXKEY_KbdBrightnessUp "KbdBrightnessUp"
63 #define LAXKEY_KbdBrightnessDown "KbdBrightnessDown"
64 
65 /*
66  * Keys found on some "Internet" keyboards.
67  */
68 #define LAXKEY_Standby "Standby"
69 #define LAXKEY_AudioLowerVolume "AudioLowerVolume"
70 #define LAXKEY_AudioMute "AudioMute"
71 #define LAXKEY_AudioRaiseVolume "AudioRaiseVolume"
72 #define LAXKEY_AudioPlay "AudioPlay"
73 #define LAXKEY_AudioStop "AudioStop"
74 #define LAXKEY_AudioPrev "AudioPrev"
75 #define LAXKEY_AudioNext "AudioNext"
76 #define LAXKEY_HomePage "HomePage"
77 #define LAXKEY_Mail "Mail"
78 #define LAXKEY_Start "Start"
79 #define LAXKEY_Search "Search"
80 #define LAXKEY_AudioRecord "AudioRecord"
81 
82 /* These are sometimes found on PDA's (e.g. Palm, PocketPC or elsewhere) */
83 #define LAXKEY_Calculator "Calculator"
84 #define LAXKEY_Memo "Memo"
85 #define LAXKEY_ToDoList "ToDoList"
86 #define LAXKEY_Calendar "Calendar"
87 #define LAXKEY_PowerDown "PowerDown"
88 #define LAXKEY_ContrastAdjust "ContrastAdjust"
89 #define LAXKEY_RockerUp "RockerUp"
90 #define LAXKEY_RockerDown "RockerDown"
91 #define LAXKEY_RockerEnter "RockerEnter"
92 
93 /* Some more "Internet" keyboard symbols */
94 #define LAXKEY_Back "Back"
95 #define LAXKEY_Forward "Forward"
96 #define LAXKEY_Stop "Stop"
97 #define LAXKEY_Refresh "Refresh"
98 #define LAXKEY_PowerOff "PowerOff"
99 #define LAXKEY_WakeUp "WakeUp"
100 #define LAXKEY_Eject "Eject"
101 #define LAXKEY_ScreenSaver "ScreenSaver"
102 #define LAXKEY_WWW "WWW"
103 #define LAXKEY_Sleep "Sleep"
104 #define LAXKEY_Favorites "Favorites"
105 #define LAXKEY_AudioPause "AudioPause"
106 #define LAXKEY_AudioMedia "AudioMedia"
107 #define LAXKEY_MyComputer "MyComputer"
108 #define LAXKEY_VendorHome "VendorHome"
109 #define LAXKEY_LightBulb "LightBulb"
110 #define LAXKEY_Shop "Shop"
111 #define LAXKEY_History "History"
112 #define LAXKEY_OpenURL "OpenURL"
113 #define LAXKEY_AddFavorite "AddFavorite"
114 #define LAXKEY_HotLinks "HotLinks"
115 #define LAXKEY_BrightnessAdjust "BrightnessAdjust"
116 #define LAXKEY_Finance "Finance"
117 #define LAXKEY_Community "Community"
118 #define LAXKEY_AudioRewind "AudioRewind"
119 #define LAXKEY_BackForward "BackForward"
120 #define LAXKEY_Launch0 "Launch0"
121 #define LAXKEY_Launch1 "Launch1"
122 #define LAXKEY_Launch2 "Launch2"
123 #define LAXKEY_Launch3 "Launch3"
124 #define LAXKEY_Launch4 "Launch4"
125 #define LAXKEY_Launch5 "Launch5"
126 #define LAXKEY_Launch6 "Launch6"
127 #define LAXKEY_Launch7 "Launch7"
128 #define LAXKEY_Launch8 "Launch8"
129 #define LAXKEY_Launch9 "Launch9"
130 #define LAXKEY_LaunchA "LaunchA"
131 #define LAXKEY_LaunchB "LaunchB"
132 #define LAXKEY_LaunchC "LaunchC"
133 #define LAXKEY_LaunchD "LaunchD"
134 #define LAXKEY_LaunchE "LaunchE"
135 #define LAXKEY_LaunchF "LaunchF"
136 
137 #define LAXKEY_ApplicationLeft "ApplicationLeft"
138 #define LAXKEY_ApplicationRight "ApplicationRight"
139 #define LAXKEY_Book "Book"
140 #define LAXKEY_CD "CD"
141 #define LAXKEY_Calculater "Calculater"
142 #define LAXKEY_Clear "Clear"
143 #define LAXKEY_Close "Close"
144 #define LAXKEY_Copy "Copy"
145 #define LAXKEY_Cut "Cut"
146 #define LAXKEY_Display "Display"
147 #define LAXKEY_DOS "DOS"
148 #define LAXKEY_Documents "Documents"
149 #define LAXKEY_Excel "Excel"
150 #define LAXKEY_Explorer "Explorer"
151 #define LAXKEY_Game "Game"
152 #define LAXKEY_Go "Go"
153 #define LAXKEY_iTouch "iTouch"
154 #define LAXKEY_LogOff "LogOff"
155 #define LAXKEY_Market "Market"
156 #define LAXKEY_Meeting "Meeting"
157 #define LAXKEY_MenuKB "MenuKB"
158 #define LAXKEY_MenuPB "MenuPB"
159 #define LAXKEY_MySites "MySites"
160 #define LAXKEY_New "New"
161 #define LAXKEY_News "News"
162 #define LAXKEY_OfficeHome "OfficeHome"
163 #define LAXKEY_Open "Open"
164 #define LAXKEY_Option "Option"
165 #define LAXKEY_Paste "Paste"
166 #define LAXKEY_Phone "Phone"
167 #define LAXKEY_Q "Q"
168 #define LAXKEY_Reply "Reply"
169 #define LAXKEY_Reload "Reload"
170 #define LAXKEY_RotateWindows "RotateWindows"
171 #define LAXKEY_RotationPB "RotationPB"
172 #define LAXKEY_RotationKB "RotationKB"
173 #define LAXKEY_Save "Save"
174 #define LAXKEY_ScrollUp "ScrollUp"
175 #define LAXKEY_ScrollDown "ScrollDown"
176 #define LAXKEY_ScrollClick "ScrollClick"
177 #define LAXKEY_Send "Send"
178 #define LAXKEY_Spell "Spell"
179 #define LAXKEY_SplitScreen "SplitScreen"
180 #define LAXKEY_Support "Support"
181 #define LAXKEY_TaskPane "TaskPane"
182 #define LAXKEY_Terminal "Terminal"
183 #define LAXKEY_Tools "Tools"
184 #define LAXKEY_Travel "Travel"
185 #define LAXKEY_UserPB "UserPB"
186 #define LAXKEY_User1KB "User1KB"
187 #define LAXKEY_User2KB "User2KB"
188 #define LAXKEY_Video "Video"
189 #define LAXKEY_WheelButton "WheelButton"
190 #define LAXKEY_Word "Word"
191 #define LAXKEY_Xfer "Xfer"
192 #define LAXKEY_ZoomIn "ZoomIn"
193 #define LAXKEY_ZoomOut "ZoomOut"
194 
195 #define LAXKEY_Away "Away"
196 #define LAXKEY_Messenger "Messenger"
197 #define LAXKEY_WebCam "WebCam"
198 #define LAXKEY_MailForward "MailForward"
199 #define LAXKEY_Pictures "Pictures"
200 #define LAXKEY_Music "Music"
201 
202 #define LAXKEY_Battery "Battery"
203 #define LAXKEY_Bluetooth "Bluetooth"
204 #define LAXKEY_WLAN "WLAN"
205 #define LAXKEY_UWB "UWB"
206 
207 #define LAXKEY_AudioForward "AudioForward"
208 #define LAXKEY_AudioRepeat "AudioRepeat"
209 #define LAXKEY_AudioRandomPlay "AudioRandomPlay"
210 #define LAXKEY_Subtitle "Subtitle"
211 #define LAXKEY_AudioCycleTrack "AudioCycleTrack"
212 #define LAXKEY_CycleAngle "CycleAngle"
213 #define LAXKEY_FrameBack "FrameBack"
214 #define LAXKEY_FrameForward "FrameForward"
215 #define LAXKEY_Time "Time"
216 #define LAXKEY_Select "Select"
217 #define LAXKEY_View "View"
218 #define LAXKEY_TopMenu "TopMenu"
219 
220 #define LAXKEY_Red "Red"
221 #define LAXKEY_Green "Green"
222 #define LAXKEY_Yellow "Yellow"
223 #define LAXKEY_Blue "Blue"
224 
225 #define LAXKEY_Suspend "Suspend"
226 #define LAXKEY_Hibernate "Hibernate"
227 #define LAXKEY_TouchpadToggle "TouchpadToggle"
228 #define LAXKEY_TouchpadOn "TouchpadOn"
229 #define LAXKEY_TouchpadOff "TouchpadOff"
230 
231 /* Keys for special action keys (hot keys) */
232 /* Virtual terminals on some operating systems */
233 #define LAXKEY_Switch_VT_1 "Switch_VT_1"
234 #define LAXKEY_Switch_VT_2 "Switch_VT_2"
235 #define LAXKEY_Switch_VT_3 "Switch_VT_3"
236 #define LAXKEY_Switch_VT_4 "Switch_VT_4"
237 #define LAXKEY_Switch_VT_5 "Switch_VT_5"
238 #define LAXKEY_Switch_VT_6 "Switch_VT_6"
239 #define LAXKEY_Switch_VT_7 "Switch_VT_7"
240 #define LAXKEY_Switch_VT_8 "Switch_VT_8"
241 #define LAXKEY_Switch_VT_9 "Switch_VT_9"
242 #define LAXKEY_Switch_VT_10 "Switch_VT_10"
243 #define LAXKEY_Switch_VT_11 "Switch_VT_11"
244 #define LAXKEY_Switch_VT_12 "Switch_VT_12"
245 
246 #define LAXKEY_Ungrab "Ungrab"
247 #define LAXKEY_ClearGrab "ClearGrab"
248 #define LAXKEY_Next_VMode "Next_VMode"
249 #define LAXKEY_Prev_VMode "Prev_VMode"
250 #define LAXKEY_LogWindowTree "LogWindowTree"
251 #define LAXKEY_LogGrabInfo "LogGrabInfo"

Mon Feb 17 2014 11:52:56, Laxkit