A system for adjusting an operating state of a medical electronic device is described. In an aspect, the system includes an optical tracking system configured to detect three or more tracking markers. The system also includes a processor coupled with the optical tracking system. The processor is programmed with instructions which, when executed, configure the processor to: configure an input command by assigning at least one operating state of the medical electronic device to a particular state of at least one of the tracking markers; after receiving a priming command, identify a present state of the tracking markers based on data from the optical tracking system; compare the present state with the particular state assigned to the operating state; and based on the comparison, determine that an input command has been received and adjust the operating state of the medical electronic device to the assigned operating state.