Skip to content

Comments

Fix overlay lightgun, mouse & pointer#17752

Merged
LibretroAdmin merged 1 commit intolibretro:masterfrom
neil4:fix-overlay-mouse-lightgun
Apr 6, 2025
Merged

Fix overlay lightgun, mouse & pointer#17752
LibretroAdmin merged 1 commit intolibretro:masterfrom
neil4:fix-overlay-mouse-lightgun

Conversation

@neil4
Copy link
Contributor

@neil4 neil4 commented Mar 29, 2025

Fixes #17699

  • Ensure non-overlay touch input is blocked when overlay buttons are pressed
  • Limit physical+overlay mouse input to iOS for now
  • Reset overlay mouse deltas when there is no touch input
  • Disable touch mouse in android_input.c for now. Too buggy

Eventually the code behind #ifdef IOS could be the norm if other touchscreen mice are tested to not interfere with the overlay mouse. For that, some input drivers might need to be updated to not create touchscreen mouse input at all when the overlay mouse is on.

@warmenhoven Test on iOS when you can.

- Ensure other touchscreen input is blocked when overlay buttons pressed
- Limit physical+overlay mouse input to iOS for now
- Reset overlay mouse deltas when there is no touch input
- Disable touch mouse in android_input.c for now. Too buggy
@LibretroAdmin
Copy link
Contributor

Let me know what you think after testing it @warmenhoven

i also agree with the general idea to get this working on. Ore platforms than just ios. However, this could be done at our own leisure after merge

@warmenhoven
Copy link
Collaborator

My initial pass on iOS is done and this is feeling really good to me, across multiple cores and input methods. I think it's good to merge. Thank you very much!

@LibretroAdmin
Copy link
Contributor

@neil4 merged now. Sorry it took a bit

@LibretroAdmin LibretroAdmin merged commit c9998df into libretro:master Apr 6, 2025
31 checks passed
@neil4 neil4 deleted the fix-overlay-mouse-lightgun branch July 12, 2025 18:33
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

Successfully merging this pull request may close these issues.

[Android] Touchscreen (in game) not working properly after update

3 participants