### 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
pan_key_pressed = false;
	is_dragging = false;
}
void ViewPanner::set_callbacks(Callable p_pan_callback, Callable p_zoom_callback) {
	pan_callback = p_pan_callback;
	zoom_callback = p_zoom_callback;
}
void ViewPanner::set_control_scheme(ControlScheme p_scheme) {
	control_scheme = p_scheme;
}
void ViewPanner::set_enable_rmb(bool p_enable) {
	enable_rmb = p_enable;
}
void ViewPanner::set_pan_shortcut(Ref<Shortcut> p_shortcut) {
	pan_view_shortcut = p_shortcut;
	pan_key_pressed = false;
}
void ViewPanner::set_simple_panning_enabled(bool p_enabled) {
	simple_panning_enabled = p_enabled;
}
void ViewPanner::set_scroll_speed(int p_scroll_speed) {