[SDL] Re: No SDLK_PERCENT?
David Olofson
david at olofson.net
Sun Feb 27 07:36:33 PST 2005
On Sunday 27 February 2005 10.07, Christian Walther wrote:
[...]
> When I press the middle key in the second row (it's labeled "Z" on
> my Swiss German keyboard), I get either SDLK_z or SDLK_y depending
> on whether I use a Swiss German or US keyboard mapping, while I
> should get the same code in both cases (I guess it should be SDLK_y,
> assuming that the SDLK_* codes are based on a US keyboard).
Same thing happens on XFree86/Linux. I get SDLK_ symbols according to
my custom swedish Dvorak map.
I think the reason for this is that it's non-trivial, if at all
possible, to fix on some platforms. I think some fumble the real
scancodes codes away befor applications can get at them.
//David Olofson - Programmer, Composer, Open Source Advocate
.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. |
| MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
--- http://olofson.net --- http://www.reologica.se ---
More information about the SDL
mailing list