[Generic Devices] Joycon works but keeps resetting

I know this is highly experimental... but is there a workaround to this issue?

What is happening: I set up a joycon controller, but sometimes when I reload bettertouchtool everything has stopped working and I have to set it up from scratch again.

The analyzer no longer shows anything. It doesn't seem to work on my old setup.

Also: it seems that that analyzer looks different each time. Sometimes there are more bytes or less. And it seems that sometimes the joysticks are using different bytes or different reportBuffer.readUInt8's.

Is there anything I can do to help? To debug this? To implement this?

unfortunately I don't know anything about the protocol the joycon is using, maybe something is getting randomized or it operates in different modes? Someone has done some reverse engineering here:

It's also possible that what you are looking for is not always at the same byte position - there might be some lengths encoded that would need to be read to find the correct byte or similar.

When I get some time I'll have a look with my Joycons, maybe you can share what you have tried so far

Sure, the left joycon seems to encounter issues when I am trying to work with the joystick. I can troubleshoot it and see if I can help you on this, but I am having this very specific issue where the Bytes just stop showing up. When this happens I have to add it as a brand new device and start over.

Is there a way to reset this?

Note how the Analyzer shows nothing when it's in this state, and I have no idea how to reset it.

Just bumping this. I don't think that has anything to do with the joycons, as whenever I encounter this issue with any hardware it freezes up.

Just wondering if there is a way to reset things to their initial state instead of having to recreate a new device each time, starting from scratch.

If there is some way I can help contribute I would also love to do that.