/Engine/Source/Runtime/SlateCore/Public/Types/SlateEnums.h
Enumerates different methods that a button can be triggered with keyboard/controller. Normally, DownAndUp is appropriate.
namespace EButtonPressMethod { enum Type { DownAndUp, ButtonPress, ButtonRelease, } }