* Use a single `as_foo` generated function to conditionally return a certain event type from a generic `zmk_event_t*` pointer.
An error occurred