sprunk-engine
    Preparing search index...

    Represents a keyboard device. It emits an event when a key is pressed or released.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    onAnyChange: Event<void> = ...

    onAnyButtonPress is an event that is triggered when any device button is pressed. Add observers and emit the event.

    onKeyDown: Event<string> = ...

    Event triggered when a key is pressed.

    onKeyUp: Event<string> = ...

    Event triggered when a key is released.