Skip to content
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

Make Trackpoint Scroll feels smooth #22

Closed
SukkaW opened this issue Jul 12, 2020 · 15 comments · Fixed by #43
Closed

Make Trackpoint Scroll feels smooth #22

SukkaW opened this issue Jul 12, 2020 · 15 comments · Fixed by #43
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@SukkaW
Copy link

SukkaW commented Jul 12, 2020

Currently Trackpoint scroll (with middle button) feels like mouse wheel: things scroll line by line.

Is it possible to make trackpoint scroll in a smooth way (like two fingers gesture on touchpad)?

@1Revenger1
Copy link
Collaborator

I'm not entirely sure how to do that unfortunately. Would be nice to have though. An interim solution could be to use smoothScroll https://www.smoothscroll.net/mac/

@1Revenger1 1Revenger1 added enhancement New feature or request help wanted Extra attention is needed labels Jul 12, 2020
@SukkaW
Copy link
Author

SukkaW commented Jul 13, 2020

@1Revenger1 Well, VoodooPS2 supports smooth scroll. I am not sure whether it is a feature of PS2 protocol or not.

@1Revenger1
Copy link
Collaborator

It isn't a feature of PS2. The trackstick data reported is the same between the two buses.

I took a quick looks and found these properties, so I can take a look in a bit
https://github.com/acidanthera/VoodooPS2/blob/master/VoodooPS2Trackpad/VoodooPS2SynapticsTouchPad.cpp#L528

@gimdh
Copy link
Contributor

gimdh commented Aug 3, 2020

VoodooSMBus/VoodooTrackpoint#6
Last PR works fine with mine.

@SukkaW
Copy link
Author

SukkaW commented Aug 4, 2020

VoodooSMBus/VoodooTrackpoint#6
Last PR works fine with mine.

I will have a test of your branch to see if it works.

@SukkaW
Copy link
Author

SukkaW commented Aug 4, 2020

VoodooSMBus/VoodooTrackpoint#6
Last PR works fine with mine.

@gimdh I have a custom build and it works. And #13 has been solved as well (The trackstick speed back to normal instead of too fast. In fact, it's becoming too slow now).

@gimdh
Copy link
Contributor

gimdh commented Aug 4, 2020

I suspect high mouse scroll sensitivity in macOS was causing #13. Scroll is too slow for me, too, so we might revert patch done for #13.

@1Revenger1
Copy link
Collaborator

I'll need to try it personally at some point, currently messing with Big Sur.

Cool that it fixed quite a bit though. I'll check out the sensitivity when I take a look at it. I don't see much point in decreasing the denominator (currently 20) but we could increase the default value maybe.

@1Revenger1
Copy link
Collaborator

Haha, ok I might lower the denominator. I've currently got the multiplier at 40 (40/20 = 2x multiplier) and it's still pretty slow. This otherwise is smoother.

1Revenger1 added a commit that referenced this issue Aug 26, 2020
* Increase speeds, seperate trackpoint timeout to it's own variable
Closes #35
Closes #22

* Add info.plist

* Update dependencies

* Revert to 2:1 PS2 mode
@gimdh
Copy link
Contributor

gimdh commented Sep 3, 2020

I have just found out Trackpoint scroll is not smooth in terminal. Maybe something more should be done.
@1Revenger1 Could you reopen this issue?

@1Revenger1
Copy link
Collaborator

Afaik it isn't smooth even with a trackpad.
Terminal isn't like other programs - it has rows and columns it adheres to afaik. I can test tomorrow but iirc trackpad and trackpoint behaved basically the same.

@SukkaW
Copy link
Author

SukkaW commented Sep 3, 2020

Afaik it isn't smooth even with a trackpad.

Confirmed.

I have just found out Trackpoint scroll is not smooth in terminal. Maybe something more should be done.

It should be considered as the desired behavior.

@gimdh
Copy link
Contributor

gimdh commented Sep 3, 2020

I compared magic trackpad 2 with trackpoint and thought MT2 to be much more smoother than trackpoint but yes, Macbook Air behaves same, and touchpad uses MT2 simulation via VoodooInput so they should be identical. My bad.

I think faster polling rate might made difference but that's out of scope, I guess. I'll test with MT2 more extensively tommorow, if possible, and confirm it.

@1Revenger1
Copy link
Collaborator

Hmm, could be polling rate. My trackpoint doesn't react to the polling rate command so it could be pretty far off. Wouldn't mind if someone compared different rates vs power consumption so we could choose the optimal one

@gimdh
Copy link
Contributor

gimdh commented Sep 4, 2020

@1Revenger1 It was way more simple problem. With Trackpoint scroll, multiple lines scroll at a time. However, with touchpad, only a single line scrolls at a time, but much more frequently. That's why I thought touchpad is smoother.
Skipping multiple lines at a time is generally bad for locating line, so I hope this to be fixed if possible. I wonder if VoodooPS2 is any better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants