SDL haptic: minor style change based on review feedback
This commit is contained in:
parent
076c2b8ec7
commit
3300c176e4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue