[PATCH v6 03/10] dinput/tests: Add a helper to wait on HID input reads.