Danish ae, o and a on the keyboard

Hello!

Thanks a lot for all your hints! I’m not looking for the
full-blown solution with keyboard mappings et al…
It’s just for entering a name on a highscorelist in
a simple game :slight_smile: And it should work under Win32.
I’ve got these data which might be useful:

With a danish keyboard layout (Win32) the keycodes I get in
the SDL event are:
? = SDLK_QUOTE
? = SDLK_BACKQUOTE
? = SDLK_RIGHTBRACKET

With american keyboard layout (both Linux and Win32) they are:
? = SDLK_QUOTE
? = SDLK_SEMICOLON
? = SDLK_LEFTBRACKET

The american version corresponds to the
physical locations of the
danish keys on a danish keyboard. It looks
something like this on the keyboard:

qwertyuiop?
asdfghjkl??
zxcvbnm

Cheers–
http://www.HardcoreProcessing.com

Thanks a lot for all your hints! I’m not looking for the
full-blown solution with keyboard mappings et al…

Well, that’s what you got. :slight_smile:
Please try the latest CVS snapshot - it only works under X11 right now,
but should support your Danish keyboard without any changes at all.

Win32 support is coming soon. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Sam Lantinga wrote:

Well, that’s what you got. :slight_smile:
Please try the latest CVS snapshot - it only works under X11 right now,
but should support your Danish keyboard without any changes at all.

Win32 support is coming soon. :slight_smile:

My project is already complete, and I’ve got virtually
no time free at the moment… sorry…

But thanks!

Cheers–
http://www.HardcoreProcessing.com