1
0
mirror of synced 2024-07-03 01:20:35 +00:00
G940LEDControl/LogitechSDK/SteeringWheel/Src/LogiSoftstopForce.h

30 lines
688 B
C++

#ifndef LOGISOFTSTOPFORCE_H_INCLUDED_
#define LOGISOFTSTOPFORCE_H_INCLUDED_
#include "LogiForce.h"
namespace LogitechSteeringWheel
{
class SoftstopForceParams : public ForceParams
{
public:
SoftstopForceParams();
DICONDITION m_diCondition[2];
};
class LogiSoftstopForce : public Force
{
public:
LogiSoftstopForce();
HRESULT CreateEffect(SoftstopForceParams& params);
HRESULT SetParameters(SoftstopForceParams& params);
SoftstopForceParams& GetCurrentForceParams();
private:
SoftstopForceParams m_currentForceParams;
};
}
#endif // LOGISOFTSTOPFORCE_H_INCLUDED_