| 3590 | } |
| 3591 | |
| 3592 | void Node::_call_input(const Ref<InputEvent> &p_event) { |
| 3593 | if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) { |
| 3594 | GDVIRTUAL_CALL(_input, p_event); |
| 3595 | } |
| 3596 | if (!is_inside_tree() || !get_viewport() || get_viewport()->is_input_handled()) { |
| 3597 | return; |
| 3598 | } |
| 3599 | input(p_event); |
| 3600 | } |
| 3601 | |
| 3602 | void Node::_call_shortcut_input(const Ref<InputEvent> &p_event) { |
| 3603 | if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) { |
no test coverage detected