SFML community forums
Help => General => Topic started by: Elgan on February 11, 2012, 10:01:19 pm
-
Hey everyone.
I would like to add some keys, namely the ` key
that's the little one next to the 1 key, `
As I would like it for my console bind, all my keys have a custom bind system, but that key I really miss having for console.
-
SFML 1.x:
sf::Key::Tilde
SFML2: sf::Keyboard::Tilde
-
noo..not the Tilde key
tilde is ~ , unless I'm mistaken ? ill try again.
¬` that key
edit:
ACTUALLY...
Game.AddKeyBind(INPUTTYPE_KEYBOARD,"togglemenu console", sf::Keyboard::Tilde);
Just noticed: sf::Keyboard::Tilde ....is patched to @' on my keyboard.
every other key ive tried maps fine.
sf::Keyboard::Tilde .. shouldn't it be #~...Which is the key to the right.
-
Key mapping is not perfect, it will be improved in the future.
-
In 2.0? It's even quite buggy at the moment, as many keys are mapped to A (on my machine (QWERTZ, Linux) caps lock and some others; can try it out again if you need the exact keys).