Skip to content

Smooth scrolling on linux #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RichardHladik opened this issue Jun 1, 2021 · 4 comments
Closed

Smooth scrolling on linux #317

RichardHladik opened this issue Jun 1, 2021 · 4 comments

Comments

@RichardHladik
Copy link

Currently, ctrl.mouse_scroll(y=1, by_lines=False) scrolls by "one scrolling wheel revolution", and the by_lines parameter doesn't seem to do anything. I'd guess that the expected behavior is smooth scrolling, i.e., scrolling by 1px or something like that.
I am on arch linux, with xorg-server 1.20.11-1.

@lunixbochs
Copy link

I'm not really sure how to simulate a smooth scroll event without uinput.

In theory you can use SendExtensionEvent with a ScrollClass from XI2
https://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt

But it didn't work in my basic testing. If someone gets SendEvent / SendExtensionEvent working with an XI2 smooth scrolling event, I will integrate it.

@fmagin
Copy link

fmagin commented Jun 20, 2021

I'm interested in this feature, and willing to look into it.
What kind of testing didn't work? I assume this needs to be implemented inside Talon itself, so I am not sure what kind of PoC you'd need to consider this something you can integrate.

@lunixbochs
Copy link

lunixbochs commented Jun 20, 2021 via email

@lunixbochs
Copy link

fixed in beta v0.1.5-433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants