interface KeyMap {
    down?: string[];
    left?: string[];
    right?: string[];
    rotateClockwise?: string[];
    rotateCounterclockwise?: string[];
    up?: string[];
}

Properties

down?: string[]

The keys that shall be used to move the viewing direction downwards. Each string represents a key combination, where different keys are separated by a space character, i.e. 'w', 'ArrowUp' or 'Alt F4'.

left?: string[]

The keys that shall be used to move the viewing direction leftwards. Each string represents a key combination, where different keys are separated by a space character, i.e. 'w', 'ArrowUp' or 'Alt F4'.

right?: string[]

The keys that shall be used to move the viewing direction rightwards. Each string represents a key combination, where different keys are separated by a space character, i.e. 'w', 'ArrowUp' or 'Alt F4'.

rotateClockwise?: string[]

The keys that shall be used to rotate the viewing direction clockwise. Each string represents a key combination, where different keys are separated by a space character, i.e. 'w', 'ArrowUp' or 'Alt F4'.

rotateCounterclockwise?: string[]

The keys that shall be used to rotate the viewing direction counterclockwise. Each string represents a key combination, where different keys are separated by a space character, i.e. 'w', 'ArrowUp' or 'Alt F4'.

up?: string[]

The keys that shall be used to move the viewing direction upwards. Each string represents a key combination, where different keys are separated by a space character, i.e. 'w', 'ArrowUp' or 'Alt F4'.