diff --git a/Engine.Input/Abstract/IButtonInputs.cs b/Engine.Input/Abstract/IButtonInputs.cs index 59ab741..0882d17 100644 --- a/Engine.Input/Abstract/IButtonInputs.cs +++ b/Engine.Input/Abstract/IButtonInputs.cs @@ -4,6 +4,9 @@ namespace Syntriax.Engine.Input; public interface IButtonInputs : IAssignableStateEnable { + event ButtonCallbackEventHandler? OnAnyButtonPressed; + event ButtonCallbackEventHandler? OnAnyButtonReleased; + void RegisterOnPress(T button, ButtonCallbackEventHandler callback); void UnregisterOnPress(T button, ButtonCallbackEventHandler callback); void RegisterOnRelease(T button, ButtonCallbackEventHandler callback);