Rémi Bernon : xinput1_3/tests: Wait for the state to change before checking it.