Implement the "held down" button state

This commit is contained in:
Kevin Poretti 2023-07-01 19:36:44 -04:00
parent 984fc0ad6a
commit 85f0cbf804
2 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,12 @@ bool UFFInputBufferComponent::CheckInputSequence(const FFFInputSequence& InputSe
CondIdx--;
}
break;
case EFFButtonState::BTNS_Down:
if(CurrInput & RequiredButtons & ~CurrDisable)
{
CondIdx--;
}
break;
// TODO: implement button held condition
/*
case EFFButtonState::BTNS_Held:

View File

@ -16,6 +16,7 @@ enum class EFFButtonState : uint8
{
BTNS_Pressed UMETA(DisplayName="Pressed"),
BTNS_Released UMETA(DisplayName="Released"),
BTNS_Down UMETA(DisplayName="Down"),
//BTNS_Held UMETA(DisplayName="Held"),
BTNS_MAX UMETA(Hidden)
};