autorepeat keyPress only

Alan Coopersmith alan.coopersmith at
Wed Nov 22 07:35:31 PST 2006

Gideon wrote:
> //Hi all,
> I'm new to Xorg and I found the codes are quite hard to follow.
> Any suggestions to address the problem would be greatly appreciated.
> I figured the Xserver will filter the keyPress event from the keypad
> until a keyRelease is received, but I want it to repeat keyPress only
> as in the following:
> keyPress/keyPress/keyPress/......../keyRelease
> I am using version X11R6.8.2 so I couldn't find the function
> ///XkbSetDetectableAutoRepeat or codes follow ///XPeekEvent regarding
> to this post:

XkbSetDetectableAutoRepeat is what you need, and it's been in libX11
since X11R6.4, so look again.

	-Alan Coopersmith-           alan.coopersmith at
	 Sun Microsystems, Inc. - X Window System Engineering

More information about the xorg mailing list