mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Allow concurrent buffering and dispatch of input events
This commit is contained in:
parent
41d0abc83e
commit
1225aa2492
@ -40,6 +40,10 @@
|
|||||||
#include "core/os/thread.h"
|
#include "core/os/thread.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef DEV_ENABLED
|
||||||
|
#include "core/os/thread.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
void InputDefault::SpeedTrack::update(const Vector2 &p_delta_p) {
|
void InputDefault::SpeedTrack::update(const Vector2 &p_delta_p) {
|
||||||
uint64_t tick = OS::get_singleton()->get_ticks_usec();
|
uint64_t tick = OS::get_singleton()->get_ticks_usec();
|
||||||
uint32_t tdiff = tick - last_tick;
|
uint32_t tdiff = tick - last_tick;
|
||||||
|
Loading…
Reference in New Issue
Block a user