VirtualBox

Ignore:
Timestamp:
Nov 11, 2010 3:30:33 PM (14 years ago)
Author:
vboxsync
Message:

UsbKbd: Tentative fix for funny Korean keys.

File:
1 edited

Legend:

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

    r33330 r34000  
    376376    0x00, 0x00, 0x00, 0x00, 0x68, 0x69, 0x6a, 0x6b, /* 60-67 */
    377377    0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x00, /* 68-6F */
    378     0x88, 0x00, 0x00, 0x87, 0x00, 0x00, 0x00, 0x00, /* 70-77 */
     378    0x88, 0x90, 0x91, 0x87, 0x00, 0x00, 0x00, 0x00, /* 70-77 */
    379379    0x00, 0x8a, 0x00, 0x8b, 0x00, 0x89, 0x85, 0x00  /* 78-7F */
    380380};
     
    908908        }
    909909        else
     910        {
     911            /* For stupid Korean keyboards, we have to fake a key up/down sequence
     912             * because they only send break codes for Hangul/Hanja keys.
     913             */
     914            if (u8HidCode == 0x90 || u8HidCode == 0x91)
     915                pThis->abUnreportedKeys[u8HidCode] = 1;
    910916            pThis->abDepressedKeys[u8HidCode] = 0;
     917        }
     918
    911919
    912920        /* Send a report if the host is already waiting for it. */
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