Gamepad button options

I’ve been looking into how a gamepad works with Mission Planner over a telemetry link.

On the Mission Planner screen where the gamepad is set up, there are drop down options for functions/modes to use based on the gamepad buttons that can be pressed.

It looks like these selections configure Mission Planner to send the selected mavlink command based on the button being pushed.

The list of commands is fairly limited.

Is there a way to add additional commands? For example, a command that allows programming a button for RTL. Or maybe Auto mode.

Thanks!

Addendum:

I see that by pressing the Settings button - window pops up with a drop down box of the normal flight mode selections:

But choosing one of these options, such as RTL, doesn’t populate the menu to show that that option was assigned to the button.

I’ll play around with it a bit more and maybe I can figure it out. If so - I’ll post what I learn. But any tips would be appreciated!

OK - selecting the flight mode on the drop down box appears to do the trick.

I did the “Detect” - pressed the button on the gamepad - then clicked “Settings” - and then selected “RTL” on the drop down list.

Then I did “Save” and then “Enable”.

Then pressing that gamepad button did send “RTL” to my copter. So success!

The only issue is that there’s noting on this joystick configuration screen that displays that I’ve made this selection. It would be nice to be able to see how the button functions have been assigned.