v2: Check `QS_INPUT` only after processing driver events, which should match hardware messages that have been sent. I am planning to introduce a dedicated internal hardware message bit, but I would rather do it later to avoid complicating things. Also remove a now succeeding todo_wine.