SDL haptic: minor style change based on review feedback

This commit is contained in:
Adam D. Moss 2015-01-13 16:00:35 +00:00
parent 076c2b8ec7
commit 3300c176e4
1 changed files with 2 additions and 5 deletions

View File

@ -18,13 +18,10 @@ namespace ciface
namespace SDL namespace SDL
{ {
namespace
{
// 10ms = 100Hz which homebrew docs very roughly imply is within WiiMote normal // 10ms = 100Hz which homebrew docs very roughly imply is within WiiMote normal
// range, used for periodic haptic effects though often ignored by devices // range, used for periodic haptic effects though often ignored by devices
const u16 RUMBLE_PERIOD = 10; static 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_LENGTH_MAX = 500; // ms: enough to span multiple frames at low FPS, but still finite
}
static std::string GetJoystickName(int index) static std::string GetJoystickName(int index)
{ {