In S5, if the touch disappears or a finger is remove from the sensors T11, the state-machine switches S1, and if the stylus is detected T12, the state-machine switches to S3.
In S5, if the touch disappears or a finger is removed from the sensors T11, the state-machine switches to S1, and if the stylus is detected T12, the state-machine switches to S3.