I'm not certain, but I think what you may be looking for is what I'd mentioned here:
[Link: remotecentral.com]It's a single button that acts as a toggle, it's not actually using toggle codes. It's the first thing that I'd noticed moving from my old B&W Pronto to the TSU9400 ... why a hard power button.
I used something similar to maintain "state" ... in this way when I checked the weather and went back to my selected state (i.e., DVD, Cable, Xbox) the system wouldn't try and set the input on the TV / Reciever and I'd have to wait while the sound and picture dropped out. I basically have the home page buttons check the state and if it's what's already selected, it calls a different set of actions that don't set inputs on the TV / Reciever (basically just a jump to the controls).
I hope this helps.