summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-07-12 15:37:53 -0500
committerGitHub <noreply@github.com>2025-07-12 15:37:53 -0500
commitd92f7f194cbd039bb6c16d7235cf3d92aa6c884d (patch)
treec20781479b42392bea8ba2169d0e123e9a98d0c3 /Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp
parentf76ab863266d012281e52bceda355bc72f36edb8 (diff)
parent06882bd2dca4ea92d0608077c45cff6cb7e41583 (diff)
Merge pull request #13747 from JoshuaVandaele/warns-only
Fix various warnings
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp
index 345bef00a3..38358999b7 100644
--- a/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp
@@ -13,7 +13,7 @@
namespace ciface::SDL
{
-bool IsTriggerAxis(int index)
+static bool IsTriggerAxis(int index)
{
// First 4 axes are for the analog sticks, the rest are for the triggers
return index >= 4;