1
0
mirror of synced 2024-11-23 02:23:49 +00:00
G940LEDControl/LogitechSDK/SteeringWheel/Src/LogiSpringForce.h

31 lines
699 B
C
Raw Normal View History

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