Looking at the hidraw API I see thos ioctl :
HIDIOCSINPUT
HIDIOCGINPUT
HIDIOCSOUTPUT
HIDIOCGOUTPUT
which is exactly the functions I'd need for a device I have here but :
- hid_get_input_report is the only function I see in the API and it's not implemented for hidraw
- There is no function for the other combination like hid_set_input_report / hid_get_output_report / hid_set_output_report