Skip to content

Type Alias: TiltVerdict

TiltVerdict = "native" | "derived" | "flat" | "absent" | "unknown"

Defined in: telemetry.ts:447

The verdict, in the terms the design actually needs: is the tilt half of the pencil alive on this device?

  • "native" — the browser reported orientation and it moved.
  • "derived" — we computed it from the other pair, and it moved.
  • "flat" — the field is present but never varied. A stub. Tilt is dead.
  • "absent" — no orientation data at all (a mouse, or a browser that says nothing). Not a failure: pressure and velocity carry the stroke.
  • "unknown" — not enough samples yet. Move the pen.