Gamepad not working on MacOS #3257
Unanswered
jasongerard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a
Microsoft X-Box One Elite 2 pad
plugged in via USB. That is the name reported in Linux with an SDL ID of030000005e040000000b000015050000
When I try on MacOS I get the same SDL ID but a name of
Controller
.I'm running
go run github.com/hajimehoshi/ebiten/v2/examples/gamepad@latest
to test this.On Linux the example renders and shows all the input. On Mac I just get the ID and name displayed so it seems
ebiten. IsStandardGamepadLayoutAvailable()
returns false for this id.What's really baffling to me is that neither that SDL ID nor that name string (or anything with "X-Box", though "Xbox" is present) appear in any version of gamecontrollerdb.txt included with ebiten.
So my questions are:
How is this even working on Linux?
How should I debug this on Mac?
Beta Was this translation helpful? Give feedback.
All reactions