code: def _set_vibration_nix(self, left_motor, right_motor, duration):
          
          code = self.__get_vibration_code(left_motor, right_motor, duration)
          secs, msecs = convert_timeval(time.time())
          outer_event = struct.pack(EVENT_FORMAT, secs, msecs, 0x15, code, 1)
          self._write_device.write(outer_event)
          self._write_device.flush()
docs: Control the motors on Linux.
          Duration is in miliseconds.