Add event_handle function, ref kiss3d

#5