summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-02 15:11:15 -0800
committerPierre Bourdon <delroth@gmail.com>2014-02-02 15:11:15 -0800
commit3363b396afdc8291d7736705d630efff66b4e95c (patch)
tree6049ebe7c2b8874db5a389af617603883a64270a /Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
parent70f66ad32515bce6962e1961e186449e288c497b (diff)
parent3efb0aa5f7d6d1aef90a366754fe69fe573a92ab (diff)
Merge pull request #23 from lioncash/sorta-large-input-cleanup
Larger cleanup to input-related source files (this time using unique_ptr).
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" },