summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2024-11-02 17:10:45 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2024-11-03 15:06:50 -0600
commit2f1390e9f9706a3c5c0bc46df17006ddf98d4cec (patch)
tree5aa254e9681de0ff931ab8dc268e5c56353ecac7 /Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
parent53ede795a2a7406872f0f5c872c7f67bd22f65e4 (diff)
InputCommon: Rename AddAnalogInputs to AddFullAnalogSurfaceInputs.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
index 324619c927..6a86217190 100644
--- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
@@ -710,8 +710,8 @@ GameController::GameController(SDL_GameController* const gamecontroller,
const bool is_registered = registered_axes.contains(i);
// each axis gets a negative and a positive input instance associated with it
- AddAnalogInputs(new LegacyAxis(m_joystick, i, -32768, is_registered),
- new LegacyAxis(m_joystick, i, 32767, is_registered));
+ AddFullAnalogSurfaceInputs(new LegacyAxis(m_joystick, i, -32768, is_registered),
+ new LegacyAxis(m_joystick, i, 32767, is_registered));
}
// Hats