xf86-input-evdev: Changes to 'master'

Sascha Hlusiak saschahlusiak at arcor.de
Tue Dec 2 00:21:33 PST 2008


Hi Daniel,

Please have a look at xkb/ddxCtrls.c @ XkbDDXUsesSoftRepeat. Software
autorepeat will exactly not happen in the server, if delay is set to 660
and rate is set to 25 (interval=40). This is the default setting when
starting up the server.

Any comments on removing that complete chunk or on setting
XKB_ALWAYS_USES_SOFT_REPEAT?




diff --git a/xkb/ddxCtrls.c b/xkb/ddxCtrls.c
index 86a4aff..ab93cc0 100644
--- a/xkb/ddxCtrls.c
+++ b/xkb/ddxCtrls.c
@@ -39,6 +39,10 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #include <xkbsrv.h>
 #include <X11/extensions/XI.h>

+
+#define XKB_ALWAYS_USES_SOFT_REPEAT 1
+
+
 _X_EXPORT void
 XkbDDXKeybdCtrlProc(DeviceIntPtr dev,KeybdCtrl *ctrl)
 {




Cheers,
Sascha




Daniel Stone schrieb:
>  src/evdev.c |   29 +++++++++++++++++++++++++++++
>  src/evdev.h |    1 +
>  2 files changed, 30 insertions(+)
> 
> New commits:
> commit 6867652c2c8ad563d5655302d94134592b10265b
> Author: Daniel Stone <daniel at fooishbar.org>
> Date:   Thu Nov 27 13:24:08 2008 +1100
> 
>     Keyboard: Disable kernel autorepeat
>     
>     We handle autorepeat in software due to per-key repeat and whatnot, so
>     disable the kernel's, which just interferes with ours.
>     
>     Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> 
> _______________________________________________
> xorg-commit mailing list
> xorg-commit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg-commit
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20081202/7064a612/attachment.pgp>


More information about the xorg mailing list