Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 29486  / 1 Year ago, sun, december 25, 2022, 10:21:15

12.04 has smooth scrolling enabled for touchpads with GTK. I was wondering if it could be enabled for mouse wheels too? If yes, how? If not, why not?
Thanks.


More From » 12.04

 Answers
5

I wish smooth scrolling could be enabled EVERYWHERE, sadly smooth scrolling can not be enabled for mouse wheels because they have "jumps" whereas the scroll input from a touchpad is precise enough to register pixel-for-pixel motion.



To test this out, fire up a terminal and run



xev


Then place the cursor in the window and scroll up and down. You will notice that the key (button 4 and 5) registers output continually as long as you move your fingers. Now scroll with the click-wheel. It will only register once per mouse-wheel click.



Some mouse-wheels do not have distinct "jumps" when rolling but I'll bet that the hardware reads the distance travelled by the roller, and sends jumps just like other mice to insure hardware compatibility.


[#38299] Sunday, December 25, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sertold

Total Points: 445
Total Questions: 123
Total Answers: 113

Location: Burundi
Member since Wed, Sep 28, 2022
2 Years ago
sertold questions
Wed, Dec 21, 22, 16:02, 1 Year ago
Fri, Dec 31, 21, 01:50, 2 Years ago
Thu, Jun 16, 22, 23:30, 2 Years ago
Mon, Mar 7, 22, 16:21, 2 Years ago
Tue, Mar 29, 22, 02:11, 2 Years ago
;