GNU Emacs Lisp Reference Manual
21.7 Reading Input
The editor command loop reads key sequences using the function
read-key-sequence, which uses
read-event. These and other
functions for event input are also available for use in Lisp programs.
momentary-string-display in 38.8 Temporary Displays,
sit-for in 21.9 Waiting for Elapsed Time or Input. See section 40.8 Terminal Input, for
functions and variables for controlling terminal input modes and
debugging terminal input. See section 40.8.2 Translating Input Events, for features you
can use for translating or modifying input events while reading them.
For higher-level input facilities, see 20. Minibuffers.