Skip to content

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

Merged
mockersf merged 1 commit intobevyengine:mainfrom
rparrett:gamepad-viewer-wasm-ok
Aug 9, 2023
Merged

Fix gamepad viewer being marked as a non-wasm example#9399
mockersf merged 1 commit intobevyengine:mainfrom
rparrett:gamepad-viewer-wasm-ok

Conversation

@rparrett
Copy link
Copy Markdown
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
Copy Markdown
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
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.

3 participants