playAbilityTech / Arduino-JoyCon-Library-for-Nintendo-Switch

Transform your ATmega32u4 based Arduino boards into Nintendo Switch-compatible gamepads! This library enables the Arduino Leonardo, Micro, or compatible clones to be recognized as HID game controllers with customizable inputs. Featuring support for up to 16 buttons, a hat switch, and dual analog sticks with 8-bit precision
GNU Lesser General Public License v3.0
97 stars 8 forks source link

Is there an update loop or something else that could break my analog readings? #8

Open Testbild-synth opened 1 year ago

Testbild-synth commented 1 year ago

So I am currently using your library (great work btw) for building a taiko no tatsujin controller using a real drum. For this I read out different analog inputs from piezo sensors in a loop, smooth the values and then apply some thresholding.

If I use the sketch without the joycon library it works fine, but as soon as comment in the joystick commands and send button presses it reacts completely different to the input. Is there an update loop or something else that could impact my readings (since I do the smoothing, blocking for longer periods of time will also impact them)?