SFML community forums
Bindings - other languages => DotNet => Topic started by: DaysShadow on July 08, 2011, 08:00:30 pm
-
I dont know if it is an issue or a fault by myself but using Keyboard.EnableKeyRepeat( false ) once and asking Keys via Keyboard.IsKeyPressed( Keyboard.Key.TheKey ) in the main loop does not work like i expected it, it's just like with key repeat set to true.
With KeyRepeat set to false a IsKeyPressed( Key ) call should only return true one time if the key wasn't released after that, shouldn't it?
I hope anyone can help here.
Thanks.
-
Key repeat is only for KeyPressed events (that's why it's in Window, not Keyboard).
-
Ah ok, so i have to write something myself, thank you.
Fast as always :)