Post #1981797
2026-05-03 22:32 UTC
@slembcke well - always show Y for signal and X for scan/interact/etc
only use the browser gamepad report to know it's no longer keyboard controls - ignore the dynamic layout
I don't see controller rebinding here - so these xbox buttons should always be the same, right?
Replies (1)
-
@slembcke@mastodon.gamedev.place 2026-05-03 22:39
@YinYinFalcon Oh, I do always show the same glyph (X for scan for example). The problem is that when you press the x button, the browser tells me you pressed y. On Chrome/Android/PS5 it sends the menu button event when you pull the triggers. On Chrome on Linux it sends trigger analogs as the right joystick. I *mostly* found that Xbox and PS5 controllers work on desktop platforms, but apparently not true. (sigh)