[GH-ISSUE #1041] [Bug]: The key mapping does not work in the game with joystick following the finger #551

Closed
opened 2026-03-03 18:58:49 +03:00 by kerem · 2 comments
Owner

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

  • Yes my issue is written in English
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 - [X] Yes my issue is written in English
kerem 2026-03-03 18:58:49 +03:00
Author
Owner

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

<!-- gh-comment-id:1637128315 --> @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...
Author
Owner

@Depal1 commented on GitHub (Jan 19, 2025):

https://github.com/PlayCover/PlayTools/pull/179

<!-- gh-comment-id:2601078876 --> @Depal1 commented on GitHub (Jan 19, 2025): https://github.com/PlayCover/PlayTools/pull/179
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PlayCover#551
No description provided.