Skip to content

feat: gamepad tester #230

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

Merged
merged 1 commit into from
Apr 24, 2025
Merged

feat: gamepad tester #230

merged 1 commit into from
Apr 24, 2025

Conversation

ReenigneArcher
Copy link
Member

@ReenigneArcher ReenigneArcher commented Apr 22, 2025

Description

This PR adds a gamepad tester to the LizardByte website.

TODO:

  • is it possible to detect which type of gamepad is connected?
  • determine how to name buttons, if we can't detect the type of gamepad then we may need to use b0, b1, etc. instead of A, B, X, Y, etc.
  • shrink UI so it fits without scrolling
  • improve buttons, ideas:
    • have a circular progress bar with button text inside, e.g. button name and percentage
    • have a square progress bar with the button name and percentage overlayed on top
  • no hover effect on buttons

For the future:

  • Add gamepad SVG images that change based on detected controller type

Screenshot

Firefox

image

image

Chrome

image

image

Original

image

image

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

@ReenigneArcher ReenigneArcher force-pushed the feat/gamepad-tester branch 2 times, most recently from 3702f58 to b95235f Compare April 22, 2025 00:43
@ReenigneArcher ReenigneArcher changed the title feat/gamepad tester feat: gamepad tester Apr 22, 2025
@ReenigneArcher ReenigneArcher force-pushed the feat/gamepad-tester branch 5 times, most recently from e9305a8 to f520d0f Compare April 23, 2025 00:55
@ReenigneArcher ReenigneArcher marked this pull request as ready for review April 24, 2025 12:40
@ReenigneArcher ReenigneArcher merged commit 3cbd8de into master Apr 24, 2025
11 checks passed
@ReenigneArcher ReenigneArcher deleted the feat/gamepad-tester branch April 24, 2025 12:44
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.

Sunshine: integrate or document gamepad-tester
1 participant