qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] ps2: add support of auto-repeat


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] ps2: add support of auto-repeat
Date: Thu, 16 May 2013 17:04:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 16/05/2013 08:58, Amos Kong ha scritto:
>> > theoretically, we have to check if the typematic key is in break
>> > now, if so, we will not do repeat anymore.
> You mean key is released?  I checked by '~keycode & 0x80', stop repeat
> when key is release.
> 

BTW, !(keycode & 0x80) is more readable.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]