last-nonmenu-event

last-nonmenu-event is a variable defined in `C source code'.
Its value is
0


Documentation:
Last input event in a command, except for mouse menu events.
Mouse menus give back keys that don't look like mouse events;
this variable holds the actual mouse event that led to the menu,
so that you can determine whether the command was run by mouse or not.