[PATCH 3/7] dinput/tests: Add a helper to wait on HID input reads.