code: def _get_deltas(event):
          
          delta_x = round(event.deltaX())
          delta_y = round(event.deltaY())
          delta_z = round(event.deltaZ())
          return delta_x, delta_y, delta_z
docs: Get the changes from the appkit event.