Re: xf86-input-evdev: Changes to 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
> 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@xxxxxxxxx>
> 
> _______________________________________________
> xorg-commit mailing list
> xorg-commit@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/xorg-commit
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [Intel Graphics]     [AMD Graphics]     [Nouveau Driver]     [XFree86]     [XFree86 Newbie]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]

  Powered by Linux