Input Events
The Emacs command loop reads a sequence of input events that represent keyboard or mouse activity, or system events sent to Emacs. The events for keyboard activity are characters or symbols; other events are always lists. This section describes the representation and meaning of input events in detail.
- Function: eventp object
-
This function returns non-
nilif object is an input event or event type.Note that any non-
nilsymbol might be used as an event or an event type;eventpcannot distinguish whether a symbol is intended by Lisp code to be used as an event.
- Keyboard Events
- Function Keys
- Mouse Events
- Click Events
- Drag Events
- Button-Down Events
- Repeat Events
- Motion Events
- Touchscreen Events
- Focus Events
- Xwidget events
- Miscellaneous System Events
- Event Examples
- Classifying Events
- Accessing Mouse Events
- Accessing Scroll Bar Events
- Putting Keyboard Events in Strings
Copyright © 1990-1996, 1998-2026 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Input-Events.html