summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-01-30 19:51:21 -0500
committerLioncash <mathew1800@gmail.com>2014-01-30 19:51:21 -0500
commitd91a5abba1d66948cc43cc7a6c80827ede061bc8 (patch)
tree7693269f83a0343cac3b411575edaa05603ba40b /Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
parentb5b02de663eb1fbad38ba3e3bcca85349963a65e (diff)
Light cleanup to a little bit of InputCommon. Replaces much of the iterators that litter this section of the codebase.
Also clean up a little bit of the comments that describe the interface classes.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
index 850ff27281..50f065f92f 100644
--- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
@@ -5,11 +5,11 @@
// (lower would be more sensitive) user can lower sensitivity by setting range
// seems decent here ( at 8 ), I don't think anyone would need more sensitive than this
// and user can lower it much farther than they would want to with the range
-#define MOUSE_AXIS_SENSITIVITY 8
+#define MOUSE_AXIS_SENSITIVITY 8
// if input hasn't been received for this many ms, mouse input will be skipped
// otherwise it is just some crazy value
-#define DROP_INPUT_TIME 250
+#define DROP_INPUT_TIME 250
namespace ciface
{
@@ -18,8 +18,8 @@ namespace DInput
static const struct
{
- const BYTE code;
- const char* const name;
+ const BYTE code;
+ const char* const name;
} named_keys[] =
{
#include "NamedKeys.h"
@@ -27,8 +27,8 @@ static const struct
static const struct
{
- const BYTE code;
- const char* const name;
+ const BYTE code;
+ const char* const name;
} named_lights[] =
{
{ VK_NUMLOCK, "NUM LOCK" },