[PATCH v2 01/10] dinput: Add read event and callback for file-based devices.