earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
1.96k stars 406 forks source link

Factor out cut-n-pasted GAMEPAD16 HID structures #2302

Closed earlephilhower closed 1 month ago

earlephilhower commented 1 month ago

Create a single spot with the gamepad16's HID report descriptor and report structure. Avoids cut-n-pasted code.