DirectInput, tilde key
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.
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement