Skip to content

fix(gamepad-tester): warn Firefox users about Switch mapping bug - #423

Merged
ReenigneArcher merged 1 commit into
masterfrom
fix/gamepad-tester/nintendo-switch-warning-in-Firefox
Aug 15, 2026
Merged

fix(gamepad-tester): warn Firefox users about Switch mapping bug#423
ReenigneArcher merged 1 commit into
masterfrom
fix/gamepad-tester/nintendo-switch-warning-in-Firefox

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

Add a Nintendo Switch controller warning in the gamepad tester for Firefox versions earlier than 155, based on parsed browser major version and detected controller type. The warning links to Mozilla bug 1704419 and is shown/hidden dynamically as gamepads connect. Styling updates were added to keep the notice centered by default and compact within the active tester layout.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

See our AI usage policy.

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

@ReenigneArcher
ReenigneArcher force-pushed the fix/gamepad-tester/nintendo-switch-warning-in-Firefox branch from 133127d to f4b7784 Compare August 15, 2026 16:50
Add a Nintendo Switch controller warning in the gamepad tester for Firefox versions earlier than 155, based on parsed browser major version and detected controller type. The warning links to Mozilla bug 1704419 and is shown/hidden dynamically as gamepads connect. Styling updates were added to keep the notice centered by default and compact within the active tester layout.
@ReenigneArcher
ReenigneArcher force-pushed the fix/gamepad-tester/nintendo-switch-warning-in-Firefox branch from f4b7784 to 3607e56 Compare August 15, 2026 17:01
@sonarqubecloud

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher merged commit 8800b9e into master Aug 15, 2026
13 checks passed
@ReenigneArcher
ReenigneArcher deleted the fix/gamepad-tester/nintendo-switch-warning-in-Firefox branch August 15, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant