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.

http://www.opkg.org/package_219.html