GetKeyboardState problems in Age of Empires II

Dmitry Timoshkov dmitry at baikal.ru
Thu Apr 18 03:39:33 CDT 2013


[please don't omit wine-devel when replying]

Stevie Trujillo <stevie.trujillo at gmail.com> wrote:

> > Stevie Trujillo <stevie.trujillo at gmail.com> wrote:
> > > Another (minor) problem raised in the bugzilla entry is that, if a
> > > key is pressed when changing window, and released before returning,
> > > GetKeyboardState() will claim the key is still pressed (0x80). But
> > > this is easy to workaround, just hit the key again inside the game
> > > and it will stop scrolling.
> > 
> > dlls/winex11.drv/keyboard.c,X11DRV_KeymapNotify() should take care of
> > that, if it doesn't - please debug why (probably a bug in your WM).
> 
> I think this function only applies to "modifier keys". It was tested
> with arrow keys.

It should work for all keys.

> Anyway I don't think it's a big issue, since it doesn't cause
> any big problem, and it doesn't happen very often. It was just a
> situation where Windows and Wine exhibited slightly different behavior.
> 
> The first bug is much more annoying since one has to completely exit
> the game each time.

My comment was targeting both problems that you mentioned.

-- 
Dmitry.



More information about the wine-devel mailing list