Input: document use of input_event() function