Windows HID Control Endpoint

vancv <[email protected]>
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <[email protected]>
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?

Thanks. 



--
View this message in context: http://libusb.6.n5.nabble.com/Windows-HID-Control-Endpoint-tp5713548.html
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.