Acounting for key modifiers on diferent keyboards |
Acounting for key modifiers on diferent keyboards |
Daniel Gibson
Guest
|
keycode vs scancode
Am 21.11.2014 um 21:57 schrieb ShiroAisu:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Acounting for key modifiers on diferent keyboards |
Daniel Gibson
Guest
|
Also: SDL_TEXTINPUT for text input
Am 21.11.2014 um 22:23 schrieb Daniel Gibson:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
Re: Acounting for key modifiers on diferent keyboards |
ShiroAisu
|
I've tried this but the keycode is always equal to the scancode. I'm using
to check them. Am I doing something wrong here? Am I still missing something? |
|||||||||||||||
|
Acounting for key modifiers on diferent keyboards |
Sik
|
2014-11-21 18:26 GMT-03:00, Daniel Gibson:
This. Don't try to enter text directly because you will never account for everything. It's not just simple modifiers you need to take into account, some locales go as far as having input systems where you enter entire words at a time, not just individual characters. (there's one catch: SDL seemingly can't handle input that replaces already entered characters... there's a discussion around that from some months ago) _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|