Key Constant

Recommended Posts

jackiechan    132
What's the keyboard device constant for the  or ~ key? DIK_???.

Share on other sites
Trip99    577
DIK_GRAVE although be aware of localisation issues

{edit] no no that is rubbish I thought you meant ¬, this is confusing due to localisation. On my UK keyboard  and ¬ are on the same key and # ~ are on another key. For  ¬ it is DIK_GRAVE.

Share on other sites
circlesoft    1178
Quote:
 Original post by Trip99{edit] no no that is rubbish I thought you meant ¬, this is confusing due to localisation. On my UK keyboard  and ¬ are on the same key and # ~ are on another key. For  ¬ it is DIK_GRAVE.

You are correct. On US keyboards,  and ~ are on the same key. The keycode for this key is DIK_GRAVE, like you said. Localization is kind of rough [wink].

Create an account

Register a new account