From 55f1454008bbe5dfca200af2600245f6341e1a06 Mon Sep 17 00:00:00 2001 From: Arias800 <24809312+Arias800@users.noreply.github.com> Date: Tue, 7 May 2024 11:02:56 +0200 Subject: [PATCH] Fix mistake --- src/device.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/device.cpp b/src/device.cpp index db0d0fed..a6f5e3ed 100644 --- a/src/device.cpp +++ b/src/device.cpp @@ -75,14 +75,12 @@ void device_update(const struct overlay_params& params){ device_found = true; bitdo_count += 1; } - } - - //CHECK NVIDIA SHIELD DEVICES - if (fileName.find("thunderstrike") != std::string::npos) { - check_gamepad = true; - list.push_back(p.path()); - device_found = true; - shield_count += 1; + //CHECK NVIDIA SHIELD DEVICES + if (fileName.find("thunderstrike") != std::string::npos) { + list.push_back(p.path()); + device_found = true; + shield_count += 1; + } } // Mice and Keyboards