Broadcast any event from child to parent

I have this structure

<parent>
  <middle>
    <child></child>
  </middle>
</parent>

middle is a wrapper component that uses <component :is > to load components.
Now I would like to have any event emitted from child to go to parent.

I could have middle to $on child events individually and $emit back to parent, but I wouldn’t know the events in advance.
Is there any way general way to $on any event on a component?

Ok so this works for me

parent.vue

<parent>
  <middle @pippo="onPippo" @banana="onBanana"/>
</parent>

middle.vue

<child v-on="$listeners"></child>