Not Sure what a Mac is, but in Windows it took me 1 minute to install a Wii Remote, you don't need to enter any 4 digit, you press 1 and 2, and scan for the device.
http://www.dolphin-emu.org/connect-wiimote.html
http://www.dolphin-emu.org/connect-wiimote.html
