What exactly is an optical switch? The current optical switches, in fact, can also be called mechanical optical switches. The optical switches are triggered by the optical sensor to the induction of the light signal to register a key.