API reference
Preparing search index…

ImGui.IO_AddKeyAnalogEvent

  • Queue an analog key press or release event.

    Parameters

    self

    ImGuiIO handle on which this method operates.

    key
    number

    ImGuiKey logical key identifier, not a platform-native key code.

    down
    boolean

    Current pressed state: true for press/down, false for release/up.

    v
    number

    Analog key strength from 0 (released) to 1 (fully pressed).

    Returns

    void

    Queue a key press or release event with an analog value, for example for ImGuiKey.GamepadL2.

    Dead-zones should be handled by the backend.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0