I purchased an SNES mouse yesterday and i am happy to report that my SNES mouse behaves exactly as described.
Sour wrote: ↑Thu Mar 30, 2023 8:27 pm
My code doesn't implement this logic at all, at the moment.
Welp, so i dun went into your emulator and took a crack at it
The results are ...accurate, but honestly, they do not feel that great lol. The solution i came up with truly feels like an SNES mouse side to side ...with the caveat of default Mesen mouse speed settings, on my machine, with my resolution, with my Logitech optical mouse, with my Windows mouse speed settings, etc. There are also Windows settings such as Enhance Pointer Precision that affect pointer behavior, this should be disabled to get the "True SNES Mouse Experience".
Now, i guess the question really is, should the SNES Mouse in Mesen truly feel like an SNES mouse, for better or worse? For development sake, i would absolutely argue yes, it is helpful to have a peripheral that approximates the real thing. How about for just playing games though? ...well that is certainly debatable, i'm sure some puritans would argue yes, but, it is honestly a clunky experience by modern standards.
What i propose (and can't code without knowing more about your codebase) is an "SNES Accurate Mouse" checkbox in the mouse settings, i would suggest keeping it unchecked by default honestly, but the option would be nice.
Anyway, i made a pull request to your codebase and did all of the heavy lifting as far as making an accurately emulated SNES mouse, to the best of my abilities anyway. There is also a bool waiting for this UI option to actually exist.
Thanks again for your wonderful emulator and everything you do