The Register® — Biting the hand that feeds IT

Feeds

MacBook motion sensor malarkey gets useful

First there was MacSabre. Now welcome... SmacBook

If you thought the motion sensor in Apple's MacBook Pro and MacBook laptops was only there to help protect your hard drive from accidental drops, or to do silly things like Star Wars lightsabre emulation, think again. Someone's come up with an application that's actually useful: screen control.

You can see a video of the process in action here.

smackbook in action

The trick's done by combining Amit Singh's utility AMSTracker, a command line tool that regularly reports the motion sensor's status. It's then used by a system script like this one that uses the data provided by AMStracker to trigger events like key presses which in turn set Mac OS X's Exposé or Dashboard in motion.

Tap the side of your screen and... bingo.

Just don't hit it too hard, OK? ®

More from The Register

New Lumia 925: This, loyalists, is the BIG ONE you've waited for
Nokia veep drills high-end master plan for El Reg
Review: HP Pavilion 14 Chromebook
All roads lead to Chrome?
Borked your iDevice? Pay EVEN MORE to have it fixed by Applecare
Or scream at their hapless techies on their forums
Euro PC shipments plummet into bottomless pit of DOOOOM
11th quarter of decline, 20pc drop on last year - Gartner
Report: AT&T dropping Facebook phone after dismal sales
Turns out folks won't buy that for a dollar
Nintendo throws flaming legal barrel at YouTubing fans
All your walk-through vid revenue are belong to us
Which petite model likes a fondle and GETTING WET? Sony's Xperia ZR
Take this new mobe swimming. Just not deep, or for long, OK?