[Bug 24220] New: GetKeyboardState doesn't work

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 31 06:56:52 CDT 2010


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 at winehq.org
        ReportedBy: stampoon at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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