Changeset 33883 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 9, 2010 9:52:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r33540 r33883 935 935 UInt32 keyCode = ~0U; 936 936 ::GetEventParameter(inEvent, kEventParamKeyCode, typeUInt32, NULL, sizeof (keyCode), NULL, &keyCode); 937 if ( (keyCode == 0xa || keyCode == 0x32) 938 && KBGetLayoutType(LMGetKbdType()) == kKeyboardISO) 939 keyCode = 0x3c - keyCode; 937 940 unsigned scanCode = ::DarwinKeycodeToSet1Scancode(keyCode); 938 941 if (scanCode)
Note:
See TracChangeset
for help on using the changeset viewer.