VirtualBox

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


Ignore:
Timestamp:
Dec 16, 2010 12:41:00 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69015
Message:

FE/Qt: Fixed Korean keys on X11 hosts.

File:
1 edited

Legend:

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

    r34936 r35176  
    486486            /* Remove the extended flag: */
    487487            scan &= 0x7F;
     488
     489            /* Special Korean keys must send scancode 0xF1/0xF2 when pressed and nothing
     490             * when released.
     491             */
     492            if (scan == 0x71 || scan == 0x72)
     493            {
     494                if (pEvent->type == XKeyRelease)  /* Ignore. */
     495                {
     496                    fResult = true;
     497                    break;
     498                }
     499                scan |= 0x80;   /* Re-create the bizarre scancode. */
     500            }
    488501
    489502            switch (ks)
Note: See TracChangeset for help on using the changeset viewer.

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