Advertisement

[SDL] Keyboard maps

Started by March 15, 2003 09:02 AM
-1 comments, last by Esprit 21 years, 11 months ago
Hi,

if (Keys[SDLK_a])
  printf("a\n");
 
If you hit the ''a'' key on a keyboard, it works well with qwerty, but not with other keyboards. You have to hit ''q'' to use the good key. So is there a way to import the current system keyboard mappings ? Also, is there a way to do if (Keys[SDLK_a] .. [Keys_SDLK_z]) printf(key); ? Thanks.
Adrien Constant

This topic is closed to new replies.

Advertisement