http://bugs.winehq.org/show_bug.cgi?id=24220
Summary: GetKeyboardState doesn't work Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: stampoon@gmail.com
simple code:
#include <windows.h> int main() { unsigned char keystate[256]; GetKeyboardState(keystate); for (int i = 0; i <= 256; i++) { if (keystate[i] == 1) printf("%d%s",i,"\n"); } return 0; }
compile with "i586-pc-mingw32-gcc test.c --std=c99" on wine nothing in std output on winxp: 2 4 16 17 32 40 65 73 76 78 79 82 83 85 86 90 144 160 162 186 220 240 243 246 251