This is for controllers that buttons register as keyboard and analog is vjoy when viewed in dolphin
Some controller applications like 3ds controller, where pressing a button is a keypress and the analog shows as vjoy in dolphin.
This is a repost of page 20 that wasn't by me, but I think people here will find uses for other controllers.

"Leave the top right drop down as "DInput/0/Keyboard Mouse" and map every button BUT the main stick buttons and then:
1.) Right click on one of the "Main stick" buttons, this will bring up a new window.
2.) Change the drop down to "DInput/0/vJoy Device" and delete the text in the bottom box.
3.) Press "Detect" and move the stick in the direction you want. This should highlight it in the middle box. Press "Select" and it will add text to the bottom box. Press OK.
4.) Repeat for all directions."
5.) Fix the deadzone

Every time you do this it adds text saying vjoy in it. Now you can play smash wii u with 3ds AND Brawl and Melee.
Pics may be coming soon.