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
why not give a api like MapVirtualKey???
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
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.
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.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 7 guests