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 <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
>
> _______________________________________________
> xorg-commit mailing list
> [EMAIL PROTECTED]
> http://lists.freedesktop.org/mailman/listinfo/xorg-commit
>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
