From a60e3ee4bd6cdc9756d81001c5cb93de19a6eb73 Mon Sep 17 00:00:00 2001 From: Bryan Paradis Date: Wed, 28 Feb 2024 14:01:06 -0800 Subject: [PATCH] Wavebird: Optimistically try to read other controllers --- src/GamecubeAPI.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GamecubeAPI.hpp b/src/GamecubeAPI.hpp index 8b19f8b..703dcfd 100644 --- a/src/GamecubeAPI.hpp +++ b/src/GamecubeAPI.hpp @@ -87,8 +87,7 @@ bool CGamecubeController::read(void) } } - - if (status.device == NINTENDO_DEVICE_GC_WIRED) + if (status.device != NINTENDO_DEVICE_GC_NONE && status.device != NINTENDO_DEVICE_GC_KEYBOARD) { // Read the controller, abort if it fails. // Additional information: If you press X + Y + Start on the controller for 3 seconds