The Null Device
2005/3/4
Apple's new PowerBooks now contain a motion sensor, allowing them to detect if they're falling and brace for impact. The sensor in question detects not only acceleration but also the machine's tilt. Über-hacker Amit Singh has figured out how to query this sensor and written programs which use it, including a demo which rotates windows on the desktop to compensate for the laptop's orientation.