autorepeat keyPress only

Gideon gideontsang at yahoo.com
Thu Nov 23 00:10:29 PST 2006


Okay I got what you mean, but it is a function for the application.  In fact I want to modify the Xserver to do that.  I'm not sure about the design architecture but is that possible? If it's possible which file should I look into?

Gideon Tsang


Alan Coopersmith <alan.coopersmith at sun.com> wrote: 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:
> http://lists.freedesktop.org/archives/xorg/2006-June/015820.html

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

-- 
 -Alan Coopersmith-           alan.coopersmith at sun.com
  Sun Microsystems, Inc. - X Window System Engineering
 		
---------------------------------
The best gets better. See why everyone is raving about the All-new Yahoo! Mail.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20061123/239d550d/attachment.html>


More information about the xorg mailing list