sensory inputs mediating two opposite behavioural responses to