[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: keyboard autorepeat patch
From:       Ove Kaaven <ovehk () ping ! uio ! no>
Date:       2000-12-30 1:35:15
[Download RAW message or body]


On Fri, 29 Dec 2000, Francois Gouget wrote:

> On Fri, 29 Dec 2000, Ove Kaaven wrote:
> [...]
> > Why do we have to put up with that? We know why (because X autorepeat
> > isn't detectable). So this patch goes to the root of the problem...
> 
>    Is there a chance that this could help (or even is related) with bug
> 39: "PrgWin95: Wrong message sequence for keyboard auto-repeat".
>    http://wine.codeweavers.com/bugzilla/show_bug.cgi?id=39

Yes. It's the very same thing. For where XKB is available and supports
detectable autorepeat (certainly at least any PC that runs XFree86), you
could now close the bug.

But I do like your idea at the bottom. Maybe it could be used if
detectable autorepeat isn't available? But I don't know whether it'd work
either (probably not reliably) - but there at least aren't "nasty key
mapping issues", since the keycode is still known when the KEYEVENTF_KEYUP
is set. (To find out how to query X, just look at KEYBOARD_UpdateState(),
which does that to read out whether shift/ctrl/alt keys are pressed...)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic