- detectIt(): {
deviceType: "mouseOnly" | "touchOnly" | "hybrid";
primaryInput: "mouse" | "touch";
supportsPassiveEvents: boolean;
supportsPointerEvents: boolean;
supportsTouchEvents: boolean;
} Returns {
deviceType: "mouseOnly" | "touchOnly" | "hybrid";
primaryInput: "mouse" | "touch";
supportsPassiveEvents: boolean;
supportsPointerEvents: boolean;
supportsTouchEvents: boolean;
}
deviceType: "mouseOnly" | "touchOnly" | "hybrid"
primaryInput: "mouse" | "touch"
supportsPassiveEvents: boolean
supportsPointerEvents: boolean
supportsTouchEvents: boolean
Re-export detectIt.