Sometimes Dolphin can be finicky. What I usually do is try and set all my buttons and such up before I play with Dolphin if it's doing that. Try and set your buttons and such up, run the game and go back in to the controller settings and make sure it's set to the right input. Sometimes, it'll switch the input on you.