Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



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

i''m trying to write a reasonable input routine for a game of mine that allows the user to select between directinput and standard windows key handling (thus allowing people who don ''t have dx8 play the game). the problem arises when i want to write a special routine for key bindings - there are several if not to say many different keyboards in the world and dinput is only optimised for the american keyboard. what i need to do is a conversion of either the DIK_* constants to the same numeric values as on a standard European/Scandinavian keyboard (because that''s what i''m using (kind of)) or write a ten-page conversion routine that binds every key specifically. i''m trying to avoid the latter though, so my question is: can i change the dinput key codes without causing the api to misread input from the keyboard or is there a certain function/routine in the dx8 sdk that allows me to select the keyboard layout? this question may be quite trivial, but i''m just a beginner in dx and some help/explanation would be well appreciated. thanks crispy

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!