summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Device.h
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2020-02-22 10:27:43 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2020-02-22 10:27:43 -0600
commitda12f3eebc47f3928f7a8e9176549267e579df68 (patch)
treee81cb63c817c394c554d7268354120f2a40e88cf /Source/Core/InputCommon/ControllerInterface/Device.h
parent2b6a1ee4d87a80418ade913e15745d78309f7f67 (diff)
InputCommon: Constify Device::Input::IsDetectable function.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Device.h b/Source/Core/InputCommon/ControllerInterface/Device.h
index 39ff6e9bb5..d923d97076 100644
--- a/Source/Core/InputCommon/ControllerInterface/Device.h
+++ b/Source/Core/InputCommon/ControllerInterface/Device.h
@@ -70,7 +70,7 @@ public:
public:
// Things like absolute axes/ absolute mouse position should override this to prevent
// undesirable behavior in our mapping logic.
- virtual bool IsDetectable() { return true; }
+ virtual bool IsDetectable() const { return true; }
// Implementations should return a value from 0.0 to 1.0 across their normal range.
// One input should be provided for each "direction". (e.g. 2 for each axis)