[PATCH 1/5] dinput/tests: Wait for Acquire to complete when injecting input.