VirtualBox

Ignore:
Timestamp:
Nov 9, 2010 9:52:51 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: temp keyboard test (will be removed again)

File:
1 edited

Legend:

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

    r33540 r33883  
    935935        UInt32 keyCode = ~0U;
    936936        ::GetEventParameter(inEvent, kEventParamKeyCode, typeUInt32, NULL, sizeof (keyCode), NULL, &keyCode);
     937        if (   (keyCode == 0xa || keyCode == 0x32)
     938            && KBGetLayoutType(LMGetKbdType()) == kKeyboardISO)
     939            keyCode = 0x3c - keyCode;
    937940        unsigned scanCode = ::DarwinKeycodeToSet1Scancode(keyCode);
    938941        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