Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function deriveInputProfile

    • Derive the profile from raw signals. Pure — this is the unit-test surface.

      hoverCapable is anyHover || !coarsePointer: a fine primary pointer is a mouse or trackpad and can hover even where matchMedia is unavailable, so the no-signal default (node, jsdom, old browsers) stays "desktop".

      Parameters

      • signals: InputSignals
      • source: "detected" | "override" = 'detected'

      Returns InputProfile