SInputBlockData

C++
struct SInputBlockData {
  float fBlockDuration;
  const EKeyId keyId;
  uint8 deviceIndex;
  bool bAllDeviceIndices;
};
File

IInput.h

SInputBlockData::bAllDeviceIndices Data Member
C++
bool bAllDeviceIndices;
Description

True to block all device indices of deviceID type, otherwise uses deviceIndex

SInputBlockData::deviceIndex Data Member
C++
uint8 deviceIndex;
Description

Device index - controller 1/2 etc

SInputBlockData::fBlockDuration Data Member
C++
float fBlockDuration;
Description

How long will still be blocked for

SInputBlockData::keyId Data Member
C++
const EKeyId keyId;
Description

External id for fast comparison.

SInputBlockData::SInputBlockData Constructor

Data used to block input symbol from firing event if matched

C++
SInputBlockData(const EKeyId keyId_, const float fBlockDuration_, const bool bAllDeviceIndices_ = true, const uint8 deviceIndex_ = 0);