Well at least part of the issue is that you're trying to use an emulated GameCube Pad to play games which need a Wiimote. Luckily for you, I already have a config which should allow you to play SMG/SMG2 (I only have the first one) relatively easily. Change the extension of the attached file to .ini, and put it in Dolphin/user/config/profiles/Wii/. Then in Dolphin, click on Wiimote config, select emulated wiimote as wiimote 1, click on it's configure button, then in the top right of the new window, there should be an option to select this config, and then load it.
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
