code: def _set_vibration_win(self, left_motor, right_motor, duration):
          
          self._start_vibration_win(left_motor, right_motor)
          stop_process = Process(target=delay_and_stop,
                                 args=(duration,
                                       self.manager.xinput_dll,
                                       self.__device_number))
          stop_process.start()
docs: Control the motors on Windows.