Enerccio / ewlc

Wayland compositor library - extended
MIT License
20 stars 3 forks source link

Input - really slow mouse movements not detected downwards or rightwards #67

Open WLCIssuesBot opened 7 years ago

WLCIssuesBot commented 7 years ago

Issue by ldmldmldm Thursday Aug 11, 2016 at 01:44 GMT Originally opened as https://github.com/Cloudef/wlc/issues/181


Hi.

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

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.

WLCIssuesBot commented 7 years ago

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


@psgarsenal no https://github.com/Cloudef/wlc/issues/166#issuecomment-237883598 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.

WLCIssuesBot commented 7 years ago

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


Do you have this issue with weston?

WLCIssuesBot commented 7 years ago

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


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

WLCIssuesBot commented 7 years ago

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

WLCIssuesBot commented 7 years ago

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?

WLCIssuesBot commented 7 years ago

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.

WLCIssuesBot commented 7 years ago

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


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

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

Apple touchpad

WLCIssuesBot commented 7 years ago

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.