VirtualBox

Changeset 44023 in vbox


Ignore:
Timestamp:
Dec 3, 2012 5:53:02 PM (12 years ago)
Author:
vboxsync
Message:

PS2K: Fixed Korean keys broken earlier.:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/PS2K.cpp

    r41783 r44023  
    12121212    uint32_t    u32Usage = 0;
    12131213
    1214     LogFlowFunc(("key code %02X\n", u8KeyCode ));
     1214    LogFlowFunc(("key code %02X\n", u8KeyCode));
    12151215    pThis->XlatState = ScancodeToHidUsage(pThis->XlatState, u8KeyCode, &u32Usage);
    12161216
    12171217    if (pThis->XlatState == SS_IDLE)
    12181218    {
     1219        /* Stupid Korean key hack: convert a lone break key into a press/release sequence. */
     1220        if (u32Usage == 0x80000090 || u32Usage == 0x80000091)
     1221            PS2KPutEvent(pInterface, u32Usage & ~0x80000000);
     1222
    12191223        PS2KPutEvent(pInterface, u32Usage);
    12201224    }
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