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

31 lines
793 B
C
Raw Permalink Normal View History

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