Skip to content

Comments

fix(useGamepad): handle case where hapticActuators is not present#4068

Merged
antfu merged 1 commit intovueuse:mainfrom
Aaron-zon:fix/useGamepad
Jul 17, 2024
Merged

fix(useGamepad): handle case where hapticActuators is not present#4068
antfu merged 1 commit intovueuse:mainfrom
Aaron-zon:fix/useGamepad

Conversation

@Aaron-zon
Copy link
Contributor

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

Description

there may be cases where hapticActuators is not present, which would cause an error in this code.

image

Additional context

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 27, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 27, 2024
@antfu antfu merged commit 0ca1341 into vueuse:main Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants