Comment by crazygringo
1 year ago
Now that's got me wondering if you could replicate that through the haptic feedback component of e.g. MacBook trackpads.
I assume you could in theory? While in reality, there's probably no way for user software to access that part of the hardware directly?
Core Haptics [0] my friend. It's been a staple for mobile game dev for a while. It also happens to work on the trackpad on macos. But please don't. I'm sure apple would probably veto the idea as well.
[0] https://developer.apple.com/documentation/corehaptics/
On the contrary, I doubt Apple would reject an app for this. CoreHaptics are there for unlimited use in e.g. gaming and this HDD toy app is basically the same use case as gaming.
If Apple wasn't keen on it, they would limit the macOS taptic engine APIs similar to how they do on watchOS.
Right, they have software controls in place to prevent my trackpad buzzing for an hour straight. Good point. I’d assume Apple devs thought about how this could be abused, thought ahead, put a circuit breaker in there and said “call the api as much as you like”.
3 replies →