CWiid is a collection of Linux tools written in C for interfacing to the Nintendo Wiimote, including an event-based API, an event/mouse/joystick driver, and GUI/control panel.