Allow concurrent buffering and dispatch of input events

This commit is contained in:
Pedro J. Estébanez 2023-04-24 12:46:01 +02:00 committed by Relintai
parent 41d0abc83e
commit 1225aa2492

View File

@ -40,6 +40,10 @@
#include "core/os/thread.h"
#endif
#ifdef DEV_ENABLED
#include "core/os/thread.h"
#endif
void InputDefault::SpeedTrack::update(const Vector2 &p_delta_p) {
uint64_t tick = OS::get_singleton()->get_ticks_usec();
uint32_t tdiff = tick - last_tick;