Physical Mouse not Supported/Working in Game on iPhone and iPad
Is there an existing issue for this?
- [x] This is a bug in RetroArch frontend
- [ ] I have searched the existing issues
Description
I was trying to use a Mouse on my iPad and iPhone but sadly had no Luck
Info Here:
iPad is version 17 and using last offical RA AppStore Version
iPhone is using latest firmware/Version and RA latest TestFlight Version
Using Logitech Wireless Mouse and Keyboard
Asked DosBox Pure GitHub as mostly trying Dos Games
He said not his issue and it’s a RetroArch one
Link to Issue Post I made
https://github.com/schellingb/dosbox-pure/issues/582
So did I miss doing something or something need to be Fixed?
Expected behavior
Should work like a Mouse Normally Does
Steps to reproduce the bug
1 - Open RA
2 - Load Content to Load Game
3 - Load Game and see mouse not move
Version/Commit
1.20.0 From Playstore for iPad and latest from TestFlight in iPhone
Bisect Results
No
Present in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
iPad version 17 and 18 on iPhone
Affected Cores
PCUM and DosBox Pure and probably all games that need mouse support
Environment information
iPhone 13
and
iPad 7th Generation
Relevant log output
Make sure Automatic Mouse Grab is enabled.
Make sure Automatic Mouse Grab is enabled.
I tried that already and sadly did not work
Hm, I had this working at one point a few months ago, but now it's not working for me either. I'll see if I can track down if something broke.
Pretty sure what's going on is that when the mouse overlay is active it only pays attention to the overlay and ignores all other mouse input. You can confirm by turning off the mouse input, settings > user interface > on-screen overlay > enable overlay lighten, mouse, and pointer (or similarly in quick menu > on-screen overlay).
I've put up #17615 that should make it so both can work at the same time.
Pretty sure what's going on is that when the mouse overlay is active it only pays attention to the overlay and ignores all other mouse input. You can confirm by turning off the mouse input, settings > user interface > on-screen overlay > enable overlay lighten, mouse, and pointer (or similarly in quick menu > on-screen overlay).
I've put up #17615 that should make it so both can work at the same time.
Tried that and yes the Mouse will move but when I click on Mouse Buttons and nothing happens when I do that
Update:
Turned on Automatic Mouse Grab Fixed it on iPhone but not iPad that has the latest Official Version on AppStore
Thank You @warmenhoven for Finding and Fixing the Issue
@warmenhoven I've had a multi-year long standing issue with mouse on iOS (have been testing on phones with larger screens, not iPad) -- I believe either this or commits closeby fixes the issue: tried Amiga, Dos and ScummVM and all work perfectly now - thank you so much!
I tried it and I find the Circle from Mouse won’t Disappear what ever I do
Mouse also shown outside of Retroarch
The Circle can click on Overlay Buttons but not in Game
Video showing that here:
https://youtu.be/k0KZwMFFKqs?si=39804cxTc0B3_UW2
Mouse and Circle Image
https://ibb.co/tPLVhGFR
Am I doing some wrong or have I missed doing something to fix it?
Make sure you have game focus on.
Make sure you have game focus on.
Done that and still not made any Difference