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