diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2020-02-22 10:27:43 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2020-02-22 10:27:43 -0600 |
| commit | da12f3eebc47f3928f7a8e9176549267e579df68 (patch) | |
| tree | e81cb63c817c394c554d7268354120f2a40e88cf /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | |
| parent | 2b6a1ee4d87a80418ade913e15745d78309f7f67 (diff) | |
InputCommon: Constify Device::Input::IsDetectable function.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp index f372812388..029ea22d3c 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp @@ -178,7 +178,7 @@ public: return std::string(motion_data_names[m_code]) + (m_range < 0 ? '-' : '+'); } - bool IsDetectable() override { return false; } + bool IsDetectable() const override { return false; } }; class CursorInput final : public Axis @@ -192,7 +192,7 @@ public: return std::string("Cursor ") + char('X' + m_code) + (m_range < 0 ? '-' : '+'); } - bool IsDetectable() override { return false; } + bool IsDetectable() const override { return false; } }; static std::thread s_hotplug_thread; |
