Looking-Glass / JoyconLib

Joy-Con library for Unity.
MIT License
471 stars 91 forks source link

Button mapping bug on game start #49

Open stuart-leftisright opened 2 years ago

stuart-leftisright commented 2 years ago

First of all, fantastic library, very much appreciate that it was shared with the world. Also realise that there's not much traction on this anymore so this may never be answered!

Using Unity 2020.3.33f1 on Mac I'm finding that very occasionally - maybe 1 in 100 plays - that my game starts up and the button mapping for the controller is wrong. Stick x direction is being triggered without moving and buttons are debugging as different button presses. Stop/restart or reload of scene fixes it. Not been able to consistently replicate and can't confirm if its isolated to a specific OS or version.

Mac itself - macOS 12.3.1 - has connection issues with a Joy-Con anyway, disconnects itself randomly after approx. 15-20 mins. That appears to be a hardware issue unrelated to the library as have read about it elsewhere.