Hot on HuffPost Tech:

See More Stories
Free Switched iPhone app - try it now!
AOL Tech

Firefox learns some new accelerometer tricks

You might be able to get more use out of your accelerometer. That little component that recognizes which way your device is tilted - you can find one in the Macbook Pro and the iPhone, amongst others - is getting some love from the Firefox developers at Mozilla, who have just added orientation support to the latest trunk build of Firefox. While it may seem like it should be far from a top priority for browser development, accelerometer support has a lot of potential, especially since it will eventually be available on Windows Mobile devices running Firefox's mobile version, Fennec.

Mozilla developer Doug Turner initially started building the orientation API because he was impressed by a Labyrinth game on the iPhone, where the player rolls a ball through a maze by tilting the phone. iPhone users already know that orientation support is great for gaming, but if it comes to Fennec on other devices that actually support Flash, we could see some amazing web-based accelerometer games. So far, however, the Macbook Pro is the only supported device.

[via MozillaLinks]

Tags: accelerometer, API, firefox, mozilla, orientation

Comments

1