Posted on May 25, 2011 by x-io Technologies

This open source project demonstrates how the x-IMU can be used as a ‘Wii mote style’ mouse for the PC. The x-IMU auxiliary port mode is configured as digital I/O to interface to 2 external switches functioning as the mouse left and right buttons. These buttons were created with 2 tactile switches, a small piece of stripboard and header connector to attached directly to the auxiliary port. The PC application created using the x-IMU API automatically connects (and re-connect) to the x-IMU and parses the received orientation and button data to Windows as a mouse input.