• Advertisement
Sign in to follow this  

How to localize DirectInput Key values to the appropriate char values

This topic is 2014 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

SlimDX has a Keys enumeration that enumerates possible DirectInput Keyboard values. I need to be able to convert those into Char values, based on the localization the user has set.

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
*Bump*

Is there something obvious I'm missing? Is it just a matter of localization in general?

If the user sets a different language, I'd like to at least have their own key-presses be the appropriate character set.

Share this post


Link to post
Share on other sites

MapVirtualKey or MapVirtualKeyEx might be what you're looking for.

Hmm...SlimDX doesn't seem to have those. In addition, the Microsoft documentation doesn't mention localization.

Thanks for the help, anyway .smile.png Edited by Narf the Mouse

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement