Mouse smoothing should be optional
Moderator: ZSNES Mods
Mouse smoothing should be optional
I've noticed that with the latest WIP build of ZSNES, the mouse cursor is smoothened by averaging its current coordinates with the previous ones. While this is good with old 30hz mice, it's a pain with decent mice that refresh around 100 times per second. Is there any chance that this could be set in the options somewhere rather than always on?
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
Whatever mouse you have, the GUI display refreshes only 36 times per second.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
I've always been getting the latest WIPs as soon as they're released, and I know that the problem was only introduced in either the current release or the previous one.
I also know that this problem is exactly the same as the result of smoothening the mouse too much, because I've experimented with that sort of stuff before.
EDIT: After some more experimenting, I've observed that the problem only occurs when Triple Buffering is enabled, and worsens when in a 60Hz screen mode.
I also know that this problem is exactly the same as the result of smoothening the mouse too much, because I've experimented with that sort of stuff before.
EDIT: After some more experimenting, I've observed that the problem only occurs when Triple Buffering is enabled, and worsens when in a 60Hz screen mode.
There you go, latency.
The mouse is already only being tracked and updated every 1.6667 frames ( 36fps ) at 60Hz display, then add the delay of two frames instead of three, and your cursor is only redrawn almost every frame, and up to 50ms behind.
Increasing the GUI update rate should solve the update frequency, but it won't solve the triple buffering lag.
The mouse is already only being tracked and updated every 1.6667 frames ( 36fps ) at 60Hz display, then add the delay of two frames instead of three, and your cursor is only redrawn almost every frame, and up to 50ms behind.
Increasing the GUI update rate should solve the update frequency, but it won't solve the triple buffering lag.