SFFTriggerOutputData

C++
struct SFFTriggerOutputData {
  struct Initial {
    enum Value {
      ZeroIt = 0,
      Default
    };
  };
  struct Flags {
    enum Value {
      LeftTouchToActivate = 1<<0,
      RightTouchToActivate = 1<<1
    };
  };
  float leftGain, rightGain;
  uint16 leftEnv, rightEnv;
  uint32 flags;
};
File

IInput.h

Description

SFFTriggerOutputData are force feedback signals send to an input controller's triggers.

SFFTriggerOutputData::Flags Structure
C++
struct Flags {
  enum Value {
    LeftTouchToActivate = 1<<0,
    RightTouchToActivate = 1<<1
  };
};
File

IInput.h

SFFTriggerOutputData::Flags::Value Enumeration
C++
enum Value {
  LeftTouchToActivate = 1<<0,
  RightTouchToActivate = 1<<1
};
File

IInput.h

SFFTriggerOutputData::Initial Structure
C++
struct Initial {
  enum Value {
    ZeroIt = 0,
    Default
  };
};
File

IInput.h

SFFTriggerOutputData::Initial::Value Enumeration
C++
enum Value {
  ZeroIt = 0,
  Default
};
File

IInput.h

SFFTriggerOutputData::flags Data Member
C++
uint32 flags;
SFFTriggerOutputData::leftEnv Data Member
C++
uint16 leftEnv;
SFFTriggerOutputData::leftGain Data Member
C++
float leftGain;
SFFTriggerOutputData::rightEnv Data Member
C++
uint16 rightEnv;
SFFTriggerOutputData::rightGain Data Member
C++
float rightGain;
SFFTriggerOutputData::+= Operator
C++
void operator +=(const SFFTriggerOutputData& operand2);
SFFTriggerOutputData::GetClampedLeftGain Method
C++
float GetClampedLeftGain() const;
SFFTriggerOutputData::GetClampedRightGain Method
C++
float GetClampedRightGain() const;
SFFTriggerOutputData::Init Method
C++
void Init(Initial::Value v);
SFFTriggerOutputData::IsFlagEnabled Method
C++
bool IsFlagEnabled(Flags::Value f) const;
SFFTriggerOutputData::SFFTriggerOutputData Constructor ()
C++
SFFTriggerOutputData();
SFFTriggerOutputData(Initial::Value v);
SFFTriggerOutputData(bool leftTouchToActivate, bool rightTouchToActivate, float lTrigger, float rTrigger, uint16 lTriggerEnv, uint16 rTriggerEnv);