Setting keyboard autorepeat rate with xkb?

Marty Jack martyj19 at comcast.net
Tue May 31 14:26:26 PDT 2011



On 05/31/2011 04:15 PM, Chris Frey wrote:
> Hi,
> 
> In commit ae630aef17185dd8d2c23d0eb1b3287fa6e26268, Peter Hutterer
> writes:
> 
> 	Really remove autorepeat.
>     
> 	This strips all autorepeat from the keyboard driver.
> 	If you need autorepeat, use XKB.
> 
> So I've been trying to find the place in XKB to set the keyboard autorepeat
> rate.  So far, I've been unsuccessful.
> 
> Google searches turn up lots of places that tell me to use xset, but
> somehow this seems like a giant step backward.  And if the commit message
> points me to XKB, there must be a way.
> 
> Can anyone give me any pointers?
> 
> Thanks,
> - Chris
> 
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: martyj19 at comcast.net
> 

XkbGetControls( , XkbRepeatKeysMask, );
xkb_desc->ctrls->repeat_interval = ;
XkbSetControls( , XkbRepeatKeysMask,)

Advice to use xset is a big hint because you can look at its code to find the programmatic way.





More information about the xorg mailing list