: Keyboard multi-key problems

Well thank everybody for there input and I’ve been able
to solve the problem and release the emulator to the
public ( see http://neopocott.retrofaction.com ).

The biggest problem was that the time to catch the input
was on a wrong place. Also the SDL_EnableKeyRepeat was
set on a much to high number which put so many events
that the emulator went banana’s.

I’ve rewritten it about 5 times and now it seems to work
ok. Anyway, again tnx for the input the list has brought


Niels Wagenaar> -----Oorspronkelijk bericht-----

Van: matta at zendragon.com [mailto:matta at zendragon.com]
Verzonden: dinsdag 14 augustus 2001 21:50
Aan: sdl at libsdl.org
Onderwerp: [SDL] RE: Keyboard multi-key problems.

Lost the original email… But I just solved a similar
problem but
keeping an array(was time constrained) of the keys currently
pressed down.
Each cycle through the logic it’d take care of all the keys
in the array.
I’d recommend doing it with a list but just didn’t have time. I can
forward the code to the list if this sounds of interest.

Matthew Allen
Zendragon Software
Slowly and surely the unix crept up on the Nintendo user …

SDL mailing list
SDL at libsdl.org