Re: Windows HID Control Endpoint
Xiaofan Chen <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAGjSPUAGgs3J6hJAmDAyfsPeA48Gfi8q7X18DUA_ZZR27Q0cyg@mail.gmail.com> |
On Mon, Aug 11, 2014 at 11:30 PM, vancv <[email protected]> wrote: > Hello, I have joystick (Saitek X52) with LCD Display and I want to be able to > control it. > For example under Linux I can use this snippet to control brightness: > > libusb_control_transfer ( > devh, > LIBUSB_ENDPOINT_OUT | LIBUSB_REQUEST_TYPE_VENDOR | > LIBUSB_RECIPIENT_DEVICE, > X52PRO_REQUEST, > 20, > X52PRO_MFDBRI, > NULL, > 0, > 1000); > > Under windows I get following error: > libusb: warning [hid_submit_control_transfer] unsupported HID control > request > Error sending Feature report > > If I change USB driver from HID to WINUSB (using Zadig), I can successfully > control display, but joystick itself does not work. Is there a way to have > working joystick with functional control endpoint under windows? This mailing list is for libusb-win32 under Windows which is compatible to the libusb-0.1 API. It also covers libusbK and libusbdotnet. For the cross-platofrom libusb-1.0 API, you should go to the libusb mailing list. https://lists.sourceforge.net/lists/listinfo/libusb-devel It seems that the request is not supported by the HID backend (not so sure if it is a limitation or a bug), you should ask in the libusb mailing list. In any case, you may want to look at HIDAPI for cross-platform HID support. -- Xiaofan ------------------------------------------------------------------------------