Open RobLoach opened 6 years ago
I originally had some problems with the mouse with game focus toggle on on the scummvm core but recently it seems better (except for a little bit after loading the core, the mouse can be 'restricted' to a imaginary y-axis zone of the screen)
But this is much better than it was before, where that imaginary line didn't stop and the actual scummvm cursor had no relation to what was being clicked. Then i had to use game focus toggle and that fixed it.
Game focus toggle appears to bind the Scummvm cursor to the 'real mouse cursor'.
One thing i noticed is that the OS cursor and the Scummvm cursor don't actually have any relation (except in game focus toggle mode). Even their vertical speed is different (the original cause of the offset cursor click bug was probably that it was clicking under the 'real OS mouse' not the scummvm).
Also had good results with both game and mouse toggle, both seem to work fine and make the sucmmvm core much more enjoyable.
Not on KMS as i found recently. It's just as bad (even worse) there. For instance, mouse (touchpad actually) buttons don't actually work. Mapped to retropad or not.
Thanks for the feedback! Going to close this one for now. The Mouse is working just fine.
If I was to improve anything would be to make the mouse toggle a per core option from the Controls quick menu. But that would be a frontend thing.
Added the ability to toggle the Pointer API on TIC-80, and found it very effective when RetroArch is not in fullscreen mode. Like you recommended, it's a core option: https://github.com/libretro/TIC-80/blob/master/src/system/libretro/tic80_libretro.c#L422-L446
Looks like this, and I think it would really improve mouse usage in the ScummVM core, so going to re-open this...
The Pointer API seems to reference everything as an absolute value, rather than relative. It may make the Operating Systems mouse match where the ScummVM mouse is for clearly? Perhaps this is not the correct approach?
https://github.com/libretro/libretro-common/blob/master/include/libretro.h#L149-L179