InputConfig
Defined in: types.ts:19
Configuration for the InputPlugin.
Properties
Section titled “Properties”actions?
Section titled “actions?”
optionalactions?:ActionMapDefinition
Defined in: types.ts:23
Action map: action name -> array of physical key codes.
cameraKey?
Section titled “cameraKey?”
optionalcameraKey?:ServiceKey<CameraLike>
Defined in: types.ts:29
Service key for the camera (enables pointer world-coordinate conversion).
groups?
Section titled “groups?”
optionalgroups?:Record<string,string[]>
Defined in: types.ts:25
Input groups: group name -> array of action names belonging to it.
preventDefaultKeys?
Section titled “preventDefaultKeys?”
optionalpreventDefaultKeys?:string[]
Defined in: types.ts:27
Key codes to call preventDefault() on (default: none).
rendererKey?
Section titled “rendererKey?”
optionalrendererKey?:ServiceKey<RendererLike>
Defined in: types.ts:31
Service key for the renderer (used to auto-target pointer events to its canvas).
target?
Section titled “target?”
optionaltarget?:HTMLElement
Defined in: types.ts:21
Target element for pointer events (default: canvas from renderer, or document).