Radiocommande and joystick switching

Hello dear all , it is possible to switch intentionnaly from radiocommande to joystck control ? The parameter COM_RC_IN_MODE set to 2 talk about falling back to one source to other if the input stream becomes invalid , but can how can intentionnaly make one source ( radiocommande for exemple) invalid to switch control to the other source ( joystick ) ? I don’t want to use COM_RC_LOSS_T that is considering a source invalid if there is no inputs in a setted time , i want to use a button.