diff options
| author | Adam D. Moss <c@yotes.com> | 2015-01-13 16:00:35 +0000 |
|---|---|---|
| committer | Adam D. Moss <c@yotes.com> | 2015-01-13 16:00:35 +0000 |
| commit | 3300c176e46fda826e528d1ac10ff514ef3d9ec2 (patch) | |
| tree | d17711567ad8cd439c9ada35c441f3439c904420 /Source/Core/InputCommon/ControllerInterface | |
| parent | 076c2b8ec70531ce02e5a7b3da3173ce5e2998fe (diff) | |
SDL haptic: minor style change based on review feedback
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index f37a674b03..a1fd428a0d 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -18,13 +18,10 @@ namespace ciface namespace SDL { -namespace -{ // 10ms = 100Hz which homebrew docs very roughly imply is within WiiMote normal // range, used for periodic haptic effects though often ignored by devices -const u16 RUMBLE_PERIOD = 10; -const u16 RUMBLE_LENGTH_MAX = 500; // ms: enough to span multiple frames at low FPS, but still finite -} +static const u16 RUMBLE_PERIOD = 10; +static const u16 RUMBLE_LENGTH_MAX = 500; // ms: enough to span multiple frames at low FPS, but still finite static std::string GetJoystickName(int index) { |
