Devices with multiple motors will not vibrate as expected when using send_vibrate_cmd(float). Instead, only the first motor of that device will vibrate.
Steps to reproduce:
Connect a device with multiple motors (e.g. Lovense Edge)
Perform send_vibrate_cmd(1.0) on that device.
The first motor will vibrate while the second does not.
Expected behavior:
All motors will vibrate with the same intensity.
It appears to be because Line 255 of buttplug/client/client.py only sets the speed of the motor at index 0 and does not consider devices with multiple motors.
Workaround: Multiplying a list by the number of motors:
e.g.
Devices with multiple motors will not vibrate as expected when using
send_vibrate_cmd(float)
. Instead, only the first motor of that device will vibrate.Steps to reproduce:
send_vibrate_cmd(1.0)
on that device.Expected behavior:
All motors will vibrate with the same intensity.
It appears to be because Line 255 of buttplug/client/client.py only sets the speed of the motor at index 0 and does not consider devices with multiple motors.
Workaround: Multiplying a list by the number of motors: e.g.