code: function(inType, inEvent) {
  
        // relatedTarget must be null if pointer is captured
        if (this.captureInfo[inEvent.pointerId]) {
          inEvent.relatedTarget = null;
        }
        var e = new _PointerEvent(inType, inEvent);
        if (inEvent.preventDefault) {
          e.preventDefault = inEvent.preventDefault;
        }
        e._target = e._target || inEvent.target;
        return e;
      }
docs: EVENT CREATION AND TRACKING 
  Creates a new Event of type `inType`, based on the information in
  `inEvent`.
  
  @param {string} inType A string representing the type of event to create
  @param {Event} inEvent A platform event with a target
  @return {Event} A PointerEvent of type `inType`