Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Please press F10 .. and no KeyReleased is coming up  (Read 2669 times)

0 Members and 1 Guest are viewing this topic.

HeinzK

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • ZwiAner
    • Email
Please press F10 .. and no KeyReleased is coming up
« on: May 23, 2012, 03:50:50 pm »
deleted
« Last Edit: December 04, 2019, 08:29:18 am by HeinzK »
The trees, that obstruct the view on the forest, can be allowed to fall! (Die Bäume, die die Sicht auf einen Wald versperren, dürfen gefällt werden!)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Please press F10 .. and no KeyReleased is coming up
« Reply #1 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")
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Please press F10 .. and no KeyReleased is coming up
« Reply #2 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.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Please press F10 .. and no KeyReleased is coming up
« Reply #3 on: May 23, 2012, 08:17:36 pm »
Yeah, I said "maybe" :)
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Please press F10 .. and no KeyReleased is coming up
« Reply #4 on: May 23, 2012, 10:56:16 pm »
Yep, this kind of behaviour is often OS-specific.
Laurent Gomila - SFML developer

 

anything