For the rest I refer you to the excellent article clubic.com. "Control your computer with the Wiimote"