EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Property ActivationType

    ActivationType

    Specifies when the keybind should trigger: on key press (KeyDown), on key release (KeyUp), or both.

    Declaration
    public KeybindActivationType ActivationType { get; init; }
    Property Value
    Type Description
    KeybindActivationType
    Remarks
    • KeyDown: Triggers the associated method when the specified key is pressed down.
    • KeyUp: Triggers the associated method when the specified key is released.
    [Keybind("Ctrl+A", ActivationType = KeybindActivationType.KeyDown)] // Invokes on key press
    public void OnKeyDownAction() { /* logic */ }
    

    [Keybind("Ctrl+A", ActivationType = KeybindActivationType.KeyUp)] // Invokes on key release public void OnKeyUpAction() { /* logic */ }

    2025 © Xab3r. All rights reserved.