Closed salihefee closed 3 months ago
Just a comment; also did you build and test this locally? Did you try without natural turned on as well?
Yes, it works with natural scrolling on and off.
Oh - I guess this assumes all scroll events come from the trackpad? What if a user uses a mouse instead but has natural enabled? It might flip how the mouse behaves I think.
Oh - I guess this assumes all scroll events come from the trackpad? What if a user uses a mouse instead but has natural enabled? It might flip how the mouse behaves I think.
Oh my god... I don't know how I didn't realise that. I am discarding this and I will create another PR with an "Invert Direction" settings added. I am so sorry.
I think it might be possible to check the source of the scroll event though. You could experiment with that.
Used the Gio.Settings API to query the natural-scroll option and inverted scrolling accordingly.