Navigation
API > API/Plugins > API/Plugins/GameInputBase
| Name | ERawDeviceReportTranslationBehavior |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GameInput/Source/GameInputBase/Public/GameInputDeveloperSettings.h |
| Include Path | #include "GameInputDeveloperSettings.h" |
Syntax
enum ERawDeviceReportTranslationBehavior
{
TreatAsTrigger = 0,
TreatAsAnalog = 1,
TreatAsButton = 2,
TreatAsButtonBitmask = 3,
TreatAsPackedAxisPair = 4,
}
Values
| Name | Remarks |
|---|---|
| TreatAsTrigger | Treat the value as a trigger, mapping it from 0.0 to +1.0. |
| TreatAsAnalog | Treat the value as an analog value, mapping it from -1.0 to +1.0. |
| TreatAsButton | Treats the raw value as a button. If the value is 0, consider it not pressed. If the value is non-zero, consider it pressed. |
| TreatAsButtonBitmask | Treat the raw value as a bitmask of different buttons. |
| TreatAsPackedAxisPair | Treat this as two raw values, where one axis is the "lower" bits of an int16 and one is the "higher" bits of the int16. |