News for hackers. Stuff that matters.
Re:Show HN: UnnaturalScrollWheels – Better scroll wheel sett... by aptgetrekt on Monday July 27, 2020 @12:51PM (#23966872)
This is actually Apple's fault more than anyone. I was originally planning to release on the App Store but decided not to after thinking about the $100 a year fee to be in the developer program and the 30% cut Apple would take if it were paid, and that's assuming the app would be approved by Apple in the first place. Although I decided not to release on the App Store I want to keep the option open. Apps on the App Store need to be sandboxed, which means no preference pane.

I agree apps filling up the menu bar is annoying, so there is an option to hide it if you wish.

Re:Show HN: UnnaturalScrollWheels – Better scroll wheel sett... by Wowfunhappy on Monday July 27, 2020 @02:34PM (#23967995)
...wait a sec. Sandboxed apps have the ability to hijack the scroll wheel when you're using other apps?
Re:Show HN: UnnaturalScrollWheels – Better scroll wheel sett... by aptgetrekt on Monday July 27, 2020 @02:49PM (#23968130)
Looks like it, yes. I don't use any special private APIs, just the public ones that you can use in apps on the app store. They need the accessibility permission to "Control your computer". Apps like BetterSnapTool/Magnet work with the same permission. Here's the code that actually intercepts scroll events: https://github.com/ther0n/UnnaturalScrollWheels/blob/master/...
Re:Show HN: UnnaturalScrollWheels – Better scroll wheel sett... by saagarjha on Monday July 27, 2020 @02:49PM (#23968124)
I think the accessibility API lets you do this, although you might need to explain why you're using it during app review.