deactivate method

void deactivate()

Removes the event listeners of the controls.

Implementation

void deactivate() {
  _domElement.removeEventListener(PeripheralType.pointermove, onPointerMove);
  _domElement.removeEventListener(PeripheralType.pointerdown, onPointerDown);
  _domElement.removeEventListener(PeripheralType.pointerup, onPointerCancel);
  _domElement.removeEventListener(PeripheralType.pointerleave, onPointerCancel);

  // _domElement.style.cursor = '';
}