mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Always return 1 gamepad in single controller mode
This commit is contained in:
parent
7d14b2a2be
commit
94ecc4a1c8
@ -480,6 +480,11 @@ int SdlGetAttachedGamepadMask(void)
|
||||
int count;
|
||||
int mask;
|
||||
|
||||
if (!g_MultiController) {
|
||||
// Player 1 is always present in non-MC mode
|
||||
return 0x1;
|
||||
}
|
||||
|
||||
count = mask = 0;
|
||||
for (i = 0; i < SDL_NumJoysticks(); i++) {
|
||||
if (SDL_IsGameController(i)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user