To create a component event, create a a.evt file using the Developer Console; the type is specified as the COMPONENT:
<!--c:compEvent--><aura:event type="COMPONENT"> <!-- Add aura:attribute tags to define event shape. One sample attribute here. --> <aura:attribute name="message" type="String"/></aura:event>