Programatic Josytick Disable

Hi team,

i’ve been messing around with some rc_override messages in mavlink for scripted control, but noticed that if i have a joystick connected in mission planner, the mavlink rc_override is ignored until the joystick is unplugged / disabled, im wondering if there is a programatic method of doing this using mavlink rather than always having to do it manually?

Mission planner automatically adjusts MYGCS_SYSID when joystick is enabled.

Im not sure i 100% follow, the parameter when i enable and disable my joystick in MP doesn’t seem to ever change from 255? I can see the description is
“Allows restricting radio overrides to only come from my ground station”
But im not sure how i make that discrete between mission planner and my rc override coming from python mavlink?