https://bugs.winehq.org/show_bug.cgi?id=44047
Bug ID: 44047 Summary: GetKeyState returns wrong state for numlock key Product: Wine Version: 2.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: plasil.tomas@seznam.cz Distribution: ---
GetKeyState always returns 0 for numlock key.
Example [DllImport("user32.dll")] private static extern short GetKeyState(int nVirtKey);
const int NUMLOCK = 0x90;
private static void GetNumLockState() { short keystate = GetKeyState(NUMLOCK); //always 0 }