Skip to main content

Class: KeyboardTriggerBinding

Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:14

Keyboard trigger input binding.

Implements​

Constructors​

Constructor​

new KeyboardTriggerBinding(action, keyCode, moment): KeyboardTriggerBinding

Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:31

Constructs a new KeyboardTriggerBinding.

Parameters​

action​

TriggerAction

The action associated with this binding.

keyCode​

KeyCode

The key code associated with this binding.

moment​

ButtonMoment

The button moment associated with this binding.

Returns​

KeyboardTriggerBinding

Properties​

action​

readonly action: TriggerAction

Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:18

The action associated with this binding.

Implementation of​

InputBinding.action


displayText​

readonly displayText: string

Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:24

A human-readable description of this binding.

Implementation of​

InputBinding.displayText


keyCode​

readonly keyCode: KeyCode

Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:20

The key code associated with this binding.

Implementation of​

KeyboardTriggerBindingArgs.keyCode


moment​

readonly moment: ButtonMoment

Defined in: input/keyboard/bindings/keyboard-trigger-binding.ts:22

The button moment associated with this binding.

Implementation of​

KeyboardTriggerBindingArgs.moment