Hiyve Components - v1.0.0
    Preparing search index...

    Function classifyInputDevice

    • Classify an input device from its label without keeping the label.

      Parameters

      • label: string | null | undefined

        The device label as reported by enumerateDevices.

      Returns InputDeviceKind

      A coarse kind. Unlabelled devices (no permission yet) are 'unknown'.