enigo-rs / enigo

Cross platform input simulation in Rust
MIT License
1.09k stars 109 forks source link

Support high resolution scroll wheel #97

Open rogerdahl opened 4 years ago

rogerdahl commented 4 years ago

It wold be awesome to get support for injecting high resolution scroll wheel events. It would allow smooth scrolling instead of line by line scrolling if the events are based on input from a high resolution source, such as a touchpad. Support is available in the Linux Kernel. More info: http://who-t.blogspot.com/2018/12/high-resolution-wheel-scrolling-on.html

Edit: The high resolution wheel scrolling that was announced back in 2018 didn't happen. Over a year ago, there was a new announcement, again saying that it was about to be released, and that didn't happen either. There is a (rather small) disclaimer at the top of the announcement page now, which I either missed or that was added more recently.

Looks like good progress has been made on touchpad support, so going that route for high rez scrolling might make more sense.

indianakernick commented 3 years ago

Changing this for macOS is a piece of cake. Just requires changing two lines. I suspect the macOS implementation is using line scrolling to be compatible with the other implementations.