Changeset 33896 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 9, 2010 1:31:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r33884 r33896 937 937 if ( (keyCode == 0xa || keyCode == 0x32) 938 938 && KBGetLayoutType(LMGetKbdType()) == kKeyboardISO) 939 {940 939 keyCode = 0x3c - keyCode; 941 940 #ifdef DEBUG 941 if ((keyCode == 0xa || keyCode == 0x32)) 942 { 942 943 OSErr err = noErr; 943 944 SInt32 type; 944 945 if ((err = Gestalt(gestaltKeyboardType, &type)) == noErr) 945 LogRel(("Keyboard type %d\n", (int32_t)type)); 946 printf("Keyboard type %d %d\n", (int32_t)type, LMGetKbdType()); 947 } 946 948 #endif /* DEBUG */ 947 }948 949 unsigned scanCode = ::DarwinKeycodeToSet1Scancode(keyCode); 949 950 if (scanCode)
Note:
See TracChangeset
for help on using the changeset viewer.