Input · const

DEFAULT_DEADZONE

How far a stick must travel before it is moving at all.

Explained in Moving things.

const DEFAULT_DEADZONE = 0.15
import { DEFAULT_DEADZONE } from '@driftengine/core';

In depth

A tuning constant, so it is an option rather than a rule — AGENTS.md forbids asserting the value of one, and gamepadMapping.test.ts checks only that it sits in a range a stick can leave. Sticks rest off-centre by different amounts on different pads and wear looser with age, which is the whole reason a deadzone exists.