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

31 lines
776 B
C
Raw Normal View History

2012-01-04 19:11:07 +00:00
#ifndef LOGISLIPPERYROADEFFECT_H_INCLUDED_
#define LOGISLIPPERYROADEFFECT_H_INCLUDED_
#include "LogiForce.h"
namespace LogitechSteeringWheel
{
class SlipperyRoadEffectParams : public ForceParams
{
public:
SlipperyRoadEffectParams();
DICONDITION m_diCondition[2];
LONG m_rglDirection[2];
};
class LogiSlipperyRoadEffect : public Force
{
public:
LogiSlipperyRoadEffect();
HRESULT CreateEffect(SlipperyRoadEffectParams& params);
HRESULT SetParameters(SlipperyRoadEffectParams& params);
SlipperyRoadEffectParams& GetCurrentForceParams();
private:
SlipperyRoadEffectParams m_currentForceParams;
};
}
#endif // LOGISLIPPERYROADEFFECT_H_INCLUDED_