autorepeat keyPress only

Daniel Stone daniel at
Wed Nov 22 02:40:39 PST 2006

On Wed, Nov 22, 2006 at 05:31:40AM -0500, Gideon wrote:
> 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:
> Any other suggestion please?

You can use XkbSetDetectableAutorepeat to do exactly this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the xorg mailing list