Hi! Sorry for my bad english...
I am have some problem:
I am use evdev driver 2.3.2-6 and xserver 1.7.6.90 from Debian sid with A4Tech
mouse model X-710FS. And when mouse button was pressed or released the evdev
driver before key event post move event to Xserver with no changing coords.
I am try debug driver and see: moving event has no X or Y moving, but has Z
moving (15 pixels at every time).
And i am have random selection when press left button, in some applications
(change sorting in krusader) mouse can do "Double Click"
I am have do this: add filter:
if (!(v[REL_X] || v[REL_Y]))
return;
in EvdevPostRelativeMotionEvents and all work properly.
But i am know not: this is hardware bug or no, and is my fix right way or no.
With another mouse i am have no some problem, and no problem with earlier
version of xorg.
Xev output in attach.
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12289505, (78,60), root:(1029,85),
state 0x110, is_hint 0, same_screen YES
ButtonRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12289505, (78,60), root:(1029,85),
state 0x110, button 1, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12290013, (78,60), root:(1029,85),
state 0x10, is_hint 0, same_screen YES
ButtonPress event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12290064, (78,60), root:(1029,85),
state 0x10, button 1, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12290291, (78,60), root:(1029,85),
state 0x110, is_hint 0, same_screen YES
ButtonRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12290291, (78,60), root:(1029,85),
state 0x110, button 1, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12290729, (78,60), root:(1029,85),
state 0x10, is_hint 0, same_screen YES
ButtonPress event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12290779, (78,60), root:(1029,85),
state 0x10, button 3, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12291103, (78,60), root:(1029,85),
state 0x410, is_hint 0, same_screen YES
ButtonRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12291103, (78,60), root:(1029,85),
state 0x410, button 3, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12291511, (78,60), root:(1029,85),
state 0x10, is_hint 0, same_screen YES
ButtonPress event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12291561, (78,60), root:(1029,85),
state 0x10, button 3, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12291821, (78,60), root:(1029,85),
state 0x410, is_hint 0, same_screen YES
ButtonRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12291821, (78,60), root:(1029,85),
state 0x410, button 3, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12292329, (78,60), root:(1029,85),
state 0x10, is_hint 0, same_screen YES
ButtonPress event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12292379, (78,60), root:(1029,85),
state 0x10, button 1, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12292623, (78,60), root:(1029,85),
state 0x110, is_hint 0, same_screen YES
ButtonRelease event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12292623, (78,60), root:(1029,85),
state 0x110, button 1, same_screen YES
MotionNotify event, serial 34, synthetic NO, window 0x4800001,
root 0x106, subw 0x0, time 12293111, (77,61), root:(1028,86),
state 0x10, is_hint 0, same_screen YES
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg