Bend me, shake me: iPhone accelerometer hacked





The same guys who showed you how to put together a two-buck MultiTouch interface have also come up with software that takes the fun back to the iPhone: they’ve figured out how to access the handset’s accelerometers, opening up all manner of twisty game and general iPhone wankery possibilities.  Turns out that while it’s possible to access the 3-axis data from within Safari, the sample rate there is generally too slow to be especially useful; the Medallia hack gives access to true third-party apps and at as fast a rate as the sensor can supply it.

 [youtube]http://www.youtube.com/watch?v=Wtcys_XFnRA[/youtube]

So aside from a swish demo, what does this mean?  Well, for a start you can finally use your iPhone as one of those “guide a ball around a maze” games, of the sort you sometimes get in Christmas crackers.  Medallia have been kind enough to release the source code, so it’s up to the developers to make the most of it.  A driving game, tilting the iPhone to steer might be quite fun too.

Source Code

Subscribe via RSS or Email | Read

One Response to “Bend me, shake me: iPhone accelerometer hacked”

  1. Rebles says:

    !!!!
    I looove the “guide a ball around a maze” game! :D


Leave a Reply

You must be logged in to post a comment.