I think a better way to implement this is on the foot switch input. Make that input be either a key, or a mute. 1. Footswitch input keys radio. 2. Footswitch input Mutes/inhibits transmit.