mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Always return 1 gamepad in single controller mode
This commit is contained in:
1 parent
7d14b2a2be
commit
94ecc4a1c8
1 file changed
+5
@@ -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