Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't press R-shoulder and left C-button combination on third party controller with macos #539

Closed
creamcast opened this issue Nov 22, 2024 · 1 comment

Comments

@creamcast
Copy link

on MacOS Sequoia I'm using a generic third party n64 controller (SDL2 INFO: Nintendo Switch Pro Controller 0: SWITCH CO.,LTD. Pro Controller, USB_0f0d_00c1_0x12af09fb0 (guid 0300cb1c0d0f0000c100000072056800) with latest SDL2 (2.30.9) but trying to do a lean pressing the Left C-button and R shoulder doesn't seem to register . Downgrading SDL2 to 2.28.0 would remedy it. Not really sure if this bug in macos arm, sdl2 or with the application itself . I tested on a windows 11 pc and it doesn't have this issue.

@fgsfdsfgs
Copy link
Owner

fgsfdsfgs commented Nov 22, 2024

The built-in controller bindings might've changed in SDL2. You can try to download this file and put it either into the same directory as the game executable (pd.x86_64 or pd.arm64) or into /Users/USERNAME/Library/Application Support/perfectdark/.

If this doesn't help, you can try to downgrade SDL2 to 2.28 locally:

cd path/to/game
rm -rf SDL2.framework
wget http://libsdl.org/release/SDL2-2.28.0.dmg -O SDL2.dmg
hdiutil mount SDL2.dmg
cp -vr /Volumes/SDL2/SDL2.framework .

though I'm not sure if it will allow this or complain about the version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants