[Newbies] Detecting keyboard state / finding older fixes
stan shepherd
squeak414 at free.fr
Fri Mar 7 19:40:24 UTC 2008
As I have dual boot Linux/Windows, I'll try and verify the Windows result in
the next day or two.
Bert Freudenberg wrote:
>
>
> I am pretty sure it works in the Windows VM. You should get multiple
> keyDown events but a single keyUp:
>
> Down ... (pause) ... down - down - down - down - down - up.
>
>> That is, in the programming language a real key down and a repeat are
>> indistinguishable.
>
> The problem is that from the X11 VM you get this:
>
> Down ... (pause) ... up down - up down - up down - up down - up.
>
> Now, the up and down events bear the same time stamp (they are
> synthesized together) so the VM could actually filter out the
> unwanted up events, but it does not (yet anyway). Also, you do not
> get events for all keys like Shift etc. (IIRC only Windows gets that
> right).
>
> It's a shame to admit this is still not working ...
>
> - Bert -
>
>
>
--
View this message in context: http://www.nabble.com/Detecting-keyboard-state---finding-older-fixes-tp15779144p15904264.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list