[PATCH 1/9] dinput: Factor all GetDeviceInfo implementations together.