summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-09-11 17:48:04 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2013-09-11 17:48:04 -0500
commitce49964dfea05f63e570891b4c75cde380a7e103 (patch)
treeb9dabe193050e17eb549b9061257aa9677d4f344 /Source/Core/InputCommon/Src/ControllerInterface
parent3fcdf5e25b9500f6bf9c46c8351d14569e8b3a85 (diff)
Fix "modifier" button functionality et al.
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
index d2982bba24..f2a0414bf6 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
@@ -196,7 +196,7 @@ bool ControllerInterface::UpdateOutput(const bool force)
ControlState ControllerInterface::InputReference::State( const ControlState ignore )
{
if (parsed_expression)
- return parsed_expression->GetValue();
+ return parsed_expression->GetValue() * range;
else
return 0.0f;
}