lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

can't scroll with trackpads

Open primalmotion opened this issue 2 years ago • 2 comments

I'm on Arch Linux, on Hyprland, and I tried with the latest flatpak version as well as the one from AUR and both shows the same issue. Two finger scrolling is not working (tried with an external trackpad, as well as the one built-in). I can scroll with up/down arrow, or by dragging the scroller, but that's all

primalmotion avatar Jul 06 '23 22:07 primalmotion

Hmm... This depends on how SDL sees the trackpad device and what kind of events it will send to the app. Typically trackpad scrolling is translated to mouse wheel events, and in most cases those are handled fine by Lagrange. Newer versions of SDL (2.0.18+) seem to support "precise" trackpad scrolling, which means per-pixel offsets, and those I am not handling yet.

How is your trackpad scrolling expected to behave? Does it work in larger steps like an emulated mouse wheel, or with per-pixel fine motions?

skyjake avatar Jul 09 '23 11:07 skyjake

probably per pixel. I'm not sure how to check, but my stack is pretty recent, so I guess if this is now the default behavior, it's probably what I use

primalmotion avatar Jul 10 '23 19:07 primalmotion