why not give a api like MapVirtualKey???

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

koria
Just popping in
Just popping in
Posts: 17
Joined: Mon May 19, 2008 09:16

why not give a api like MapVirtualKey???

Postby koria » Wed Mar 04, 2009 03:29

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Wed Mar 04, 2009 09:54

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.


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests