dacha
    Preparing search index...

    Interface KeyboardEventBindConfig

    One keyboard binding in the configuration.

    Index

    Values to put in the event payload.

    eventType: string

    The name of the event to dispatch on the actor.

    keepEmit?: boolean

    Sends the event again in every frame while the key is held. Only for pressed bindings.

    key: string

    The key, as KeyboardEvent.code: KeyW, Space, ArrowUp.

    pressed: boolean

    true sends the event when the key goes down. false sends it when the key goes up.