|
Lines 200-267
Link Here
|
| 200 |
|
200 |
|
| 201 |
// the next lines are taken from XFree > 4.0 (X11/XF86keysyms.h), defining some special |
201 |
// the next lines are taken from XFree > 4.0 (X11/XF86keysyms.h), defining some special |
| 202 |
// multimedia keys. They are included here as not every system has them. |
202 |
// multimedia keys. They are included here as not every system has them. |
| 203 |
#define XF86XK_Standby 0x1008FF10 |
203 |
#define XF86XK_MonBrightnessUp 0x1008FF02 |
| 204 |
#define XF86XK_AudioLowerVolume 0x1008FF11 |
204 |
#define XF86XK_MonBrightnessDown 0x1008FF03 |
| 205 |
#define XF86XK_AudioMute 0x1008FF12 |
205 |
#define XF86XK_KbdLightOnOff 0x1008FF04 |
| 206 |
#define XF86XK_AudioRaiseVolume 0x1008FF13 |
206 |
#define XF86XK_KbdBrightnessUp 0x1008FF05 |
| 207 |
#define XF86XK_AudioPlay 0x1008FF14 |
207 |
#define XF86XK_KbdBrightnessDown 0x1008FF06 |
| 208 |
#define XF86XK_AudioStop 0x1008FF15 |
208 |
#define XF86XK_Standby 0x1008FF10 |
| 209 |
#define XF86XK_AudioPrev 0x1008FF16 |
209 |
#define XF86XK_AudioLowerVolume 0x1008FF11 |
| 210 |
#define XF86XK_AudioNext 0x1008FF17 |
210 |
#define XF86XK_AudioMute 0x1008FF12 |
| 211 |
#define XF86XK_HomePage 0x1008FF18 |
211 |
#define XF86XK_AudioRaiseVolume 0x1008FF13 |
| 212 |
#define XF86XK_Calculator 0x1008FF1D |
212 |
#define XF86XK_AudioPlay 0x1008FF14 |
| 213 |
#define XF86XK_Mail 0x1008FF19 |
213 |
#define XF86XK_AudioStop 0x1008FF15 |
| 214 |
#define XF86XK_Start 0x1008FF1A |
214 |
#define XF86XK_AudioPrev 0x1008FF16 |
| 215 |
#define XF86XK_Search 0x1008FF1B |
215 |
#define XF86XK_AudioNext 0x1008FF17 |
| 216 |
#define XF86XK_AudioRecord 0x1008FF1C |
216 |
#define XF86XK_HomePage 0x1008FF18 |
| 217 |
#define XF86XK_Back 0x1008FF26 |
217 |
#define XF86XK_Mail 0x1008FF19 |
| 218 |
#define XF86XK_Forward 0x1008FF27 |
218 |
#define XF86XK_Start 0x1008FF1A |
| 219 |
#define XF86XK_Stop 0x1008FF28 |
219 |
#define XF86XK_Search 0x1008FF1B |
| 220 |
#define XF86XK_Refresh 0x1008FF29 |
220 |
#define XF86XK_AudioRecord 0x1008FF1C |
| 221 |
#define XF86XK_Favorites 0x1008FF30 |
221 |
#define XF86XK_Calculator 0x1008FF1D |
| 222 |
#define XF86XK_AudioPause 0x1008FF31 |
222 |
#define XF86XK_Memo 0x1008FF1E |
| 223 |
#define XF86XK_AudioMedia 0x1008FF32 |
223 |
#define XF86XK_ToDoList 0x1008FF1F |
| 224 |
#define XF86XK_MyComputer 0x1008FF33 |
224 |
#define XF86XK_Calendar 0x1008FF20 |
| 225 |
#define XF86XK_OpenURL 0x1008FF38 |
225 |
#define XF86XK_PowerDown 0x1008FF21 |
| 226 |
#define XF86XK_Launch0 0x1008FF40 |
226 |
#define XF86XK_ContrastAdjust 0x1008FF22 |
| 227 |
#define XF86XK_Launch1 0x1008FF41 |
227 |
#define XF86XK_Back 0x1008FF26 |
| 228 |
#define XF86XK_Launch2 0x1008FF42 |
228 |
#define XF86XK_Forward 0x1008FF27 |
| 229 |
#define XF86XK_Launch3 0x1008FF43 |
229 |
#define XF86XK_Stop 0x1008FF28 |
| 230 |
#define XF86XK_Launch4 0x1008FF44 |
230 |
#define XF86XK_Refresh 0x1008FF29 |
| 231 |
#define XF86XK_Launch5 0x1008FF45 |
231 |
#define XF86XK_PowerOff 0x1008FF2A |
| 232 |
#define XF86XK_Launch6 0x1008FF46 |
232 |
#define XF86XK_WakeUp 0x1008FF2B |
| 233 |
#define XF86XK_Launch7 0x1008FF47 |
233 |
#define XF86XK_Eject 0x1008FF2C |
| 234 |
#define XF86XK_Launch8 0x1008FF48 |
234 |
#define XF86XK_ScreenSaver 0x1008FF2D |
| 235 |
#define XF86XK_Launch9 0x1008FF49 |
235 |
#define XF86XK_WWW 0x1008FF2E |
| 236 |
#define XF86XK_LaunchA 0x1008FF4A |
236 |
#define XF86XK_Sleep 0x1008FF2F |
| 237 |
#define XF86XK_LaunchB 0x1008FF4B |
237 |
#define XF86XK_Favorites 0x1008FF30 |
| 238 |
#define XF86XK_LaunchC 0x1008FF4C |
238 |
#define XF86XK_AudioPause 0x1008FF31 |
| 239 |
#define XF86XK_LaunchD 0x1008FF4D |
239 |
#define XF86XK_AudioMedia 0x1008FF32 |
| 240 |
#define XF86XK_LaunchE 0x1008FF4E |
240 |
#define XF86XK_MyComputer 0x1008FF33 |
| 241 |
#define XF86XK_LaunchF 0x1008FF4F |
241 |
#define XF86XK_LightBulb 0x1008FF35 |
| 242 |
// end of XF86keysyms.h |
242 |
#define XF86XK_Shop 0x1008FF36 |
|
|
243 |
#define XF86XK_History 0x1008FF37 |
| 244 |
#define XF86XK_OpenURL 0x1008FF38 |
| 245 |
#define XF86XK_AddFavorite 0x1008FF39 |
| 246 |
#define XF86XK_HotLinks 0x1008FF3A |
| 247 |
#define XF86XK_BrightnessAdjust 0x1008FF3B |
| 248 |
#define XF86XK_Finance 0x1008FF3C |
| 249 |
#define XF86XK_Community 0x1008FF3D |
| 250 |
#define XF86XK_AudioRewind 0x1008FF3E |
| 251 |
#define XF86XK_BackForward 0x1008FF3F |
| 252 |
#define XF86XK_Launch0 0x1008FF40 |
| 253 |
#define XF86XK_Launch1 0x1008FF41 |
| 254 |
#define XF86XK_Launch2 0x1008FF42 |
| 255 |
#define XF86XK_Launch3 0x1008FF43 |
| 256 |
#define XF86XK_Launch4 0x1008FF44 |
| 257 |
#define XF86XK_Launch5 0x1008FF45 |
| 258 |
#define XF86XK_Launch6 0x1008FF46 |
| 259 |
#define XF86XK_Launch7 0x1008FF47 |
| 260 |
#define XF86XK_Launch8 0x1008FF48 |
| 261 |
#define XF86XK_Launch9 0x1008FF49 |
| 262 |
#define XF86XK_LaunchA 0x1008FF4A |
| 263 |
#define XF86XK_LaunchB 0x1008FF4B |
| 264 |
#define XF86XK_LaunchC 0x1008FF4C |
| 265 |
#define XF86XK_LaunchD 0x1008FF4D |
| 266 |
#define XF86XK_LaunchE 0x1008FF4E |
| 267 |
#define XF86XK_LaunchF 0x1008FF4F |
| 268 |
#define XF86XK_ApplicationLeft 0x1008FF50 |
| 269 |
#define XF86XK_ApplicationRight 0x1008FF51 |
| 270 |
#define XF86XK_Book 0x1008FF52 |
| 271 |
#define XF86XK_CD 0x1008FF53 |
| 272 |
#define XF86XK_Calculater 0x1008FF54 |
| 273 |
#define XF86XK_Clear 0x1008FF55 |
| 274 |
#define XF86XK_ClearGrab 0x1008FE21 |
| 275 |
#define XF86XK_Close 0x1008FF56 |
| 276 |
#define XF86XK_Copy 0x1008FF57 |
| 277 |
#define XF86XK_Cut 0x1008FF58 |
| 278 |
#define XF86XK_Display 0x1008FF59 |
| 279 |
#define XF86XK_DOS 0x1008FF5A |
| 280 |
#define XF86XK_Documents 0x1008FF5B |
| 281 |
#define XF86XK_Excel 0x1008FF5C |
| 282 |
#define XF86XK_Explorer 0x1008FF5D |
| 283 |
#define XF86XK_Game 0x1008FF5E |
| 284 |
#define XF86XK_Go 0x1008FF5F |
| 285 |
#define XF86XK_iTouch 0x1008FF60 |
| 286 |
#define XF86XK_LogOff 0x1008FF61 |
| 287 |
#define XF86XK_Market 0x1008FF62 |
| 288 |
#define XF86XK_Meeting 0x1008FF63 |
| 289 |
#define XF86XK_MenuKB 0x1008FF65 |
| 290 |
#define XF86XK_MenuPB 0x1008FF66 |
| 291 |
#define XF86XK_MySites 0x1008FF67 |
| 292 |
#define XF86XK_News 0x1008FF69 |
| 293 |
#define XF86XK_OfficeHome 0x1008FF6A |
| 294 |
#define XF86XK_Option 0x1008FF6C |
| 295 |
#define XF86XK_Paste 0x1008FF6D |
| 296 |
#define XF86XK_Phone 0x1008FF6E |
| 297 |
#define XF86XK_Reply 0x1008FF72 |
| 298 |
#define XF86XK_Reload 0x1008FF73 |
| 299 |
#define XF86XK_RotateWindows 0x1008FF74 |
| 300 |
#define XF86XK_RotationPB 0x1008FF75 |
| 301 |
#define XF86XK_RotationKB 0x1008FF76 |
| 302 |
#define XF86XK_Save 0x1008FF77 |
| 303 |
#define XF86XK_Send 0x1008FF7B |
| 304 |
#define XF86XK_Spell 0x1008FF7C |
| 305 |
#define XF86XK_SplitScreen 0x1008FF7D |
| 306 |
#define XF86XK_Support 0x1008FF7E |
| 307 |
#define XF86XK_TaskPane 0x1008FF7F |
| 308 |
#define XF86XK_Terminal 0x1008FF80 |
| 309 |
#define XF86XK_Tools 0x1008FF81 |
| 310 |
#define XF86XK_Travel 0x1008FF82 |
| 311 |
#define XF86XK_Video 0x1008FF87 |
| 312 |
#define XF86XK_Word 0x1008FF89 |
| 313 |
#define XF86XK_Xfer 0x1008FF8A |
| 314 |
#define XF86XK_ZoomIn 0x1008FF8B |
| 315 |
#define XF86XK_ZoomOut 0x1008FF8C |
| 316 |
#define XF86XK_Away 0x1008FF8D |
| 317 |
#define XF86XK_Messenger 0x1008FF8E |
| 318 |
#define XF86XK_WebCam 0x1008FF8F |
| 319 |
#define XF86XK_MailForward 0x1008FF90 |
| 320 |
#define XF86XK_Pictures 0x1008FF91 |
| 321 |
#define XF86XK_Music 0x1008FF92 |
| 322 |
#define XF86XK_Battery 0x1008FF93 |
| 323 |
#define XF86XK_Bluetooth 0x1008FF94 |
| 324 |
#define XF86XK_WLAN 0x1008FF95 |
| 325 |
#define XF86XK_UWB 0x1008FF96 |
| 326 |
#define XF86XK_AudioForward 0x1008FF97 |
| 327 |
#define XF86XK_AudioRepeat 0x1008FF98 |
| 328 |
#define XF86XK_AudioRandomPlay 0x1008FF99 |
| 329 |
#define XF86XK_Subtitle 0x1008FF9A |
| 330 |
#define XF86XK_AudioCycleTrack 0x1008FF9B |
| 331 |
#define XF86XK_Time 0x1008FF9F |
| 332 |
#define XF86XK_Select 0x1008FFA0 |
| 333 |
#define XF86XK_View 0x1008FFA1 |
| 334 |
#define XF86XK_TopMenu 0x1008FFA2 |
| 335 |
#define XF86XK_Suspend 0x1008FFA7 |
| 336 |
#define XF86XK_Hibernate 0x1008FFA8 |
| 337 |
// end of XF86keysyms.h |
| 243 |
, |
338 |
, |
| 244 |
{ Qt::Key_Standby, XF86XK_Standby }, |
|
|
| 245 |
{ Qt::Key_VolumeDown, XF86XK_AudioLowerVolume }, |
339 |
{ Qt::Key_VolumeDown, XF86XK_AudioLowerVolume }, |
|
|
340 |
{ Qt::Key_LaunchMail, XF86XK_Mail }, |
| 341 |
{ Qt::Key_Calculator, XF86XK_Calculator }, |
| 342 |
{ Qt::Key_Memo, XF86XK_Memo }, |
| 343 |
{ Qt::Key_ToDoList, XF86XK_ToDoList }, |
| 344 |
{ Qt::Key_Calendar, XF86XK_Calendar }, |
| 345 |
{ Qt::Key_PowerDown, XF86XK_PowerDown }, |
| 346 |
{ Qt::Key_ContrastAdjust, XF86XK_ContrastAdjust }, |
| 347 |
{ Qt::Key_Standby, XF86XK_Standby }, |
| 348 |
{ Qt::Key_MonBrightnessUp, XF86XK_MonBrightnessUp }, |
| 349 |
{ Qt::Key_MonBrightnessDown, XF86XK_MonBrightnessDown }, |
| 350 |
{ Qt::Key_KeyboardLightOnOff, XF86XK_KbdLightOnOff }, |
| 351 |
{ Qt::Key_KeyboardBrightnessUp, XF86XK_KbdBrightnessUp }, |
| 352 |
{ Qt::Key_KeyboardBrightnessDown, XF86XK_KbdBrightnessDown }, |
| 353 |
{ Qt::Key_PowerOff, XF86XK_PowerOff }, |
| 354 |
{ Qt::Key_WakeUp, XF86XK_WakeUp }, |
| 355 |
{ Qt::Key_Eject, XF86XK_Eject }, |
| 356 |
{ Qt::Key_ScreenSaver, XF86XK_ScreenSaver }, |
| 357 |
{ Qt::Key_WWW, XF86XK_WWW }, |
| 358 |
{ Qt::Key_Sleep, XF86XK_Sleep }, |
| 359 |
{ Qt::Key_LightBulb, XF86XK_LightBulb }, |
| 360 |
{ Qt::Key_Shop, XF86XK_Shop }, |
| 361 |
{ Qt::Key_History, XF86XK_History }, |
| 362 |
{ Qt::Key_AddFavorite, XF86XK_AddFavorite }, |
| 363 |
{ Qt::Key_HotLinks, XF86XK_HotLinks }, |
| 364 |
{ Qt::Key_BrightnessAdjust, XF86XK_BrightnessAdjust }, |
| 365 |
{ Qt::Key_Finance, XF86XK_Finance }, |
| 366 |
{ Qt::Key_Community, XF86XK_Community }, |
| 367 |
{ Qt::Key_AudioRewind, XF86XK_AudioRewind }, |
| 368 |
{ Qt::Key_BackForward, XF86XK_BackForward }, |
| 369 |
{ Qt::Key_ApplicationLeft, XF86XK_ApplicationLeft }, |
| 370 |
{ Qt::Key_ApplicationRight, XF86XK_ApplicationRight }, |
| 371 |
{ Qt::Key_Book, XF86XK_Book }, |
| 372 |
{ Qt::Key_CD, XF86XK_CD }, |
| 373 |
{ Qt::Key_Calculator, XF86XK_Calculater }, |
| 374 |
{ Qt::Key_Clear, XF86XK_Clear }, |
| 375 |
{ Qt::Key_ClearGrab, XF86XK_ClearGrab }, |
| 376 |
{ Qt::Key_Close, XF86XK_Close }, |
| 377 |
{ Qt::Key_Copy, XF86XK_Copy }, |
| 378 |
{ Qt::Key_Cut, XF86XK_Cut }, |
| 379 |
{ Qt::Key_Display, XF86XK_Display }, |
| 380 |
{ Qt::Key_DOS, XF86XK_DOS }, |
| 381 |
{ Qt::Key_Documents, XF86XK_Documents }, |
| 382 |
{ Qt::Key_Excel, XF86XK_Excel }, |
| 383 |
{ Qt::Key_Explorer, XF86XK_Explorer }, |
| 384 |
{ Qt::Key_Game, XF86XK_Game }, |
| 385 |
{ Qt::Key_Go, XF86XK_Go }, |
| 386 |
{ Qt::Key_iTouch, XF86XK_iTouch }, |
| 387 |
{ Qt::Key_LogOff, XF86XK_LogOff }, |
| 388 |
{ Qt::Key_Market, XF86XK_Market }, |
| 389 |
{ Qt::Key_Meeting, XF86XK_Meeting }, |
| 390 |
{ Qt::Key_MenuKB, XF86XK_MenuKB }, |
| 391 |
{ Qt::Key_MenuPB, XF86XK_MenuPB }, |
| 392 |
{ Qt::Key_MySites, XF86XK_MySites }, |
| 393 |
{ Qt::Key_News, XF86XK_News }, |
| 394 |
{ Qt::Key_OfficeHome, XF86XK_OfficeHome }, |
| 395 |
{ Qt::Key_Option, XF86XK_Option }, |
| 396 |
{ Qt::Key_Paste, XF86XK_Paste }, |
| 397 |
{ Qt::Key_Phone, XF86XK_Phone }, |
| 398 |
{ Qt::Key_Reply, XF86XK_Reply }, |
| 399 |
{ Qt::Key_Reload, XF86XK_Reload }, |
| 400 |
{ Qt::Key_RotateWindows, XF86XK_RotateWindows }, |
| 401 |
{ Qt::Key_RotationPB, XF86XK_RotationPB }, |
| 402 |
{ Qt::Key_RotationKB, XF86XK_RotationKB }, |
| 403 |
{ Qt::Key_Save, XF86XK_Save }, |
| 404 |
{ Qt::Key_Send, XF86XK_Send }, |
| 405 |
{ Qt::Key_Spell, XF86XK_Spell }, |
| 406 |
{ Qt::Key_SplitScreen, XF86XK_SplitScreen }, |
| 407 |
{ Qt::Key_Support, XF86XK_Support }, |
| 408 |
{ Qt::Key_TaskPane, XF86XK_TaskPane }, |
| 409 |
{ Qt::Key_Terminal, XF86XK_Terminal }, |
| 410 |
{ Qt::Key_Tools, XF86XK_Tools }, |
| 411 |
{ Qt::Key_Travel, XF86XK_Travel }, |
| 412 |
{ Qt::Key_Video, XF86XK_Video }, |
| 413 |
{ Qt::Key_Word, XF86XK_Word }, |
| 414 |
{ Qt::Key_Xfer, XF86XK_Xfer }, |
| 415 |
{ Qt::Key_ZoomIn, XF86XK_ZoomIn }, |
| 416 |
{ Qt::Key_ZoomOut, XF86XK_ZoomOut }, |
| 417 |
{ Qt::Key_Away, XF86XK_Away }, |
| 418 |
{ Qt::Key_Messenger, XF86XK_Messenger }, |
| 419 |
{ Qt::Key_WebCam, XF86XK_WebCam }, |
| 420 |
{ Qt::Key_MailForward, XF86XK_MailForward }, |
| 421 |
{ Qt::Key_Pictures, XF86XK_Pictures }, |
| 422 |
{ Qt::Key_Music, XF86XK_Music }, |
| 423 |
{ Qt::Key_Battery, XF86XK_Battery }, |
| 424 |
{ Qt::Key_Bluetooth, XF86XK_Bluetooth }, |
| 425 |
{ Qt::Key_WLAN, XF86XK_WLAN }, |
| 426 |
{ Qt::Key_UWB, XF86XK_UWB }, |
| 427 |
{ Qt::Key_AudioForward, XF86XK_AudioForward }, |
| 428 |
{ Qt::Key_AudioRepeat, XF86XK_AudioRepeat }, |
| 429 |
{ Qt::Key_AudioRandomPlay, XF86XK_AudioRandomPlay }, |
| 430 |
{ Qt::Key_Subtitle, XF86XK_Subtitle }, |
| 431 |
{ Qt::Key_AudioCycleTrack, XF86XK_AudioCycleTrack }, |
| 432 |
{ Qt::Key_Time, XF86XK_Time }, |
| 433 |
{ Qt::Key_Select, XF86XK_Select }, |
| 434 |
{ Qt::Key_View, XF86XK_View }, |
| 435 |
{ Qt::Key_TopMenu, XF86XK_TopMenu }, |
| 436 |
{ Qt::Key_Bluetooth, XF86XK_Bluetooth }, |
| 437 |
{ Qt::Key_Suspend, XF86XK_Suspend }, |
| 438 |
{ Qt::Key_Hibernate, XF86XK_Hibernate }, |
| 246 |
{ Qt::Key_VolumeMute, XF86XK_AudioMute }, |
439 |
{ Qt::Key_VolumeMute, XF86XK_AudioMute }, |
| 247 |
{ Qt::Key_VolumeUp, XF86XK_AudioRaiseVolume }, |
440 |
{ Qt::Key_VolumeUp, XF86XK_AudioRaiseVolume }, |
| 248 |
{ Qt::Key_MediaPlay, XF86XK_AudioPlay }, |
441 |
{ Qt::Key_MediaPlay, XF86XK_AudioPlay }, |
| 249 |
{ Qt::Key_MediaStop, XF86XK_AudioStop }, |
442 |
{ Qt::Key_MediaStop, XF86XK_AudioStop }, |
| 250 |
{ Qt::Key_MediaPrevious, XF86XK_AudioPrev }, |
443 |
{ Qt::Key_MediaPrevious, XF86XK_AudioPrev }, |
| 251 |
{ Qt::Key_MediaNext, XF86XK_AudioNext }, |
444 |
{ Qt::Key_MediaNext, XF86XK_AudioNext }, |
| 252 |
{ Qt::Key_HomePage, XF86XK_HomePage }, |
|
|
| 253 |
{ Qt::Key_LaunchMail, XF86XK_Mail }, |
| 254 |
{ Qt::Key_Search, XF86XK_Search }, |
| 255 |
{ Qt::Key_MediaRecord, XF86XK_AudioRecord }, |
445 |
{ Qt::Key_MediaRecord, XF86XK_AudioRecord }, |
| 256 |
{ Qt::Key_LaunchMedia, XF86XK_AudioMedia }, |
|
|
| 257 |
{ Qt::Key_Launch1, XF86XK_Calculator }, |
| 258 |
{ Qt::Key_Back, XF86XK_Back }, |
| 259 |
{ Qt::Key_Forward, XF86XK_Forward }, |
| 260 |
{ Qt::Key_Stop, XF86XK_Stop }, |
| 261 |
{ Qt::Key_Refresh, XF86XK_Refresh }, |
| 262 |
{ Qt::Key_Favorites, XF86XK_Favorites }, |
| 263 |
{ Qt::Key_Launch0, XF86XK_MyComputer }, |
446 |
{ Qt::Key_Launch0, XF86XK_MyComputer }, |
| 264 |
{ Qt::Key_OpenUrl, XF86XK_OpenURL }, |
|
|
| 265 |
{ Qt::Key_Launch2, XF86XK_Launch0 }, |
447 |
{ Qt::Key_Launch2, XF86XK_Launch0 }, |
| 266 |
{ Qt::Key_Launch3, XF86XK_Launch1 }, |
448 |
{ Qt::Key_Launch3, XF86XK_Launch1 }, |
| 267 |
{ Qt::Key_Launch4, XF86XK_Launch2 }, |
449 |
{ Qt::Key_Launch4, XF86XK_Launch2 }, |