Some code example to read a gamepad controller in USB host HID standalone mode (or USBX) w/ H723ZG
Dear Community,
I looking for some help - I need to be able to read a gamepad controller (in this case logitech wireless F710) with a H723ZG board. I tried to adapt the mouse and keyboard examples without any success.
With the HID_standalone example, I get the following output when I connect the wireless dongle:
**** USB OTG HS in FS MSC Host ****
USB Host library started.
Starting HID Application
Connect your HID Device
USB Device Connected
USB Device Reset Completed
PID: c22fh
VID: 46dh
Address (#1) assigned.
Manufacturer : Logitech
Product : Logitech Cordless RumblePad 2
Serial Number : N/A
Enumeration done.
This device has only 1 configuration.
Default configuration set.
Switching to Interface (#0)
Class : 3h
SubClass : 1h
Protocol : 2h
Mouse device found!
HID class started.
USB Device disconnected
ERROR: USB device disconnected !!!
USB Device Connected
USB Device Reset Completed
PID: c21fh
VID: 46dh
Address (#1) assigned.
Manufacturer : Logitech
Product : Wireless Gamepad F710
Serial Number : 19619ECF
Enumeration done.
This device has only 1 configuration.
Default configuration set.
No registered class for this device.I'm not an USB expert, If someone could give me some starting point/clue I would greatly appreciate.
Thank you, J.
