Another IBM developerWorks article ThinkPad aerobics: Rotate and shake your laptop to control applications:

"Use synthetic X Window System events and embedded accelerometers to control applications by the movement of a laptop computer. Translate gestures, such as shaking, into mode-switching commands with detection algorithms to interact with applications in new ways. Develop tools to help build the next generation of interfaces that use accelerometers, such as applications for laptops and iPhones."

This relies on having a post 2003 IBM ThinkPad, and uses X11::GUITest to drive apps based on sensor hdaps data.

Tilt controlled frozen bubble anyone?

As usual with the developerWorks articles, there is a feedback form near the end.

Enjoy

Martin
  • Comment on ThinkPad aerobics: Rotate and shake your laptop to control applications

Replies are listed 'Best First'.
Re: ThinkPad aerobics: Rotate and shake your laptop to control applications
by grinder (Bishop) on Apr 03, 2008 at 16:57 UTC

    Miyagawa did this two years ago! You should have seen the lightning talk "Google Maps Tilting" at YAPC::Europe 2006 in Birmingham. It brought the house down. He wrote about it on his blog.

    • another intruder with the mooring in the heart of the Perl

Re: ThinkPad aerobics: Rotate and shake your laptop to control applications
by merlyn (Sage) on Apr 03, 2008 at 17:32 UTC