Skip to content

@simversus/yjvis


@simversus/yjvis / control / InteractorButton

Enumeration: InteractorButton ​

Defined in: control/Interactor.ts:46

交互按键枚举 定义鼠标按钮和键盘按键的代码

Enumeration Members ​

ignore ​

ignore: "ignore"

Defined in: control/Interactor.ts:50

忽略按键


keyA ​

keyA: "keyA"

Defined in: control/Interactor.ts:60

键盘 A 键


keyControl ​

keyControl: "ControlLeft"

Defined in: control/Interactor.ts:68

键盘左 Control 键


keyD ​

keyD: "keyD"

Defined in: control/Interactor.ts:64

键盘 D 键


keyS ​

keyS: "keyS"

Defined in: control/Interactor.ts:62

键盘 S 键


KeyShift ​

KeyShift: "ShiftLeft"

Defined in: control/Interactor.ts:66

键盘左 Shift 键


keyW ​

keyW: "KeyW"

Defined in: control/Interactor.ts:58

键盘 W 键


mouseLeft ​

mouseLeft: "0"

Defined in: control/Interactor.ts:52

鼠标左键 (0)


mouseMiddle ​

mouseMiddle: "1"

Defined in: control/Interactor.ts:54

鼠标中键 (1)


mouseRight ​

mouseRight: "2"

Defined in: control/Interactor.ts:56

鼠标右键 (2)


none ​

none: "none"

Defined in: control/Interactor.ts:48

无按键