Connect your Mayflash adapter to your PC. Open the Dolphin Emulator. Navigate to "Controller Settings" in Dolphin, and select "Standard Controller" for the port you are using. In the dropdown, select "GameCube Adapter for Wii U". Dolphin should recognize the Mayflash adapter and your controller inputs.