   [MDX] DirectInput and non standard chars
  Hello,I'm using C# and MDX and in my little test application I'm using DirectInput to read keystrokes from the user. I'm using DirectInput.Key.* to check what key that was pressed. However, since I'm from a funny country like Sweden, I would like to "support" non standard characters like swedish å, ä and ö. And also (if possible) have a better way to check for special characters depending on keyboard layout.Swedes have å, ä, ö as extra chars and many special characters like : for example are located differently on our keyboards. Is it possible to handle this in a better / more localized way and to support all (or at least swedish) kinds of characters with DirectInput? Should I use unicode and if so, how? :PExplanations, hints and/or points to readings about this would be greatly appreciated. Thanks ;)   
  As has been stated many a time ;) DirectInput does not read character data. Only the states of the keys. Effectively the keys are just buttons. So to answer your question: no you can't handle this situation with DirectInput. Use Windows API functions.[edit]Decided to clairify a bit.For text data you should use windows messages such as WM_CHAR,WM_KEYDOWN and WM_KEYUP (any others I forgot?).[/edit]   