I'm working on a statemachine for a GUI, and I wonder how i can convert KeyStates to ASCII chars using the keyboard configuration on the os (windows) I'm using Dinput8 in exclusive mode to retrieve the states.