Merge pull request #108 from quark-zju/rumble
Fix Rumble feature for bluetooth devices
This commit is contained in:
commit
3eddf935c2
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ namespace BetterJoyForCemu {
|
|||
Stopwatch watch = new Stopwatch();
|
||||
watch.Start();
|
||||
while (!stop_polling & state > state_.NO_JOYCONS) {
|
||||
if (isUSB)
|
||||
if (isUSB || rumble_obj.t > 0)
|
||||
SendRumble(rumble_obj.GetData());
|
||||
else if (watch.ElapsedMilliseconds >= 1000f / timing) {
|
||||
// Send a no-op operation as heartbeat to keep connection alive.
|
||||
|
|
Loading…
Add table
Reference in a new issue