Keyboard repeat

I need support for keyboard repeats in X. I wrote a message about this
about a month ago, and the reply was to do something like:

#define IGNORE_X_REPEAT

or something like that to get keyboard repeat.

What I need it to be able to get multiple KEY_DOWN events if they hold the
key down. I can’t use GetEventState or whatever cause it’s not that
reliable.

Thanks,

Paul Lowe
xpaull at ultraviolet.org

Hello,

before I implement keyboard repeat in my app for text input, I
wondered if SDL has any functions to use the system keyboard repeat
feature (with, of course, system settings).

Regards–
Kuon

“Your computer requests another OS, deny or allow?”
“You should stop playing with that, or it will eventually works.”

Company website:
http://www.goyman.com/

Personal blog:
http://arkhi.goyman.com/blojsom/blog/default/

SDL_EnableKeyRepeat(int delay,int interval) i hope this works

2007/3/31, Kuon - Nicolas Goy - ??? (Goyman.com SA) - 675 :

Hello,

before I implement keyboard repeat in my app for text input, I
wondered if SDL has any functions to use the system keyboard repeat
feature (with, of course, system settings).

Regards

Kuon

“Your computer requests another OS, deny or allow?”
“You should stop playing with that, or it will eventually works.”

Company website:
http://www.goyman.com/

Personal blog:
http://arkhi.goyman.com/blojsom/blog/default/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Just say the words , your wish is my command…

SDL_EnableKeyRepeat(int delay,int interval) i hope this works

Thanks, this is what I needed.On 11 Apr 2007, at 8:54 AM, Engin ?alar wrote:


Kuon

“Your computer requests another OS, deny or allow?”
“You should stop playing with that, or it will eventually works.”

Company website:
http://www.goyman.com/

Personal blog:
http://arkhi.goyman.com/blojsom/blog/default/