Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physical Mouse not Supported/Working in Game on iPhone and iPad #17594

Open
1 of 2 tasks
TradeDraft opened this issue Feb 18, 2025 · 8 comments
Open
1 of 2 tasks

Physical Mouse not Supported/Working in Game on iPhone and iPad #17594

TradeDraft opened this issue Feb 18, 2025 · 8 comments

Comments

@TradeDraft
Copy link

Is there an existing issue for this?

  • 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

schellingb/dosbox-pure#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

@warmenhoven
Copy link
Contributor

Make sure Automatic Mouse Grab is enabled.

@TradeDraft
Copy link
Author

Make sure Automatic Mouse Grab is enabled.

I tried that already and sadly did not work

@warmenhoven
Copy link
Contributor

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.

@warmenhoven
Copy link
Contributor

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.

@TradeDraft
Copy link
Author

TradeDraft commented Feb 22, 2025

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

@TradeDraft
Copy link
Author

Thank You @warmenhoven for Finding and Fixing the Issue

@TyroneSlothrop
Copy link

@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!

@TradeDraft
Copy link
Author

TradeDraft commented Feb 25, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants