Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8346

detecting !mouse

Date 2011-11-15 14:07 +1100
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject detecting !mouse
Message-ID <fu6dnREJhvYbSlzTnZ2dnUVZ_g-dnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


Ok, I can't user window.touch, or its variants, to confidentially 
determine if a device is actually touch capable. But would it be safe to 
assume that a device that returns 0 for
   event.clientX || e.pageX, and event.clientY || e.pageY
does *not* have a mouse attached?

Andrew Poulos

Back to comp.lang.javascript | Previous | NextNext in thread | Find similar | Unroll thread


Thread

detecting !mouse Andrew Poulos <ap_prog@hotmail.com> - 2011-11-15 14:07 +1100
  Re: detecting !mouse Andrew Poulos <ap_prog@hotmail.com> - 2011-11-15 16:42 +1100
    Re: detecting !mouse Swifty <steve.j.swift@gmail.com> - 2011-11-15 10:54 +0000
  Re: detecting !mouse Gregor Kofler <usenet@gregorkofler.com> - 2011-11-15 11:04 +0100
  Re: detecting !mouse RobG <rgqld@iinet.net.au> - 2011-11-15 22:45 +1000
    Re: detecting !mouse Andrew Poulos <ap_prog@hotmail.com> - 2011-11-16 13:53 +1100

csiph-web