jtothebell / fake-08

A Pico-8 player/emulator for console homebrew
Other
583 stars 50 forks source link

Allow us to configure mouse input to the gamepad #187

Closed medeirosT closed 1 year ago

medeirosT commented 1 year ago

Hello Fake-08!

I've noticed that for pico-08 games that require a mouse, there is no support for retroarch mouse-less/touchscreen-less devices.

For our SBC devices (Such as the Anbernic RG351/RG552/RG353 series) we've started using a patch that goes around this by directly mapping the controller, but proper support would be nice.

I'm including our patch (It's a quick and dirty hack, but it does a basic job of allowing our users to at least use the left mouse button) hoping it helps in any way!

Thank you for your hard work!

0001-analog-to-mouse.patch.txt

jtothebell commented 1 year ago

Hello @medeirosT! I just pushed an update that should make your patch unnecessary. I don't have a build set up to test on one of the devices you mentioned, but it seemed to be working on my retroid pocket 2 (an Android device with an analog stick but no touch screen). Let me know if you see any issues with it.

jtothebell commented 1 year ago

The latest release has this fix in it. If there are any issues, you can comment here to re-open or make a new issue.