checkLevel - 18684092/Steering-Wheel-Project GitHub Wiki
CheckLevel
Access: Private Prototype: bool checkLevel(Uint16 level)
Parameters: Uint16 is the effect strength.
Return Value: Boolean true if within range, false otherwise.
Description: MIN_LEVEL >= level <= SDL_MAX_UINT16
Note: The level is the effect strength. It will be scaled by the setGain() and setMaxGain() functions.
Related Functions: checkDuration(), checkDelay(), checkAttackLength(), checkFadeLength(), checkEnvelopeTime(), checkIterations(), checkLevel(), checkFadeLevel(), checkSatLevel(), checkCoEfLevel(), checkDeadband(), checkCentre(), checkAttackLevel(), checkEffectNumber(), checkHaptic(), checkParamsConstant(), checkParamsEnvelope(), checkParamsPeriod(), checkParamsCondition(), checkDirection(), checkPeriodType(), checkConditionType(), checkGain()