The function ba_set_event_mask() is passed the following argument:
eventmask
Integer that represents the bitwise value of the event mask.