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

Joy1 gamepad not working only on pause menu #866

Open
Kelvfimer opened this issue Nov 26, 2024 · 2 comments
Open

Joy1 gamepad not working only on pause menu #866

Kelvfimer opened this issue Nov 26, 2024 · 2 comments

Comments

@Kelvfimer
Copy link

Description Issue

During gameplay if I pause the game I got into the Resume, options quit menu however I can't do anything... my gamepad is like not set up for that menu. I can select any of those items via keyboard. If I leave that menu using the keyboard, the gamepad works

In the rest of the menus (select campaign, start menu etc) the gamepad works as expected

Platform

odroid n2+ 4GB, linux 4.9, SDL2 2.28.5 C-Dogs SDL v2.1.0, SDL_image version 2.8.2, SDL_mixer version 2.7.0
gamepad xbox 365 wireless controller
latest commit b61b47d

logs

cdogs2.log

@cxong
Copy link
Owner

cxong commented Nov 27, 2024

I will look into this once I buy a new joystick - but be aware that the game uses GetMenuCmd which checks the first joystick only - either this function is not used, or there are two joysticks connected
However if that's the case I think it makes more sense to look for the joystick that the first human player uses, in case it isn't the first joystick.

@Kelvfimer
Copy link
Author

thx

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

No branches or pull requests

2 participants