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

Author Topic: disable keyrepeat?  (Read 4653 times)

0 Members and 1 Guest are viewing this topic.

93interactive

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://93-interactive.com
disable keyrepeat?
« on: September 05, 2009, 12:42:10 pm »
Hello,

is there a way, to disable keyboard repeat. At least it seems, that for example if the user holds space down, KeyPressed events are received repeatedly

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
disable keyrepeat?
« Reply #1 on: September 05, 2009, 12:48:37 pm »
sf::Window::EnableKeyRepeat(bool)
Laurent Gomila - SFML developer

93interactive

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://93-interactive.com
disable keyrepeat?
« Reply #2 on: September 05, 2009, 01:04:45 pm »
thanx.. again