get-event-type in control-event%

Returns the type of the control event. See control-event% for information about each event type symbol.