Use the new strong types for strevent().
Make event.h the single source of truth about event encodings.