Add input GamepadButtonDown and GamepadButtonUp events

#3626
This commit is contained in:
Wojtek Figat
2026-01-11 22:34:57 +01:00
parent ab6dfca36e
commit 890df65970
2 changed files with 25 additions and 0 deletions

View File

@@ -113,6 +113,16 @@ public:
/// </summary>
API_EVENT() static Action MouseLeave;
/// <summary>
/// Event fired when gamepad button goes down.
/// </summary>
API_EVENT() static Delegate<InputGamepadIndex, GamepadButton> GamepadButtonDown;
/// <summary>
/// Event fired when gamepad button goes up.
/// </summary>
API_EVENT() static Delegate<InputGamepadIndex, GamepadButton> GamepadButtonUp;
/// <summary>
/// Event fired when touch action begins.
/// </summary>