Rémi Bernon : dinput: Introduce a new struct to keep input thread state.