Changeset 50350 in vbox
- Timestamp:
- Feb 6, 2014 3:49:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/win/WinKeyboard.cpp
r50191 r50350 18 18 */ 19 19 20 #define LOG_GROUP LOG_GROUP_GUI 21 20 22 #include "WinKeyboard.h" 21 23 #include <iprt/assert.h> … … 62 64 { 63 65 /* Simulate KeyUp+KeyDown keystroke */ 64 keybd_event(idModifier, MapVirtualKey(idModifier, MAPVK_VK_TO_VSC), KEYEVENTF_EXTENDEDKEY, 0);65 keybd_event(idModifier, MapVirtualKey(idModifier, MAPVK_VK_TO_VSC), KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0);66 keybd_event(idModifier, 0, KEYEVENTF_EXTENDEDKEY, 0); 67 keybd_event(idModifier, 0, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0); 66 68 67 69 LogRel2(("HID LEDs sync: setting %s state to %s (0x%X).\n", … … 166 168 167 169 if (winSetHidLeds(fNumLockOn, fCapsLockOn, fScrollLockOn)) 168 LogRel2((" ID LEDs sync: broadcast completed\n"));170 LogRel2(("HID LEDs sync: broadcast completed\n")); 169 171 else 170 LogRel2((" ID LEDs sync: broadcast failed\n"));172 LogRel2(("HID LEDs sync: broadcast failed\n")); 171 173 }
Note:
See TracChangeset
for help on using the changeset viewer.