Nintendos motion control Wiimotes have indeed revolutionized the gaming experience. The Wii Remote is the primary controller for Nintendo’s Wii console. Since the release of the Wii console, developers have been exploring different ways to manipulate the use of the interactive Wii Remote. Many third-party applications are also in development. For example, one popular Windows program called GlovePIE allows the Wii Remote to be used on a personal computer to emulate a keyboard, mouse or joystick. If you are a Linux user who wishes to use the Wiimote with a Linux based app, then WiiCan is the mapping tool that can do this for you.
WiiCan is basically a system tray program written in python. It connects to bluez and hal via dbus for tracking the available bluetooth devices and wiimote connection status. WiiCan assists in the configuration and management of the wiimote under GNU/Linux. It tracks bluetooth connectivity and allows mapping the wiimote for use on any application.
Detailed instructions about the use of WiiCan is given on the developers page.