autorepeat keyPress only
Daniel Stone
daniel at fooishbar.org
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:
> http://lists.freedesktop.org/archives/xorg/2006-June/015820.html
>
> Any other suggestion please?
Hi,
You can use XkbSetDetectableAutorepeat to do exactly this.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20061122/cac5abbd/attachment.pgp>
More information about the xorg
mailing list