- Timestamp:
- Nov 24, 2008 9:34:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/QIHotKeyEdit.cpp
r13599 r14548 373 373 { 374 374 #if defined (Q_WS_WIN32) 375 /* stupid MapVirtualKey doesn't distinguish between right and left 376 * vkeys, even under XP, despite that it stated in msdn. do it by 377 * hand. */ 375 /* Stupid MapVirtualKey doesn't distinguish between right and left 376 * vkeys, even under XP, despite that it stated in msdn. Do it by 377 * hands. Besides that it can't recognize such virtual keys as 378 * VK_DIVIDE & VK_PAUSE, this is also known bug. */ 378 379 int scan; 379 380 switch (aKeyVal) 380 381 { 381 382 /* Processing special keys... */ 383 case VK_PAUSE: scan = 0x45 << 16; break; 382 384 case VK_RSHIFT: scan = 0x36 << 16; break; 383 385 case VK_RCONTROL: scan = (0x1D << 16) | (1 << 24); break; … … 387 389 case VK_LWIN: 388 390 case VK_RWIN: 389 case VK_PAUSE:390 391 case VK_NUMLOCK: scan = (::MapVirtualKey (aKeyVal, 0) | 256) << 16; break; 391 392 default: scan = ::MapVirtualKey (aKeyVal, 0) << 16;
Note:
See TracChangeset
for help on using the changeset viewer.