code: function __touchDetection() {
      var map = {
          "touchstart" : "touchstart",
          "touchend" : "touchend",
          "touchmove" : "touchmove"
      };
      var touch = (('ontouchstart' in window) || window.DocumentTouch && window.document instanceof window.DocumentTouch);
      if (!touch) {
          map = {
              "touchstart" : "mousedown",
              "touchend" : "mouseup",
              "touchmove" : "mousemove"
          };
      }
  
      // IE10 special events
      if (window.navigator.msPointerEnabled) {
          map = {
              "touchstart" : "MSPointerDown",
              "touchend" : "MSPointerUp",
              "touchmove" : "MSPointerMove"
          };
      }
      return map;
  }
docs: Event utility to handle touch device detection.
  Taken from Aria Templates: https://github.com/ariatemplates/ariatemplates/blob/master/src/aria/touch/Event.js
   
  Utility method to determine if the device is touch capable, if not the touch event properties are updated
  with (legacy) mouse events.
  @private