Apologies if this is not the correct place to ask this. Please proceed to virtually slap me if this is the case

Is there a way to disable head tracking (using TrackIR myself) when the menu's are open, automatically? I saw a discussion here that Ctrl and T can disable it temporarily, but this could already be achieved with Track IRs software. I am finding that pressing a key is quite cumbersome and sometimes I flick into a menu quickly, set something, then back to normal and adding the key press and waiting for it to adjust is annoying. The action of the disabling is quick but it still adds that action.
I have done a search but haven't found much information on this so wondered if someone could answer? Many thanks in advance!