[Shield Android TV General] runswithascript:
How to input button 1 and 2?

I have had some limited success mapping 3 controllers with the following in my dolphin.ini:

[Android]
ScreenControls = False
InputA_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 96
InputB_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 97
InputX_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 99
InputY_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 100
InputZ_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 22-
InputStart_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 108
DPadUp_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 16-
DPadDown_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 16+
DPadLeft_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 15-
DPadRight_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 15+
MainUp_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 1-
MainDown_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 1+
MainLeft_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 15+
MainRight_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 15-
CStickUp_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 14-
CStickDown_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 14+
CStickLeft_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 11-
CStickRight_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Axis 11+
InputL_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 102
InputR_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 103
InputA_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 96
InputB_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 97
InputX_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 99
InputY_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 100
InputZ_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 22+
InputStart_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 108
DPadUp_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 16-
DPadDown_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 16+
DPadLeft_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 15-
DPadRight_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 15+
MainUp_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 1-
MainDown_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 1+
MainLeft_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 0-
MainRight_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 0+
CStickUp_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 14-
CStickDown_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 14+
CStickLeft_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 11-
CStickRight_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Axis 11+
InputL_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 102
InputR_1 = Device '8126b3c1c5d60105c2e1f2d1658dfd8db0f9720e'-Button 103
InputA_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 96
InputB_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 97
InputX_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 99
InputY_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 100
InputZ_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 22-
InputStart_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 108
DPadUp_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 16-
DPadDown_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 16+
DPadLeft_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 15-
DPadRight_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 15+
MainUp_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 1-
MainDown_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 1+
MainLeft_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 0-
MainRight_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 0+
CStickUp_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 14-
CStickDown_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 14+
CStickLeft_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 11-
CStickRight_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Axis 11+
InputL_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 102
InputR_2 = Device '55a2f3ac6ee48d8c5001798eea99cb24dae91703'-Button 103

Unfortunately I still cannot start any of the New Super Mario Bros. games as it wants me to input button 1. In my dolphin folder on Android there is a file called WiimoteNew.ini, and the following is an extract from it:

[Wiimote1]
Device = Android/4/Touchscreen
...
Buttons/- = `Button 102`
Buttons/+ = `Button 103`
Buttons/Home = `Button 104`
Buttons/1 = `Button 105`
Buttons/2 = `Button 106`

Trying to use this to guess how to map buttons for 1 and 2 I added the following to dolphin.ini:

Buttons/1_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 96
Buttons/2_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 97
Input1_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 96
Input2_0 = Device 'a691ea53a0f5aabd5e2dd0674f6ce7c0c6aca61f'-Button 97

Unfortunately that made no difference.

Does anyone know how to map Nvidia Shield Controller Buttons to Wiimote buttons 1 and 2?