Re:DiskClick: Ever wanted to hear Old Hard drive sounds
by reactordev on Monday February 19, 2024 @08:10PM
(#39436870)
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.
Re:DiskClick: Ever wanted to hear Old Hard drive sounds
by yreg on Monday February 19, 2024 @08:18PM
(#39436927)
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.
Re:DiskClick: Ever wanted to hear Old Hard drive sounds
by reactordev on Monday February 19, 2024 @09:52PM
(#39437513)
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”.
Re:DiskClick: Ever wanted to hear Old Hard drive sounds
by yreg on Tuesday February 20, 2024 @10:43AM
(#39442629)
Well I don't know if that's the case, but I also don't know why your trackpad should brake after buzzing for an hour straight?
Your iPhone doesn't break from buzzing for an hour straight, developers are free to call the apis as much as they like. The taptic engines in both of the devices are pretty much the same thing, no?
Although, mildly related to your point: There was a Tesla software update last year that put a cooldown on the steppers moving the seats if the user fucks around with a seat position too much. Apparently _those_ were prone to overheat and brake.
Re:DiskClick: Ever wanted to hear Old Hard drive sounds
by reactordev on Tuesday February 20, 2024 @10:54AM
(#39442789)
Mmmmm, never said it would break. Just that it would buzz indefinitely.
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?