@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / InputTuning
Type Alias: InputTuning ​
ts
type InputTuning = {
stickDeadZone: number;
pressThreshold: number;
lookSensitivity: number;
invertY: boolean;
stickLookSpeed: number;
touchLookScale: number;
};Defined in: input/actions.ts:31
How sticks and sensitivity feel. The settings store writes the player's part.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
stickDeadZone | number | Radial dead zone for sticks, 0..1. | input/actions.ts:33 |
pressThreshold | number | An analog button (trigger) counts as pressed from here. | input/actions.ts:35 |
lookSensitivity | number | Multiplies every look axis. 1 is the default feel. | input/actions.ts:37 |
invertY | boolean | - | input/actions.ts:38 |
stickLookSpeed | number | A stick held fully over turns the view this many pixels a second, as a mouse would. | input/actions.ts:40 |
touchLookScale | number | Multiplies a finger's drag on the look area. | input/actions.ts:42 |

