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

Fix gamepad viewer being marked as a non-wasm example #9399

Merged
merged 1 commit into from Aug 9, 2023

Conversation

rparrett
Copy link
Contributor

@rparrett rparrett commented Aug 9, 2023

Objective

This example stopped being built for the website after the example-building was reworked in (bevyengine/bevy-website#720 + #9168).

This seems to have just been a mistake when defining this particular example's metadata.

See bevyengine/bevy-website#726

Solution

Update its metadata to indicate that it works with wasm.

Copy link
Contributor

@paul-hansen paul-hansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Just for good measure I tested the example locally using wasm/webgpu and wasm/webgl2. I used an xbox one controller and a ps5 controller. Allworked as expected. Triggers still only report 0 or 1 (no in-between values) but that was happening on bevy 0.9 as well so I'll open a separate issue for that. Looks like there's already an upstream issue for this here: https://gitlab.com/gilrs-project/gilrs/-/issues/121

@mockersf mockersf added C-Examples An addition or correction to our examples O-Web Specific to web (WASM) builds labels Aug 9, 2023
@mockersf mockersf added this to the 0.11.1 milestone Aug 9, 2023
@mockersf mockersf added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Aug 9, 2023
@mockersf mockersf added this pull request to the merge queue Aug 9, 2023
Merged via the queue into bevyengine:main with commit e87d3cc Aug 9, 2023
27 of 28 checks passed
cart pushed a commit that referenced this pull request Aug 10, 2023
# Objective

This example stopped being built for the website after the
example-building was reworked in
(bevyengine/bevy-website#720 + #9168).

This seems to have just been a mistake when defining this particular
example's metadata.

See bevyengine/bevy-website#726

## Solution

Update its metadata to indicate that it works with wasm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Examples An addition or correction to our examples O-Web Specific to web (WASM) builds S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants