Dinir / mini-padder

simple and clear input overlay for your gamepads and joysticks
https://dinir.github.io/mini-padder/
ISC License
65 stars 6 forks source link

Nintendo Switch Pro Controller not compatible #25

Open JapanYoshi opened 2 months ago

JapanYoshi commented 2 months ago

Describe the bug

Summary

Switch Pro Controller’s D-pad and both sticks are undetected. Home and Screenshot are also mis-detected as ↑ and ↓. Attempts to work around this failed.

PRINCIPAL ISSUE

When using the tool on the Nintendo Switch Pro Controller, the face buttons, - and + buttons, stick press buttons, and shoulder buttons are correctly detected. However, Home and Screenshot are incorrectly detected as D-pad up and down. In addition, the D-pad and both sticks are not detected at all.

SIDE NOTE 1

This mismatch of features is similar to how other browser-based tools fail to correctly map Nintendo Switch Pro controllers, but the details differ.

SIDE NOTE 2

The button mapping wizard also fails to remap the Switch Pro controller, because when I map any button to A (Xbox B), the wizard aborts the button mapping process, no matter which button I press on the controller. Is the input also being interpreted as a Return key press?

Expected behavior

The tool should be compatible with the Pro Controller; after all, there's a preset for it in the stetings.

Browser

Firefox 125.0.2 for Windows 10

To Reproduce

  1. Connect a Switch Pro Controller, or a controller that simulates one like 8BitDo Ultimate or 8BitDo Lite in S mode
  2. Press the D-pad or move the joysticks.
  3. Observe that the D-pad and stick inputs are not being registered.

Screenshots

If applicable, add screenshots to help explain your problem. N/A


Add any other context about the problem here.

This bug report has been reformatted and reorganized for better readability and lower cognitive load.

DamianS-eng commented 1 month ago

Recheck the requirements: a Chromium browser environment, which Firefox is not. Still worth noting what happens if you try with a Mozilla browser.

In my experience with Firefox, if the controller is connected via Bluetooth, it's not recognized, but if it's connected via USB, the environment is unstable.

Works perfectly fine in Edge version 124.0.2478.80 64-bit