VirtualBox

Changeset 5826 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 23, 2007 9:19:38 AM (17 years ago)
Author:
vboxsync
Message:

Fix NumLock and CapsLock on Windows hosts. These two special keys have to be handled by Windows as well to update the internal modifier state and to enable/disable the keyboard LEDs.

File:
1 edited

Legend:

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

    r5814 r5826  
    16111611        return true;
    16121612    }
     1613
     1614    /* These special keys have to be handled by Windows as well to update the
     1615     * internal modifier state and to enable/disable the keyboard LED */
     1616    if (vkey == VK_NUMLOCK || vkey == VK_CAPITAL)
     1617        return false;
     1618
    16131619    return result;
    16141620}
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