schellingb / dosbox-pure

DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
GNU General Public License v2.0
752 stars 62 forks source link

[Feature Request] physical mouse support for Android version? #522

Open mgetti opened 1 month ago

mgetti commented 1 month ago

Mouse is recognized by Android system and enabled in Retroarch menus, but cannot move the cursor under emulation (both in games launched directly from dosbox pure and installed win98 disk image, or within win98 itself). Have previously had no issues using pure under retroarch on Mac - is this just something still missing from the android version? Mouse cursor works with thumbsticks as expected, and physical keyboard works, but no amount of settings changes seems to enable the use of a physical mouse. Any help or information you could offer would be truly appreciated - Dosbox pure is amazing! Thanks so much!

schellingb commented 1 month ago

The core does not (and should not) do anything special for Android, so any platform specific input issues are in the frontend (RetroArch) and should be reported there. There's a large discussion on issues with physical mice on Android here libretro/RetroArch#14016 and a recent improvement done as part of libretro/RetroArch#16203 . It's a lot to read but can you look at it to see if anything mentioned there helps?

mgetti commented 1 month ago

Thanks so much for your reply, I'll do that. Please pardon my lack of technical understanding. I've enjoyed using Dosbox Pure very much, so thank you again for all your work!

The thread is exactly where I should have started - thank you again. Would it be at all possible to get an APK link for your android_grab_mouse branch (https://github.com/schellingb/RetroArch/suites/17052044930/artifacts/973930875)? Unfortunately, the links no longer seem to be working in the thread. Thanks again!

tails101 commented 4 weeks ago

RetroArch itself has issues with mice on Android. Even if you capture the mouse, it still detect screen borders and lock you in place. Even worse you can pull android top bar menu. This is why I preferred to go to a Linux distro for my raspberry instead of android. I guess you need a desktop os to emulate another desktop os...