Getting keymap data from OS using SDL 1.3/2.0

Hi,

Does SDL 1.3/2.0 has any feature by which we can get the keymap data from
the OS?

Regards,
Sreyas

No, not really. What1.3/2.0 does is provide the actual key that was pressed
rather than just the character generated by the key press. It also gives you
the character and supports unicode input.

To really answer your question I need to know what you are trying to do.

Bob PendletonOn Sun, Apr 13, 2008 at 2:01 AM, sreyas k <k.sreyas at gmail.com> wrote:

Hi,

Does SDL 1.3/2.0 has any feature by which we can get the keymap data from
the OS?

Regards,
Sreyas


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

±-------------------------------------+

No, not really. What1.3/2.0 does is provide the actual key that was
pressed rather than just the character generated by the key press. It also
gives you the character and supports unicode input.

To really answer your question I need to know what you are trying to do.

Bob Pendleton

Hi,

Does SDL 1.3/2.0 has any feature by which we can get the keymap data
from the OS?

Regards,
Sreyas

I wanted to know if an api was there so that the entire keymap can be
gotten from the OS. I already know that we can detect keypresses. I am
working on the tuxtype typing tutor, in which the keymap details were put
into a file named keyboard.lst
The format of the file is
Finger|Keypress

It would be nice if we could remove that file and directly import the keymap
from the OS. I saw an idea for this year’s Google SOC regarding this. SO I
would like to know if there is any feature in SDL to implement this.

Regards,
SreyasOn Mon, Apr 14, 2008 at 2:24 AM, Bob Pendleton wrote:

On Sun, Apr 13, 2008 at 2:01 AM, sreyas k <@sreyas_k> wrote: