ButtonBinding
Defined in: packages/threeplay/src/plugins/input/types.ts:22
One virtual button and the physical inputs that press it.
Properties
Section titled “Properties”gamepad?
Section titled “gamepad?”
optionalgamepad?:string|string[]
Defined in: packages/threeplay/src/plugins/input/types.ts:28
Gamepad buttons (standard mapping names).
keyboard?
Section titled “keyboard?”
optionalkeyboard?:string|string[]
Defined in: packages/threeplay/src/plugins/input/types.ts:24
Keyboard keys (any of them presses the button).
mouse?
Section titled “mouse?”
optionalmouse?:MouseButton|MouseButton[]
Defined in: packages/threeplay/src/plugins/input/types.ts:26
Mouse buttons.