I believe that the XBox uses something called Toggle Codes. You can read more about these type of codes by searching the Classic Pronto Forum since the dawn of time for +Toggle +codes OR +Toggle +Bit
I believe that this is also discussed in the Classic Pronto FAQ.