@gphone/sdk
    Preparing search index...

    Interface ResolvedKeybindAction

    A KeybindAction tagged with who owns it, for grouping in Settings > Shortcuts. ownerId: 'core' for the static list; otherwise the declaring app's id.

    interface ResolvedKeybindAction {
        command?: string;
        defaultKey: string;
        id: string;
        label: string;
        ownerId: string;
        ownerLabel: string;
        scope: KeybindScope;
        when?: KeybindContext;
    }

    Hierarchy

    • KeybindAction
      • ResolvedKeybindAction
    Index
    command?: string

    Game scope only: the RegisterCommand name the mapping invokes. Defaults to id, and exists so an already-published command name stays stable when the action id reads better as something else.

    defaultKey: string
    id: string
    label: string

    Shown in gPhone's Shortcuts screen, and as the FiveM mapping description.

    ownerId: string
    ownerLabel: string
    scope: KeybindScope
    when?: KeybindContext