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