inputDirection changed