Basic touch state machine