mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-03 06:16:12 +00:00
Always return 1 gamepad in single controller mode
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user