https://bugs.winehq.org/show_bug.cgi?id=51873
--- Comment #12 from Ivo Ivanov logos128@gmail.com --- (In reply to Rémi Bernon from comment #11)
Created attachment 71009 [details] WIP patches for PID input state report
Thanks! The patchset looks good. The SDL and lnxev parts look implemented well.
My device (Simucube 2) though, doesn't send a single PID State Report on the INTERRUPT IN endpoint. It'll need the input report requested through the control endpoint with the HIDIOCGINPUT from the winebus.sys/bus_udev hidraw part. I thought that if there is no available report with the requested id from the last read through the INTERRUPT IN channel, then something like the Get Feature Report can be done in IOCTL_HID_GET_INPUT_REPORT in winebus.sys/main.c hid_internal_dispatch(), etc.