VirtualBox

Changeset 33896 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 9, 2010 1:31:46 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: move the check out of the ISO check (temp)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r33884 r33896  
    937937        if (   (keyCode == 0xa || keyCode == 0x32)
    938938            && KBGetLayoutType(LMGetKbdType()) == kKeyboardISO)
    939         {
    940939            keyCode = 0x3c - keyCode;
    941940#ifdef DEBUG
     941        if ((keyCode == 0xa || keyCode == 0x32))
     942        {
    942943            OSErr err = noErr;
    943944            SInt32 type;
    944945            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        }
    946948#endif /* DEBUG */
    947         }
    948949        unsigned scanCode = ::DarwinKeycodeToSet1Scancode(keyCode);
    949950        if (scanCode)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette