SFML community forums
Help => Window => Topic started by: HeinzK on May 07, 2012, 11:26:12 am
-
deleted
-
Yeah, keyboard handling is not perfect, there's a task in the tracker for this issue. It will be improved in SFML 2.
-
do you have an idea how this will last long?
No ;D
-
I can see if a quick fix is possible. But as far as I remember, these 3 keys are supposed to work fine on Windows and Linux.
-
If you want someone to look at your code, first read this ;)
http://en.sfml-dev.org/forums/index.php?topic=5559.msg36368#msg36368
-
You should use constants from the sf::Keyboard::Key enum, instead of hard-coded numeric values. Do this in your post too: I don't know which keys 43 and 37 are ;)
-
About Windows:
- Left Alt has a special meaning: it steals focus from the application (I never remember what it does then); it has already been discussed, there is a simple workaround (by adding code to SFML), and it might officially be integrated to SFML in the future
- Right-Alt (Alt Gr) has a special meaning too: it is a shortcut for Alt + Ctrl; don't ask me why, this is how things are defined on Windows