Rémi Bernon : dinput/tests: Use semaphores to count and notify rawinput messages.