USBComposite, Some help making a gaming HID…
Nutsy Sun Mar 03, 2019 12:12 am
Someone mentioned to me the USBComposite library in the core and this seems like the best option to make my custom game controller i have in mind for a project.
The only trouble is the examples included arent very detailed, and dont really make it clear how to set multiple buttons and inputs.
For instance I want 2 analogue sticks and several buttons.
What is the best way to organise all this?
Is there a more detailed example I can look at to get a better idea how best to organise my program?
So I put all my button and analogue state changes into interrupts? Or do i just run the elements of the hid in the main loop, so with each loop it checks the state of each button and analogue stick?
Also is there a more detailed set of documentation of the USBCompoite library? Googling hasnt really found anything.
Such as all the elements and components and how to use them…
