Sign in to follow this  

Converting Direct Input to ASCII

This topic is 4206 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

hello all. I understand that directx mapping is different. Keys are mapped from 0 to 255 when key 0 is escape key. What I don't understand is that how can I convert, for example DIK_A key to simple 'a' ASCII value. Can somebody help me? Thanks in advance

Share this post


Link to post
Share on other sites
Quote:
Original post by Namethatnobodyelsetook
Note that using DInput won't work for special character sequences, such as these. For proper international support you're best using Windows messages, and using DInput for non-text input (jump, move, shoot, weapon change, gas, brake, etc..)

QFE. DInput is designed to step aside gracefully when you're doing text entry. Don't shoehorn it into handling tasks it wasn't meant for.

Share this post


Link to post
Share on other sites

This topic is 4206 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this