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

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

Open
1 task done
JiuZ-Chn opened this issue Jul 16, 2023 · 2 comments · May be fixed by PlayCover/PlayTools#179
Open
1 task done
Labels
game-support Support for additional games

Comments

@JiuZ-Chn
Copy link
Contributor

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 PlayCover/PlayTools#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
@JiuZ-Chn JiuZ-Chn added the bug Something isn't working label Jul 16, 2023
@XuYicong
Copy link
Member

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

@TheMoonThatRises TheMoonThatRises added game-support Support for additional games and removed bug Something isn't working labels Sep 2, 2023
@Depal1 Depal1 removed this from 3.1.x - 3.2.0 Aug 14, 2024
@Depal1
Copy link
Member

Depal1 commented Jan 19, 2025

PlayCover/PlayTools#179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game-support Support for additional games
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants