SFML community forums
Help => Window => Topic started by: TheMagicNumber on September 10, 2010, 01:17:18 am
-
Does anybody know the keycode for the numpad decimal/delete? I can't find it, and would love to have it.
-
sf::Key::Add,
sf::Key::Subtract,
sf::Key::Multiply,
sf::Key::Divide,
sf::Key::Numpad0,
sf::Key::Numpad1,
sf::Key::Numpad2,
sf::Key::Numpad3,
sf::Key::Numpad4,
sf::Key::Numpad5,
sf::Key::Numpad6,
sf::Key::Numpad7,
sf::Key::Numpad8,
sf::Key::Numpad9,
-
I have those, I need this key:
(http://i.imgur.com/v1v66.png)
-
Uhm...I don't know this one, but you could use events instead. There you get the unicode for this key ;)
-
I am using events.
-
Then check, if the unicode is the one you want to and you're fine :)
-
It is set to zero. e.Key.Code, e.Text.Unicode, both. Why can't I use this key? :P
It is the same value given from pressing any Lock key, and pressing numpad 5 when numlock is off. This is definitely a problem.