From 3300c176e46fda826e528d1ac10ff514ef3d9ec2 Mon Sep 17 00:00:00 2001 From: "Adam D. Moss" Date: Tue, 13 Jan 2015 16:00:35 +0000 Subject: [PATCH] SDL haptic: minor style change based on review feedback --- Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 7 ++----- 1 file 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) {