RE: pointerType extensibility

> if (e.isPointerType('depth-cam')) { 
> ... light up additional 3-d features 
> } else if (e.isPointerType('touch') { 
> ... definitely a non-depth-cam touch device 
> } 
> 
> Since we probably only care about JavaScript, it's simpler and I think 
> just as powerful to define a set of boolean read-only properties on the 
> event, eg. PointerEvent.isMouse, PointerEvent.isTouch, etc.

I agree, a set of boolean properties would be nice. It allows for pointer types that inherit from older ones. 		 	   		  

Received on Tuesday, 12 February 2013 14:01:50 UTC