Implement the "held down" button state
This commit is contained in:
parent
984fc0ad6a
commit
85f0cbf804
@ -42,6 +42,12 @@ bool UFFInputBufferComponent::CheckInputSequence(const FFFInputSequence& InputSe
|
|||||||
CondIdx--;
|
CondIdx--;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case EFFButtonState::BTNS_Down:
|
||||||
|
if(CurrInput & RequiredButtons & ~CurrDisable)
|
||||||
|
{
|
||||||
|
CondIdx--;
|
||||||
|
}
|
||||||
|
break;
|
||||||
// TODO: implement button held condition
|
// TODO: implement button held condition
|
||||||
/*
|
/*
|
||||||
case EFFButtonState::BTNS_Held:
|
case EFFButtonState::BTNS_Held:
|
||||||
|
@ -16,6 +16,7 @@ enum class EFFButtonState : uint8
|
|||||||
{
|
{
|
||||||
BTNS_Pressed UMETA(DisplayName="Pressed"),
|
BTNS_Pressed UMETA(DisplayName="Pressed"),
|
||||||
BTNS_Released UMETA(DisplayName="Released"),
|
BTNS_Released UMETA(DisplayName="Released"),
|
||||||
|
BTNS_Down UMETA(DisplayName="Down"),
|
||||||
//BTNS_Held UMETA(DisplayName="Held"),
|
//BTNS_Held UMETA(DisplayName="Held"),
|
||||||
BTNS_MAX UMETA(Hidden)
|
BTNS_MAX UMETA(Hidden)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user