I built this app using Flash, tracking Infrared pens and spray cans by using Wiimotes connected over Bluetooth.