1
0
mirror of synced 2024-11-05 11:09:17 +00:00
G940LEDControl/LogitechSDK/SteeringWheel/Src/LogiBumpyRoadEffect.h

31 lines
739 B
C
Raw Permalink Normal View History

2012-01-04 19:11:07 +00:00
#ifndef LOGIBUMPYROADEFFECT_H_INCLUDED_
#define LOGIBUMPYROADEFFECT_H_INCLUDED_
#include "LogiForce.h"
namespace LogitechSteeringWheel
{
class BumpyRoadEffectParams : public ForceParams
{
public:
BumpyRoadEffectParams();
DIPERIODIC m_diPeriodic;
DIENVELOPE m_diEnvelope;
};
class LogiBumpyRoadEffect : public Force
{
public:
LogiBumpyRoadEffect();
HRESULT CreateEffect(BumpyRoadEffectParams& params);
HRESULT SetParameters(BumpyRoadEffectParams& params);
BumpyRoadEffectParams& GetCurrentForceParams();
private:
BumpyRoadEffectParams m_currentForceParams;
};
}
#endif // LOGIBUMPYROADEFFECT_H_INCLUDED_