Looking-Glass / JoyconLib

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

[RFC][Do not merge] Fix keep alive rumble packet congestion #6

Open CTCaer opened 6 years ago

CTCaer commented 6 years ago

Here's a simple way to fix the congestion from the keep alive x10 packets.

This is a reference. Not to be the real solution The proper way, should have a unified solution that also does not send a real rumble packet in less than 15ms. i do not know how you want to implement it.

In my opinion, it's better to make a threaded SendRumble() that always run on the background and remove it from the Poll() thread. And it should do the following: