### Godot version

v4.0.beta17.official [c40020513]

### System information

macOS

### Issue description

Zoom in/out is not being triggered while holding "control" and scrolling via magic mouse on macOS. I also attempted to press command/shift/option just in case shortcut has changed, but still wasn't able to zoom in/out. Pressing +/- buttons in the top-left corner works, so does the pinch gesture on trackpad, so the issue appears to be with magic mouse input events.

(There is also an issue with panning- it is extremely slow on both magic mouse and trackpad)

### Steps to reproduce

Hold "control" and "scroll" the magic mouse either horizontally or vertically

### Minimal reproduction project

N/A
zoom_callback.call(magnify_gesture->get_factor(), magnify_gesture->get_position(), p_event);
		return true;
	}
	Ref<InputEventPanGesture> pan_gesture = p_event;
	if (pan_gesture.is_valid()) {
		pan_callback.call(-pan_gesture->get_delta() * scroll_speed, p_event);
	}
	Ref<InputEventScreenDrag> screen_drag = p_event;
	if (screen_drag.is_valid()) {
		if (Input::get_singleton()->is_emulating_mouse_from_touch() || Input::get_singleton()->is_emulating_touch_from_mouse()) {
			
			
		} else {
			pan_callback.call(screen_drag->get_relative(), p_event);
		}
	}
	Ref<InputEventKey> k = p_event;
	if (k.is_valid()) {
		if (pan_view_shortcut.is_valid() && pan_view_shortcut->matches_event(k)) {
			pan_key_pressed = k->is_pressed();
			if (simple_panning_enabled || Input::get_singleton()->get_mouse_button_mask().has_flag(MouseButtonMask::LEFT)) {
				is_dragging = pan_key_pressed;
			}
			return true;
		}
	}
	return false;
}
void ViewPanner::release_pan_key() {