Class: KeyboardTriggerBinding
Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:14
Keyboard trigger input binding.
Implements
InputBinding<TriggerAction>KeyboardTriggerBindingArgs
Constructors
Constructor
new KeyboardTriggerBinding(
action,keyCode,moment):KeyboardTriggerBinding
Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:31
Constructs a new KeyboardTriggerBinding.
Parameters
action
The action associated with this binding.
keyCode
The key code associated with this binding.
moment
The button moment associated with this binding.
Returns
KeyboardTriggerBinding
Properties
action
readonlyaction:TriggerAction
Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:18
The action associated with this binding.
Implementation of
InputBinding.action
displayText
readonlydisplayText:string
Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:24
A human-readable description of this binding.
Implementation of
InputBinding.displayText
keyCode
readonlykeyCode:KeyCode
Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:20
The key code associated with this binding.
Implementation of
KeyboardTriggerBindingArgs.keyCode
moment
readonlymoment:ButtonMoment
Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:22
The button moment associated with this binding.