I'm not sure if there is something wrong on my end or if this is a bug, but I'm having a hard time getting programmatically setting inputs to a GameCube controller.
My code:

Console output:

Dolphin Controller Settings:

Let me know if you need any more information about my setup. Thanks!