def _get_deltas(event):
        """Get the changes from the appkit event."""
        delta_x = round(event.deltaX())
        delta_y = round(event.deltaY())
        delta_z = round(event.deltaZ())
        return delta_x, delta_y, delta_z
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
Get the changes from the appkit event.