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

mannual docs for gamepad #14317

Open
PPpro opened this issue Feb 20, 2023 · 1 comment
Open

mannual docs for gamepad #14317

PPpro opened this issue Feb 20, 2023 · 1 comment
Assignees
Labels
Doc Documentation tasks

Comments

@PPpro
Copy link
Contributor

PPpro commented Feb 20, 2023

we need to add some mannual docs for the gamepad feature,
which is supported by this PR: #11278

@PPpro PPpro self-assigned this Feb 20, 2023
@PPpro PPpro converted this from a draft issue Feb 20, 2023
@PPpro PPpro added this to the V3.8 milestone Feb 20, 2023
@PPpro PPpro added the Doc Documentation tasks label Feb 20, 2023
@PPpro PPpro modified the milestones: V3.8, V3.8.1 Jun 8, 2023
@minggo minggo assigned PatriceJiang and unassigned PPpro Jul 20, 2023
@OscarLeif
Copy link

Hello from the forums say I can write a more detailed request.

When working on how to implement the Gamepad I'm confused with how the gamepad works.
First the documentation says that button south is the A button. But not sure what is the correct layout.

image

In my example project
https://github.com/OscarLeif/FlappyBirdCocosCreator

When I try to use the south button it doesn't work as expected
this makes work the A button but from the left layout.

if (event.gamepad.buttonSouth.getValue() == 1 && !this.submitAction) { this.CurrentSelected.OnSubmit(); }
Not sure if the mapping is wrong.

A cool example saying what layout is cocos using would be great.
And what are the platforms where this work, I test android and works, but native windows doesn't work.

@minggo minggo modified the milestones: V3.8.1, v3.8.3 Dec 5, 2023
@qiuguohua qiuguohua removed this from the v3.8.3 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Doc Documentation tasks
Projects
Status: Todo
Development

No branches or pull requests

5 participants