mirror of
https://github.com/goodpuppies/petplay.git
synced 2026-10-29 04:01:31 +01:00
5 lines
225 B
TypeScript
5 lines
225 B
TypeScript
/** HTML pointers forwarded by pmndrs are prefixed (normally `screen-mouse`). */
|
|
export function isDesktopMousePointerType(pointerType: string): boolean {
|
|
return pointerType === "mouse" || pointerType.endsWith("-mouse");
|
|
}
|