1
0
mirror of synced 2024-11-16 15:33:50 +00:00
G940LEDControl/LogitechSDK/SteeringWheel/Src/LogiDirtRoadEffect.h

31 lines
728 B
C
Raw Normal View History

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