3 ms·
Sudden motion detection [1] is built into many notebooks, and also allows you to use your MacBook as a lightsaber. [1] https://en.wikipedia.org/wiki/Sudden_Mot
by rzzzt 9y ago
Sudden motion detection [1] is built into many notebooks, and also allows you to use your MacBook as a lightsaber.
[1] https://en.wikipedia.org/wiki/Sudden_Motion_Sensor https://en.wikipedia.org/wiki/Sudden_Motion_Sensor
- i336_ 9y agoAnd thinkpads. I used it to add X11 autorotation to an X61 tablet. No spin animation, but it was a cool one-day hack nonetheless. The fun part was that the orientation analyses was done from a shell script, and actually worked 100% of the time (unlike so many phones)! \o/ The insane part was that DRM/KMS on Linux is 1000% crazy and I had to patch the kernel to stop poking the backlight on every. rotation. event, grr. (I had to do it in the kernel - I basically killed DPMS - because X11 libdrm is utterly incomprehensible.)
- giobox 9y agoThese were fun, but if i remember rightly, Apple have largely phased the Sudden Motion Sensor out on all their laptop models that come SSD only, which is increasingly almost all of them. There were some ridiculous examples of using it to sort mail into folders in mail.app as well, by tilting the MacBook left and right.