MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.
GNU Lesser General Public License v3.0
2.06k stars 403 forks source link

Arduino Micro and 32 Buttons #270

Closed dimigav closed 1 year ago

dimigav commented 1 year ago

I noticed that you support up to 32 buttons, but Arduino Micro cannot handle too much buttons. So, if someone want to use 4 analog inputs for joystick, 2 analog inputs for rudder and lets say 23 buttons is impossible with the code. Can you provide code for input matrix?

Thanks Very good job anyway.

MHeironimus commented 1 year ago

This library is not focused on how you read buttons or other hardware. It is only focused on making the Arduino appear as a Joystick/Gamepad to the host device. See the FAQ section on Buttons for information on how to read values from large numbers of buttons.