SFML community forums

Help => Window => Topic started by: HeinzK on May 23, 2012, 03:50:50 pm

Title: Please press F10 .. and no KeyReleased is coming up
Post by: HeinzK on May 23, 2012, 03:50:50 pm
deleted
Title: Re: Please press F10 .. and no KeyReleased is coming up
Post by: Laurent on May 23, 2012, 03:57:23 pm
Please search before posting:
http://en.sfml-dev.org/forums/index.php?topic=6363.msg42098#msg42098
(found by searching "f10")
Title: Re: Please press F10 .. and no KeyReleased is coming up
Post by: Laurent on May 23, 2012, 04:21:37 pm
You won't be able to do anything as long as SFML doesn't handle these special keys directly.

In the meanwhile, maybe you can do something with sf::Keyboard -- but you'll have to poll the key states, instead of catching pressed/released events.
Title: Re: Please press F10 .. and no KeyReleased is coming up
Post by: Laurent on May 23, 2012, 08:17:36 pm
Yeah, I said "maybe" :)
Title: Re: Please press F10 .. and no KeyReleased is coming up
Post by: Laurent on May 23, 2012, 10:56:16 pm
Yep, this kind of behaviour is often OS-specific.