FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
5.2k stars 82 forks source link

[Feature Request] Add an option to separate mouse scrolled vs mouse trackpad scrolled events #521

Open aspauldingcode opened 3 months ago

aspauldingcode commented 3 months ago

scroll with trackpad inverted compared to mouse wheel on my macbook.

The reason why is likely that I use a program called unatural scroll wheels which inverts my scroll direction for the mouse wheel. This is useful because in macOS, inverting your scroll direction using the settings natural scroll toggle, actually forces you to invert both the trackpad AND the scroll wheel, which is unacceptable. Scrolling up increases volume in my config, scrolling down decreases it.

If this is already implemented: how can we separate these events?

aspauldingcode commented 3 months ago

Now that I disable unnatural scroll wheels, it still has this issue..

FelixKratz commented 3 months ago

It would indeed be possible to send additional info such as device=wheel/trackpad in the $INFO JSON.

aspauldingcode commented 1 month ago

Hello, I'm wondering if this is being considered. is there an update on this?

FelixKratz commented 1 month ago

This will be added. It is a very easy code change but I am a bit swamped with work currently, so things are moving a bit slower than usual. You could try implementing it yourself and post a PR if you like. Even if you dont know anything about C it would be a nice first contact with the code base I think.