You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Merge pull request #94052 from m4gr3d/clean_input_dispatch_settings
Cleanup Android input on render thread settings
This commit is contained in:
@@ -1023,7 +1023,7 @@ void Input::parse_input_event(const Ref<InputEvent> &p_event) {
|
||||
if (buffered_events.is_empty() || !buffered_events.back()->get()->accumulate(p_event)) {
|
||||
buffered_events.push_back(p_event);
|
||||
}
|
||||
} else if (use_input_buffering) {
|
||||
} else if (agile_input_event_flushing) {
|
||||
buffered_events.push_back(p_event);
|
||||
} else {
|
||||
_parse_input_event_impl(p_event, false);
|
||||
@@ -1054,12 +1054,12 @@ void Input::flush_buffered_events() {
|
||||
}
|
||||
}
|
||||
|
||||
bool Input::is_using_input_buffering() {
|
||||
return use_input_buffering;
|
||||
bool Input::is_agile_input_event_flushing() {
|
||||
return agile_input_event_flushing;
|
||||
}
|
||||
|
||||
void Input::set_use_input_buffering(bool p_enable) {
|
||||
use_input_buffering = p_enable;
|
||||
void Input::set_agile_input_event_flushing(bool p_enable) {
|
||||
agile_input_event_flushing = p_enable;
|
||||
}
|
||||
|
||||
void Input::set_use_accumulated_input(bool p_enable) {
|
||||
|
||||
Reference in New Issue
Block a user