1
0
mirror of synced 2024-11-22 18:13:50 +00:00
G940LEDControl/LogitechSDK/SteeringWheel/Src/LogiConstantForce.h

31 lines
727 B
C
Raw Normal View History

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