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 }
https://bugs.winehq.org/show_bug.cgi?id=44047
Tomáš Plášil plasil.tomas@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |plasil.tomas@seznam.cz
https://bugs.winehq.org/show_bug.cgi?id=44047
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Can't confirm the issue. Can you provide a short test program, preferably in C to show the issue?
https://bugs.winehq.org/show_bug.cgi?id=44047
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Duplicate of 26489
*** This bug has been marked as a duplicate of bug 26489 ***
https://bugs.winehq.org/show_bug.cgi?id=44047
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.