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.
[SDL] Keyboard maps
Hi,
Adrien Constant
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement