dekuNukem / Nintendo_Switch_Reverse_Engineering

A look at inner workings of Joycon and Nintendo Switch
3.46k stars 194 forks source link

Stuck button behavior? #96

Open mattrcampbell opened 4 years ago

mattrcampbell commented 4 years ago

I am working on adding Joy-Con Bluetooth support to the USB Host Shield 2.0 Library and I have the joy-con connecting and switching to the standard input report format. I'm having this odd behavior though where when I press and release a button, they come back "stuck" in the 0x30 input report message. The amount of time they stay stuck is variable and happens on all buttons. I don't seem to see the same behavior on the analog stick values, they seem to snap back instantly.

Any suggestions?

mattrcampbell commented 4 years ago

Facinating. If I sent an update packet after ever 0x30 packet ( set leds on for example ) this problem goes away.. Are you supposed to ACK a standard report?