[SDL] Keyboard Event Oddity

Sami Näätänen sami.naatanen at kolumbus.fi
Sat Jan 18 08:43:01 PST 2003


On Saturday 18 January 2003 17:46, Chuck Mason wrote:
> Hello SDL-users, I have an odd situation at hand.
>
> I'm writing an application that allows users to press combinations of
> keys simultaneously...I'm running into an error where SDL won't catch
> all the keys: for example
>
> I pressed the backquote, get keysym=96 sent to SDL_KEYDOWN.
> I let go.
>
> I pressed the letter a, get keysym=97 sent to SDL_KEYDOWN
> I let go.
>
> I pressed the letter w, get keysym=119 sent to SDL_KEYDOWN.
> I let go.
>
> Next, when I press and hold A, then W and then I try to pressed the
> backquote, either SDL_KEYDOWN doesn't get an event - or - the event
> occurs with the keysym 0.
>
> Does anyone know why this happens? Yet even better, how do I fix
> this? Or..maybe it's an SDL "quality."

It's a hardware restriction and there is nothing you can do to fix it.





More information about the SDL mailing list