Rémi Bernon : dinput: Handle device types and flags directly in EnumDevices.