[Bug 44047] New: GetKeyState returns wrong state for numlock key
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Nov 19 09:03:14 CST 2017
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 at winehq.org
Reporter: plasil.tomas at 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
}
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list