I have successfully tested the Logitech 3d Pro joystick with the USB host shield, everything works as it should, I just don’t understand how?
I want to modify the code so that the ‘Button’ event to allow for multiple buttons to be used simultaneously.
In the current format there is a single variable with a value of 0-12 (0= no button pressed).
I would like each button (there are 12 in total) on the joystick to return a boolean value with each cycle (loop or update).
I attempted to identify where and how the current code does this but became very quickly confused and I realise that I am totally out of my depth.
Also: what the the “correct” way to provide example code in the forum (instead of simply attaching)?
My Goal is to understand how this works, currently so that I can modify the various components myself and understand how the code structure works (best to know how to fix something BEFORE you break it).
When I started trying to understand the USBHID and USBHOST libraries I quickly learned that it is time to seek help from the community.
Logitech3DPro.ino (2.08 KB)