I used to play Zelda TP on my Wii, but also I'm playing it on my PC right now.
So I'm using the movement recording function in order to use Wiimote and Nunchuk shake for that game.
I'm attaching an archive with the config file (.ini) that you need to copy to User/Config in the Dolphin folder.
Note that I'm using build 4033 so I haven't tried on older or newer versions.
As you see on the screenshot below, I've set 1 and 2 keys of the keyboard to the Wiimote and Nunchuk shake functions, but you're free to use your own sets of course. ^^
You need to go to Option menu on Dolphin, then Wiimote settings, then recording; normally the first 2 lines of the table should be already filled since you've copied the config file to the Dolphin config folder.
If you have any trouble, please feel free to ask.
I'm currently playing TP in the first temple, and so far it works great!
Edit : link to screenshot