Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Keyboard Autorepeat
Print
Pages: [
1
]
Author
Topic: Keyboard Autorepeat (Read 2775 times)
0 Members and 1 Guest are viewing this topic.
tJener
Newbie
Posts: 2
Keyboard Autorepeat
«
on:
May 01, 2009, 09:38:19 am »
Is there a way to tell SFML to disable keyboard autorepeat so that when processing events it only triggers on keydown and keyup?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Keyboard Autorepeat
«
Reply #1 on:
May 01, 2009, 11:13:24 am »
Code:
[Select]
window.EnableKeyRepeat(false);
Logged
Laurent Gomila - SFML developer
tJener
Newbie
Posts: 2
Keyboard Autorepeat
«
Reply #2 on:
May 01, 2009, 10:16:11 pm »
Ah, thank you, I was searching for it with the wrong name, since the xlib call is XAutoRepeatOff.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Keyboard Autorepeat
anything