summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-16 23:51:41 -0500
committerLioncash <mathew1800@gmail.com>2014-02-17 02:19:41 -0500
commit3fd87a7636ff434118a5d7f7334550be8db55c0b (patch)
tree1b5509192851cdd3e6c09251c0051b33d8d3ca15 /Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
parenta8ca2c6cc2ed6177bd26b6c022b919179a8ce37a (diff)
Second and final pass of clearing out tabs.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
index c79f4e3365..4b17574d7b 100644
--- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
@@ -218,12 +218,12 @@ bool KeyboardMouse::UpdateOutput()
{
bool want_on = false;
if (m_state_out[i])
- want_on = m_state_out[i] > GetTickCount() % 255 ; // light should flash when output is 0.5
+ want_on = m_state_out[i] > GetTickCount() % 255 ; // light should flash when output is 0.5
// lights are set to their original state when output is zero
if (want_on ^ m_current_state_out[i])
{
- kbinputs.push_back(KInput(named_lights[i].code)); // press
+ kbinputs.push_back(KInput(named_lights[i].code)); // press
kbinputs.push_back(KInput(named_lights[i].code, true)); // release
m_current_state_out[i] ^= 1;