Stuck key problem

hello,

have anyone seen anything like this?

The system is x86-32 Fedora 10 with SDL-1.2.13-7.fc10.i386. The SDL-1.2.13
plain was tested too.

On top of this there runs zdoom 2.3.0

The problem is that in the game once the following commands get executed,
the keys get stuck at repeating mode until following key gets presed.

SDL_EnableKeyRepeat (SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);

doing various printfs in SDL library I have came to conclusion that it is
b/c the KEY-UP event does not get detected until a following KEY-DOWN even
happens.

The ‘down’ key has been pressed
XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH
XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH
XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH
XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH
XXX-SDL-PUSH XXX-SDL-PUSH XXX-SDL-PUSH The ‘down’ key has been released
disable:yes
The ‘q’ key has been pressed

in the above example I just pressed down arrow once and immediatelly
released, yet the system behaves as if I were holding arrow down all the
time. This continues until I press some other key, here it is ‘q’ at which
points the relese for arrow gets detected at once.–
Adam Sulmicki
http://www.eax.com The Supreme Headquarters of the 32 bit registers