code: function(pointerType, ev) {
      if(!ev.pointerType) {
        return false;
      }
  
      var pt = ev.pointerType,
        types = {};
      types[Hammer.POINTER_MOUSE] = (pt === ev.MSPOINTER_TYPE_MOUSE || pt === Hammer.POINTER_MOUSE);
      types[Hammer.POINTER_TOUCH] = (pt === ev.MSPOINTER_TYPE_TOUCH || pt === Hammer.POINTER_TOUCH);
      types[Hammer.POINTER_PEN] = (pt === ev.MSPOINTER_TYPE_PEN || pt === Hammer.POINTER_PEN);
      return types[pointerType];
    }
docs: check if ev matches pointertype
  @param   {String}        pointerType     Hammer.POINTER_MOUSE
  @param   {PointerEvent}  ev