@samhenrigold well now i’m curious… what’s the use case for detecting this difference?
Top-level
3 comments
@samhenrigold ahh i see. yeah i’ve never heard of any way to detect the difference. the trackpad is basically just a mouse to the OS. i know there’s a CSS input type property you can check for touch devices but i don’t think it’ll work for trackpads. @MikeBeas Funny, the [pointer media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer) was the first thing I checked. I guess I could just query for fine and present a lil thing like “Using a mouse? Hold shift to scroll horizontally” |
@MikeBeas Making some adjustments to a horizontal scrolling section so it's easier for mouse use. There does not seem to be any way to detect it outside of some insane check for mouse scroll wheel behavior