drhelius / Gearcoleco

ColecoVision emulator and debugger for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
77 stars 16 forks source link

libretro: Refactor the input handling method to keep track of current… #28

Closed msheehan79 closed 1 year ago

msheehan79 commented 1 year ago

… input state, and only send actual changes to the Core class rather than sending every button state for both controllers on every frame.

Compiled & tested on Windows 10 x64 - unfortunately I do not have access to compile & test on other platforms.

This should resolve #27 and #23. Might also fix #19 (didn't test this scenario but it sounds like the same button sticking issue)

drhelius commented 1 year ago

Thanks a lot for your efforts!