libframes: changed var names to ev_type, ev_subtype