Results 1 to 2 of 2

Thread: Mouse or Touchscreen

  1. #1
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post 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

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •