Keyboard layout - non U.S

/* The keyboard syms have been cleverly chosen to map to ASCII */

That’s nice, but what if you use a non-U.S. keyboard? Isn’t there a way for SDL to determine which keyboard layout is installed on the current OS and then automatically re-map the keys?

Is there a way to manually tell SDL which keyboard layout is installed? What are the SDLK_WORLD_x enum elements for?

Thanks in advance,

-Lars