mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-27 08:45:50 +03:00
[GH-ISSUE #1041] [Bug]: The key mapping does not work in the game with joystick following the finger #551
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#551
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JiuZ-Chn on GitHub (Jul 16, 2023).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/1041
Describe the bug
The key mapping for WASD does not work, in the game which use the joystick following the finger to help control the character.
I record a demo for this. In the first half of the video, I used the mouse to control the character, which was fine.
But in the second half, I try to use the keyboard, it doesn't work. When I press A, the joystick is captured on the left, and my character can't move to the left.
https://github.com/PlayCover/PlayCover/assets/21299239/bb7f4000-0441-4c77-b2a0-5768083b704f
This bug is only in the 3.0.0 beta, In https://github.com/PlayCover/PlayTools/pull/108, XuYicong create a feature to fix the issue about joystick direction. It looks like the change occurs this bug, but I'm not very sure. @XuYicong, can you help to confirm this?
Steps to reproduce
I think this issue happens in all the games that use the joystick following the finger.
You can reproduce it in https://decrypt.day/app/id1541570980 or something else.
Expected behaviour
I want to use the key mapping to help move my character. In the PlayCover 2.0.5, I can use the joystick as usually what we want. I hope in 3.0.0, it will still work fine.
Crash log
No response
What version of PlayCover are you using?
Nightly/beta
What version of macOS are you using?
Ventura (macOS 13)
Issue Language
@XuYicong commented on GitHub (Jul 16, 2023):
We call this a free joystick vs a fixed joystick. You can work around this by setting your WASD element bigger than 400, which covers about half of your screen, and the control style would change to "free" mode. Ideally there should be a switch or option to change the behaviour, instead of relying on element size. But it's kinda hard to implement such an element specific option thing in the current keymapping editor framework somehow...
@Depal1 commented on GitHub (Jan 19, 2025):
https://github.com/PlayCover/PlayTools/pull/179