code: function triggerCustomEvent(obj, eventType, event, touchData) {
          var originalType = event.type;
          event.type = eventType;
  
          $.event.dispatch.call(obj, event, touchData);
          event.type = originalType;
      }
docs: Trigger a custom event: