You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Native pan and zoom for macOS
This commit is contained in:
@@ -319,6 +319,15 @@ void InputDefault::parse_input_event(const Ref<InputEvent> &p_event) {
|
||||
set_joy_axis(jm->get_device(), jm->get_axis(), jm->get_axis_value());
|
||||
}
|
||||
|
||||
Ref<InputEventGesture> ge = p_event;
|
||||
|
||||
if (ge.is_valid()) {
|
||||
|
||||
if (main_loop) {
|
||||
main_loop->input_event(ge);
|
||||
}
|
||||
}
|
||||
|
||||
if (!p_event->is_echo()) {
|
||||
for (const Map<StringName, InputMap::Action>::Element *E = InputMap::get_singleton()->get_action_map().front(); E; E = E->next()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user