-
Mouse or Touchscreen
Hello experts,
I was wondering if there is a way to detect if the client uses a mouse or a touchscreen device of some sort to navigate your website. This is because some of the interaction on my website relies on mouse position without being clicked. So if I could detect this I could offer an alternative. The detection can be either server-side or client-side.
When I searched the web for this, I only found methods of parsing the userAgent string for known mobile web browsers, but that isn't really sufficient, since some mobile devices still offer a mouse or have undistinguishable userAgent strings from regular computer web browsers.
Thanks in advance,
Vince
-
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks