GlovePIE was always the application that I used to interface with Wii remotes.
You can find the documentation of GlovePIE here.
All the versions of GlovePIE have been archived by someone on GitHub (a code hosting website)
If you need any further assist feel free to reply. I sadly don't have a Wii remote lying around anymore.. :)