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 > > _______________________________________________ > [email protected]: X.Org support > Archives: http://lists.freedesktop.org/archives/xorg > Info: http://lists.freedesktop.org/mailman/listinfo/xorg > Your subscription address: [email protected] >
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. _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
