みやーんが「ThinkPad Saber」に挑戦
Recent IBM/Lenovo ThinkPad models have HDAPS (Hard Drive Active Protection System) support. HDAP’s ShockMgr API is accessible to developers, by reverse engineering. For scripting languages like Perl, it’s pretty straightforward to read the Accelerometer data from ShockMgr device.
So here it comes: ThinkPad Saber. It would be familiar as a ThinkPad clone of MacSaber if you’re a Mac Geek.
The code is written in Perl, and is available at my public svn repository. You can also download the self executable package (of course for Win32) from releases directory.