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

Need help wiring, cause of bugs. #226

Open Marcv0dka opened 2 years ago

Marcv0dka commented 2 years ago

Description of Issue

Hey Guys, I hope you can help me with my problem. I want to create a button-box with 5 momentary switches (on)-off-(on), 4 push buttons, 2 encodes with switch function, 2 joysticks also with switchfunction and 1 keyswitch. At my first trial, after wiring, I ended up like all buttons/switches are working but the switchfuntions of encoders and joysticks do not, and also the rotate function will press multiple buttons. At seconds try I ended up like 2 (on)-off-(on) switches, 1 push button are not working anymore, the switchfuntion on encoders and joysticks still not working, but the rotate function is working fine. So i really hope you could help me to find the issue in my wiring or my code.

Technical Details

Wiring Details

Here you can find my first trial wiring Here you can find my second trial wiring Here you see what happens if I use the rotate function of encoder

Additional context

Here you can find my code to the seconds trial

Thanks a lot and greetings, Marc