summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2020-01-07 12:52:05 +1300
committerGitHub <noreply@github.com>2020-01-07 12:52:05 +1300
commita8c33f4ef60c97dfaedddad206971bfa463f7c8d (patch)
tree92ae5c57c023ff5b828b40282e99730e9bf7621f /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
parent21528c3e7280241cf8566b7602bb3dcd16f986d8 (diff)
Fix trailing whitespace
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index 3f653f3d60..d6a2f7224f 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -412,17 +412,17 @@ evdevDevice::evdevDevice(const std::string& devnode) : m_devfile(devnode)
// Filter out interesting devices (see description below)
m_interesting = num_motion_axis != 0 || num_axis >= 2 || num_buttons >= 8;
-
+
// On modern linux systems, there are a lot of event devices that aren't controllers.
// For example, the PC Speaker is an event device. Webcams sometimes show up as
// event devices. The power button is an event device.
-
+ //
// We don't want these showing up in the list of controllers, so we use this
// heuristic to filter out anything that doesn't smell like a controller:
//
- // More than two analog axis:
+ // More than two analog axis:
// Most controllers have at least one stick. This rule will catch all such
- // controllers, while ignoring anything with a single axis (like the mouse
+ // controllers, while ignoring anything with a single axis (like the mouse
// scroll-wheel)
//
// --- OR ---
@@ -433,16 +433,16 @@ evdevDevice::evdevDevice(const std::string& devnode) : m_devfile(devnode)
// only a few buttons, like the power button. Sometimes laptops have devices
// with 5 or 6 special buttons, which is why the threshold is set to 8 to
// match a NES controller.
- //
+ //
// --- OR ---
//
// Any Motion Axis:
// This rule is to catch any theoretical motion controllers with only a few
- // buttons that the user might want to use as a controller.
+ // buttons that the user might want to use as a controller.
//
// This heuristic is quite loose. The user may still see weird devices showing up
// as controllers, but it hopefully shouldn't filter out anything they actually
- // want to use.
+ // want to use.
}
evdevDevice::~evdevDevice()