speaker wiimote problems

Hi guys,

I am making a wiimote that plays sounds whenever you press a button. After doing some research i found the wiibrew site explaining how it works:


But i don't understand how i can add it to my code.

I am using the code from felis:

Just go to: examples > bluetooth > Wii and u see the code I'm using.

I found some information in the wiibrew to add 0x04 to the library (i think) but I dont know where to add it.

This requires a lot of research on the part of the reader. It reads more like an assignment than a question. Please provide adequate clickable direct links to the sources, and provide detailed explanations (for example, of why the magic number 0x04 is important).