@cmuratori I have a question that unfortunately was too late for handmade hero today: In windows, window movement has 0 latency compared to the hardware mouse cursor. It follows pixel perfect. How does it do that? My own imgui has visible latency with vsync off and 0.2 ms frames.
-
-
Of course, you might _also_ be doing something wrong elsewhere. So be sure to check that you're using the most up-to-date mouse positions when you render. But fundamentally, there's not much you can do to ensure that Windows doesn't update the cursor location in between.
-
Thanks for the quick answer! I guess increasing the latency of the cursor to match the latency of the ui is one way :D unfortunately it doesn't really help in the persuit of lower latency over all.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.