Enerccio/ewlc

Input - really slow mouse movements not detected downwards or rightwards

Opened this issue · 8 comments

Issue by ldmldmldm
Thursday Aug 11, 2016 at 01:44 GMT
Originally opened as Cloudef/wlc#181


Hi.

Moving really slowly (like 0.3cm/sec) results in the cursor not moving at all.

  • Only occurs when moving downwards or rightwards.
  • Does not occur when moving upwards or leftwards.
  • Occurs for the apple touchpad and some mouse.
  • Does not occur under libinput on X11 or weston.

Note: on the touchpad I start from the middle to avoid any of the palm detection (which triggers if you start from top left or top right)

I confirmed I am using libinput on X using

arch:~$ grep -e "Using input driver " ~/.local/share/xorg/Xorg.0.log
[ 25022.988] (II) Using input driver 'libinput' for 'USB Optical Mouse'
[ 25023.031] (II) Using input driver 'libinput' for 'bcm5974'

My sway settings:

input "1133:49242:Logitech_USB_Optical" {
    accel_profile flat
}

input "7247:3:SIGMACHIP_Usb_Mou"{
    accel_profile flat
}

input "5426:67:Razer_Razer_DeathAdder_Chr" {
    accel_profile flat
}

input "1452:594:Apple_Inc._Apple_Internal_Keyboard_\/_Trac" {
    accel_profile flat
    tap enabled
    scroll_method two_finger
    dwt enabled
    natural_scroll enabled
}

input "1452:594:bcm" {
    accel_profile flat
    tap enabled
    scroll_method two_finger
    dwt enabled
    natural_scroll enabled
}

My X11 settings:

Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"

    Option "Tapping" "true"
    Option "NaturalScrolling" "true"
    Option "DisableWhileTyping" "true"
    Option "ScrollMethod" "twofinger"

    Option "AccelProfile" "flat"
EndSection

Version info:

arch:~$ pacman -Qi wlc-git
Version         : 0.0.5-1
arch:~$pacman -Qi sway-git
Version         : r1863.49afdb4-1
arch:~$ sway -v
sway version 0.9-38-g49afdb4 (2016-08-10, branch "master")

Thanks.

Comment by ldmldmldm
Thursday Aug 11, 2016 at 01:49 GMT


@psgarsenal no Cloudef/wlc#166 (comment) does not solve the issue. I believe the profile is already flat, and there is something else screwing with the cursor when going rightwards and downwards.

Comment by Cloudef
Thursday Aug 11, 2016 at 11:08 GMT


Do you have this issue with weston?

Comment by ldmldmldm
Friday Aug 12, 2016 at 03:01 GMT


No. Weston works perfectly (with both mouse and touchpad) in all directions.

Comment by cafehaine
Monday Aug 29, 2016 at 06:48 GMT


Ok so I did some testing, and it turns out that "accel_profile flat" in sway does not solve my issue, and that it does not appear in weston, so this issue and mine (#166) are the same

Basically, to sum up both issues, there is a problem that causes slow movements to not be detected in certain directions, depending on the mouse. I don't know about the apple's trackpad, but it seems that our problem is still linked with hi-dpi mice

Comment by ldmldmldm
Wednesday Aug 31, 2016 at 00:09 GMT


@psgarsenal your linked issue seems to have different symptoms, are you now exhibiting my symptoms also?

Comment by cafehaine
Wednesday Aug 31, 2016 at 06:23 GMT


Symptoms were the same explained differently, i cannot move my mouse slowly, in the down-right direction, I just thought moving it in circle would show it better on video.
It must be something with the hardware acting in a different way than "traditional mice", since, as you can see in my issue, a 5 buck mouse don't have this problem.

Comment by ldmldmldm
Wednesday Aug 31, 2016 at 07:01 GMT


Logitech B100 at 800dpi and Razer Deathadder Chroma at 1200dpi, Sigmachip at 800dpi

  • all show the issue with no configuration applied
  • but do not show the issue with accel_profile flat

The Logitech I have at work shows the issue, but i'll check this again when I next go in.

Apple touchpad

  • does show the issue with accel_profile flat
  • I confirmed the settings are being applied as natural_scroll does apply
  • it's so bad that sway is basically unusable
  • works perfectly in weston and x11

Comment by MateusZitelli
Thursday Jan 05, 2017 at 11:14 GMT


Any updates on this? The issue persists with the actual master using Apple Touchpad.