combine-input-maskCompilerevent-type-1 . eventsevent-mask Returns an event mask suitable for use by set-event-mask. The event-type can be any of: BUTTON-1-DOWN, BUTTON-2-DOWN, BUTTON-3-DOWN, BUTTON-1-RELEASE, BUTTON-2-RELEASE, BUTTON-3-RELEASE, MOVE-BUTTON, ENTER-TERRITORY, EXIT-TERRITORY, STAY-TERRITORY, BUTTON-1-DOUBLE-CLICK, BUTTON-2-DOUBLE-CLICK, BUTTON-3-DOUBLE-CLICK, INTERRUPT-KEY-DOWN, META-KEY-DOWN, CONTROL-KEY-DOWN, SHIFT-KEY-DOWN.
set-event-maskCompilerterritory event-maskevent-mask Sets the event mask on the specified territory. Events that occur in the specified territory which are included in the event-mask will then be placed on the input queue.
read-next-eventCompilerevent-list Waits (blocks if is single-threaded) for an event on the input queue. The retuned value is a vector consisting of the territory that received the event, a bit-vector representing the event and the location of the cursor when the event occured. If an event occured,
sample-next-eventCompilerevent-list / null If an event is on the input queue, return it as above, otherwise, return nil.