Skip to content

Conversation

@viatearz
Copy link
Contributor

Many Unreal Engine games receive both touch and mouse inputs simultaneously, but they do not handle the mouse inputs properly, which leads to click issues.
To resolve these conflicts, we need to disable the app’s built-in mouse support.

Related Issues:

  1. [App Support]: Mouse Clicks Register at Top-Left Corner in Tarisland PlayCover#1587
    All the games mentioned in this issue are made with Unreal Engine.

  2. [Game Support]: Infinity Nikki PlayCover#1755

    The "Accept" user agreement button and "Login" button can only be triggered by a Trackpad tap but not a mouse click (not a MagicMouse).


Additional Note:
swizzleClassMethod:withMethod is copied from PlayShadow.m.

@viatearz viatearz force-pushed the fix/disable-builtin-mouse branch from 03bc4bc to e1788bb Compare September 26, 2025 01:27
@viatearz viatearz force-pushed the fix/disable-builtin-mouse branch from e1788bb to f8a8ab8 Compare September 28, 2025 12:03
@viatearz
Copy link
Contributor Author

I found that the game Destiny: Rising is calling different methods, so I added more code:

  • Force GCMouse.mice() to return empty array
  • Reset leftButton.valueChangedHandler to nil

@TheMoonThatRises TheMoonThatRises merged commit 413d938 into PlayCover:master Oct 8, 2025
1 check passed
@hindraxxx
Copy link

Any plan to make releases on this?

@oscarbg
Copy link

oscarbg commented Oct 9, 2025

Any plan to make releases on this?

you mean stable or nightly?

@viatearz
Copy link
Contributor Author

viatearz commented Oct 9, 2025

Any plan to make releases on this?

Download nightly version from: https://playcover.io/download/

@viatearz viatearz deleted the fix/disable-builtin-mouse branch October 11, 2025 11:58
@ruudsea1-eng
Copy link

I found that the game Destiny: Rising is calling different methods, so I added more code:

* Force `GCMouse.mice()` to return empty array

* Reset `leftButton.valueChangedHandler` to `nil`

Is there any other way? Because I can't do it in Playtool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Game Support]: Infinity Nikki [App Support]: Mouse Clicks Register at Top-Left Corner in Tarisland

6 participants