send and recv events by type
add support for up to 4 touch events