Description
Detects if the user’s primary input is a fine pointer (e.g., mouse, stylus) or coarse (e.g., touch, TV remote).
Use Case
Optimize UI for touchscreens vs. desktops without relying on screen size.
Acceptance Criteria
- Returns isFinePointer: boolean
- Uses matchMedia("(pointer: fine)")
- Updates on window resize/reorientation
Description
Detects if the user’s primary input is a fine pointer (e.g., mouse, stylus) or coarse (e.g., touch, TV remote).
Use Case
Optimize UI for touchscreens vs. desktops without relying on screen size.
Acceptance Criteria