libinput-three-finger-drag
libinput-three-finger-drag copied to clipboard
The sensitivity while dragging feels higher than usual one.
elementaryOS 6 Early Access with non-stock 5.11 kernel.
While waiting for the author to assist on this issue, I did a workaround by changing lines 44-45 in the main.rs
file and compile the binary from source:
- let x: f32 = parts[6].parse().unwrap();
- let y: f32 = parts[7].parse().unwrap();
+ let x: f32 = parts[4].parse().unwrap();
+ let y: f32 = parts[5].parse().unwrap();
AFAIK, parts[4]
and parts[5]
are accelerated x & y touchpad movement translated by libinput. I think this is what we want instead of the raw unaccelerated parts[6]
and parts[7]