tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
403 stars 21 forks source link

Wii U Pro controller reconized as Nintendo switch controller #1206

Closed Littlemac123 closed 12 months ago

Littlemac123 commented 12 months ago

Checklist

OS and Version

linuxmint 21 XFCE

Browser and version

i have the .deb Version: 8.0.0

Describe the bug/issue

I think because the wii u controller is for whatever resin being picked up as a switch controller it seems to auto map the buttons very very wrong auto and its kinda confusing

Reproducing

No response

Expected behavior

it to not be switch

Screenshots

Screenshot_2023-11-12_23-44-16

Console logs

tetr.io-1699850729192.log

Additional context

the wii u controller has all these values Screenshot_2023-11-12_23-46-32

doktorocelot commented 12 months ago

Controller support is handled by the browser. If the buttons are mapped wrong, the browser doesn't properly support the controller. It says "Nintendo Switch" because the vendor ID is Nintendo's. As far as I know, only Switch controllers are supported by browsers.