HTC Diamond Accelerometer managed API created

Developers, start your engines! Koushik Dutta, who appears to be some kind of .Net virtuoso, has wrapped Scott’s reverse engineering work in a managed API, allowing programmers to access the sensor from managed languages like C#.

His API also saved subsequent programmers some work, as he translates the raw data into accelerations in space using Newtonian units. He also includes with his example the source code for a simple Teeter-like game.

Hopefully the floodgates will soon open to a variety of accelerometer-based applications, like on the Nokia N95 when the API became similarly available. Lightsaber programmer, I’m looking at you 😉