Advertisement

What's the key to the left of '1' called?

Started by December 12, 2004 08:28 AM
11 comments, last by Fruny 19 years, 11 months ago
Hi, I recently finished creating a console, with the help of the article posted here a while ago. It works and everything but there is one thing I need help with. I'd like to have it so that the console is de/activated by using the key to the left of the 1 key. I think it's called the tilde key but I can't find any DIK_ value for it. Do you have any tips? :)

@mikaelbauer

Super Sportmatchen - A retro multiplayer competitive sports game project!

The tilde key is this "~" IIRC. On American keyboards I believe it is next to the 1, on English keyboards it is next to the enter key with the # symbol.
Quote: Original post by BosskIn Soviet Russia, you STFU WITH THOSE LAME JOKES!
Advertisement
There has been a thread about this recently - I seem to recall it was DIK_GRAVE.

DIK_GRAVE
---CyberbrineDreamsSuspected implementation of the Windows idle loop: void idle_loop() { *((char*)rand()) = 0; }
Sweet, thank you very much! Strange name though. :)

@mikaelbauer

Super Sportmatchen - A retro multiplayer competitive sports game project!

The name isn't strange at all. On some keyboards (like the UK keyboard on my laptop) the key next to the '1' is a french accent-grave, which might explain the name.
Advertisement
The grave (`) mark is the actual key; a shift is required for the tilde (~).
Ra
Hmm okey, well that makes sense then. However, I wonder why it's known as tilde in that case.

@mikaelbauer

Super Sportmatchen - A retro multiplayer competitive sports game project!

I have a UK keyboard, and it's a "backtick" ` and this: ¬

Tilde is on a totally different key on UK keyboards (along with the hash #)

Mark
On my FR keyboard, I've got a 2 at the left of the 1 key.
The tilde ~ is in third-level shift on the 2 key and on shift 2 (xmodmap settings)
The backtick ` is in third-level shift on the 7 key.
The negation ¬ is in third-level shift on the 2 key (xmodmap settings)

Fascinating.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement