MAX3421E-based USB Host Shield

Can I use the MAX3421E-based USB Host Shield to interface the Microsoft Sidewinder Precision 2 joystick to an Arduino R4? I am just needing to map the J/S codes without having to mechanically convert the optical sensors’ outputs.

Thanking you in advance

Brian

Hey there, @Brian253338,

The SideWinder probably won’t map directly through the keyboard/mouse examples, but provided you do a little bit of experimentation, you should be able to get everything off the ground.

Start with the most up to date USB Host Shield Library 2.0 and use the USBHID_desc example to confirm enumeration and print the joystick’s HID report descriptor.

Once you have that, you can move on to HIDUniversal plus a small report parser to extract the communication representing its axes, hat and button bits from each input report, and start integrating them to do what you like on the Arduino.

Thank you Jane for your help. I am onto it this weekend!