Windows 7 Sensor and Location API Part 2 – Accelerometer as a Joystick
In this session, Pete Brown shows us how to use the Windows 7 Sensor API, via the Windows API Code Pack, to treat the accelerometer as a type of two axis (X,Y) joystick. Be sure to check out Part 1 for information on how to set up the Freescale Sensor board and where to get the drivers, as well as a recording of the accelerometer in use in an XNA racing car game. The source code requires the Windows API Code Pack to compile.
Author: Pete Brown
Related Blog Post
Related Links: