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

Re: [MiNT] Keyboard repeat bug



On Tue, 2010-12-14 at 23:30 +0100, Vincent Rivière wrote:
> NB: A dirty but definitive solution would be to test the TOS version and use 
> the undocumented address of the keyboard repeat flag.

A clean solution:

Before installing the keyboard handler, wait for atleast the time
indicated by Kbrate(initial...) and check for keypresses using Bconin.
If there's no keypress, continue. If there's a keypress, you now know
which key it is and can release it. Then continue.

Jo Even