Class: KeyboardHoldBinding
Defined in: input/keyboard/bindings/keyboard-hold-binding.ts:12
Keyboard hold input binding.
Implements
InputBinding<HoldAction>KeyboardHoldBindingArgs
Constructors
Constructor
new KeyboardHoldBinding(
action,keyCode):KeyboardHoldBinding
Defined in: input/keyboard/bindings/keyboard-hold-binding.ts:26
Constructs a new KeyboardHoldBinding.
Parameters
action
The action associated with this binding.
keyCode
The key code associated with this binding.
Returns
KeyboardHoldBinding
Properties
action
readonlyaction:HoldAction
Defined in: input/keyboard/bindings/keyboard-hold-binding.ts:16
The action associated with this binding.
Implementation of
InputBinding.action
displayText
readonlydisplayText:string
Defined in: input/keyboard/bindings/keyboard-hold-binding.ts:20
A human-readable description of this binding.
Implementation of
InputBinding.displayText
keyCode
readonlykeyCode:KeyCode
Defined in: input/keyboard/bindings/keyboard-hold-binding.ts:18
The key code associated with this binding.