MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _call_shortcut_input

Method _call_shortcut_input

scene/main/node.cpp:3602–3610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3600}
3601
3602void Node::_call_shortcut_input(const Ref<InputEvent> &p_event) {
3603 if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) {
3604 GDVIRTUAL_CALL(_shortcut_input, p_event);
3605 }
3606 if (!is_inside_tree() || !get_viewport() || get_viewport()->is_input_handled()) {
3607 return;
3608 }
3609 shortcut_input(p_event);
3610}
3611
3612void Node::_call_unhandled_input(const Ref<InputEvent> &p_event) {
3613 if (p_event->get_device() != InputEvent::DEVICE_ID_INTERNAL) {

Callers 1

_call_input_pauseMethod · 0.80

Calls 2

is_input_handledMethod · 0.80
get_deviceMethod · 0.45

Tested by

no test coverage detected