Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a gesture that includes the product-selected primary modifier.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public static InnoEditor.Interactions.HotKeyGesture InnoEditor.Interactions.HotKeyGesture.Primary(InnoEngine.Input.KeyCode key, InnoEditor.Core.EditorKeyboardPolicy keyboard, InnoEngine.Input.KeyModifier additionalModifiers = InnoEngine.Input.KeyModifier.None)

Parameter key: The non-modifier key in the gesture.

Parameter keyboard: The product-selected immutable keyboard policy.

Parameter additionalModifiers: Additional modifiers combined with the product-selected primary modifier.

A product-resolved keyboard gesture.