From da12f3eebc47f3928f7a8e9176549267e579df68 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 22 Feb 2020 10:27:43 -0600 Subject: InputCommon: Constify Device::Input::IsDetectable function. --- Source/Core/InputCommon/ControllerInterface/Device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/Device.h') 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) -- cgit v1.2.3