no
This commit is contained in:
parent
5072e5d7a8
commit
273e915f67
@ -154,6 +154,7 @@ impl MouseInterpolator{
|
|||||||
//shitty mice are 125Hz which is 8ms so this should cover that.
|
//shitty mice are 125Hz which is 8ms so this should cover that.
|
||||||
//setting this to 100us still doesn't print even though it's 10x lower than the polling rate,
|
//setting this to 100us still doesn't print even though it's 10x lower than the polling rate,
|
||||||
//so mouse events are probably not handled separately from drawing and fire right before it :(
|
//so mouse events are probably not handled separately from drawing and fire right before it :(
|
||||||
|
// No, it's because the event loop thread is busy running physics.
|
||||||
if PhysicsTime::from_millis(10)<self.timer.time(time)-self.physics.get_next_mouse().time{
|
if PhysicsTime::from_millis(10)<self.timer.time(time)-self.physics.get_next_mouse().time{
|
||||||
self.unblock_mouse(time);
|
self.unblock_mouse(time);
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user