Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


DirectInput, tilde key


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 GLForce   Members   -  Reputation: 191

Like
0Likes
Like

Posted 11 January 2006 - 04:24 AM

Does someone know what is the code for the tilde key (~, the one commonly used to show console), for directinput keystate. Ive searched like crazy and never found it. Thanks.

Sponsor:

#2 circlesoft   Members   -  Reputation: 1174

Like
1Likes
Like

Posted 11 January 2006 - 04:38 AM

It's keycode is DIK_GRAVE (the grave symbol is '`'). Remember that keycodes are generated from the un-shifted key - that's why you get DIK_GRAVE instead of DIK_TILDE.

Also, beware of some localization issues here - the Grave/Tilde key is not on all keyboards at the same place. For example, some European keyboards don't have it.

Dustin Franklin ( circlesoft :: KBase :: Mystic GD :: ApolloNL )




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS