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

Re: [MiNT] Keyboard repeat bug



Alan Hourihane wrote:
It sounds like MiNT is replacing the keyboard handler before any
buffered keyboard events have been dealt with and thus throwing away
some bytes.

No, all the keyboard events have been processed.
But some key is currently pressed (last event was a key press), so the (Emu)TOS keyboard repeat feature is in progress. This is a totally software feature managed on the system timer (Timer C).

FreeMiNT should wait for all keys to be released before replacing the keyboard vectors. My solution of generating a fake key release is a workaround to stop the key repeat.

--
Vincent Rivière