[SDL] SDLKey wiki question
Albert Zeyer
albert.zeyer at rwth-aachen.de
Thu Feb 14 03:09:10 PST 2008
Am Donnerstag, den 14.02.2008, 11:23 +0100 schrieb Lucas:
> Please tell me if this is not the appropriate place to ask these kind of
> questions.
>
> I must have read it wrong, but as I read it its impossible to check whether
> the '1' is pressed on a french keyboard.
>
> (SDL 1.2)
Just catch the SDL_KEYUP (perhaps also SDL_KEYDOWN) events and read
event->key.keysym.unicode (or I think it's event->key.keysym.char if you
have not enabled unicode).
More information about the SDL
mailing list