Page 1 of 1

why not give a api like MapVirtualKey???

Posted: Wed Mar 04, 2009 03:29
by koria
i fount the CEGUIInput.h define the key from directinput.h
they are all the scancode.

event in KeyDown, KeyUp will give scancode belong to key

event CharacterKey give the codepoint belong to keychar

why not add an api like window's api MapVirtualKey to translate scancode to virtual key ??????

i think pepole use VKey usualy.

windows VKey is define in WINUSER.h

Posted: Wed Mar 04, 2009 09:54
by CrazyEddie
Hi,

Thanks for the suggestion / enquiry.

Although I have traditionally been reluctant to 'approve' the inclusion of such things as I see that as a job for the input library, it may be that in the future we might offer some key mapping facilities within CEGUI (it's something that crosses my mind frequently).

It's highly unlikely anything like that would get added before the release series that comes after 0.7 (meaning 0.8 or 1.0 or whatever we decide to call it!)

CE.