function(evt)
	{
		return (evt.pointerType != null) ? (evt.pointerType == 'pen' || evt.pointerType ===
			evt.MSPOINTER_TYPE_PEN) : ((evt.mozInputSource != null) ?
					evt.mozInputSource == 2 : evt.type.indexOf('pen') == 0);
	}
function(evt)
	{
		return (evt.pointerType != null) ? (evt.pointerType == 'pen' || evt.pointerType ===
			evt.MSPOINTER_TYPE_PEN) : ((evt.mozInputSource != null) ?
					evt.mozInputSource == 2 : evt.type.indexOf('pen') == 0);
	}
function ( evt ) { return ( evt . pointerType != null ) ? ( evt . pointerType == 'pen' || evt . pointerType === evt . MSPOINTER_TYPE_PEN ) : ( ( evt . mozInputSource != null ) ? evt . mozInputSource == 2 : evt . type . indexOf ( 'pen' ) == 0 ) ; }
Function: isPenEvent

Returns true if the event was generated using a pen (not a touch device or mouse).
Function : isPenEvent
Returns true if the event is a pointer event