code: def delta(self):
  		
  
  		if self.type != EventType.POINTER_MOTION:
  			raise AttributeError(_wrong_prop.format(self.type))
  		delta_x = self._libinput.libinput_event_pointer_get_dx(self._handle)
  		delta_y = self._libinput.libinput_event_pointer_get_dy(self._handle)
  		return delta_x, delta_y
docs: The delta between the last event and the current event.
  
  		For pointer events that are not of type
  		:attr:`~libinput.constant.EventType.POINTER_MOTION`, this property
  		raises :exc:`AttributeError`.
  
  		If a device employs pointer acceleration, the delta
  		returned by this method is the accelerated delta.
  
  		Relative motion deltas are to be interpreted as pixel movement of a
  		standardized mouse. See `Normalization of relative motion`_
  		for more details.
  
  		Returns:
  			(float, float): The relative (x, y) movement since the last event.
  		Raises:
  			AttributeError