hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
11.02k stars 660 forks source link

internal/gamepad: gamepad standard mappings don't work #2964

Closed hajimehoshi closed 6 months ago

hajimehoshi commented 6 months ago

Ebitengine Version

v2.7.1

Operating System

Go Version (go version)

go version go1.22.0 windows/arm64

What steps will reproduce the problem?

  1. Connect a PS5 dual sense controller via Bluetooth
  2. Run examples/gamepad

What is the expected result?

The gamepad is mapped as XInput Controller (GLFW) with a standard mapping

What happens instead?

The gamepad is mapped as Xbox Controller without a standard mapping

Anything else you feel useful to add?

This works with Ebitengine v2.6.7

hajimehoshi commented 6 months ago

6552ae1dbe66d344482990cddb73f6bd0cd3062c is the culprit

hajimehoshi commented 6 months ago

macOS had the same issue... 😢