summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
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/evdev
parent53ede795a2a7406872f0f5c872c7f67bd22f65e4 (diff)
InputCommon: Rename AddAnalogInputs to AddFullAnalogSurfaceInputs.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index e0ae924b83..bb51d0026e 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -572,7 +572,8 @@ bool evdevDevice::AddNode(std::string devnode, int fd, libevdev* dev)
{
if (libevdev_has_event_code(dev, EV_ABS, axis))
{
- AddAnalogInputs(new Axis(num_axis, axis, false, dev), new Axis(num_axis, axis, true, dev));
+ AddFullAnalogSurfaceInputs(new Axis(num_axis, axis, false, dev),
+ new Axis(num_axis, axis, true, dev));
++num_axis;
}
}