You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a bit of trouble with the controller support on a Macbook Pro (2020, M1) with macOS Monterey (12.2.1). I compiled the master (this commit) from source with SDL2 2.0.20 installed from Homebrew.
For some reason the controller handling logic in input.cpp is executed a bit too early on my system. SDL_NumJoysticks() just returns 0 when input_init is executed even though the controller is connected.
I'm guessing this is the problem since adding a short
case SDL_JOYDEVICEADDED:
joy = SDL_JoystickOpen(0);
to the event loop in the function input_loop makes the controller work again with all mappings etc.
This loads the controller sometime during the intro.
I'm guessing this is some Mac-specific behaviour, since I don't remember having any problem with the same controller when compiling from source on Linux. 🙂
Hi!
I'm having a bit of trouble with the controller support on a Macbook Pro (2020, M1) with macOS Monterey (12.2.1). I compiled the master (this commit) from source with SDL2 2.0.20 installed from Homebrew.
For some reason the controller handling logic in
input.cpp
is executed a bit too early on my system.SDL_NumJoysticks()
just returns 0 wheninput_init
is executed even though the controller is connected.I'm guessing this is the problem since adding a short
to the event loop in the function
input_loop
makes the controller work again with all mappings etc.This loads the controller sometime during the intro.
I'm guessing this is some Mac-specific behaviour, since I don't remember having any problem with the same controller when compiling from source on Linux. 🙂
debug.log
The text was updated successfully, but these errors were encountered: