Fix Rumble feature for bluetooth devices
When rumble_obj.t >= 0, SendRumble should be frequently called to make Rumbling actually work.
This commit is contained in:
parent
9e542510a9
commit
390313b3da
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