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

Method get_device

core/input/input_event.cpp:51–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51int InputEvent::get_device() const {
52 return device;
53}
54
55bool InputEvent::is_action(const StringName &p_action, bool p_exact_match) const {
56 return InputMap::get_singleton()->event_is_action(Ref<InputEvent>(const_cast<InputEvent *>(this)), p_action, p_exact_match);

Callers 15

_call_inputMethod · 0.45
_call_shortcut_inputMethod · 0.45
_call_unhandled_inputMethod · 0.45
_window_inputMethod · 0.45
_process_pickingMethod · 0.45
_call_gui_inputMethod · 0.45
_find_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected