changeset 5226:4891291b5785

(struct input_event): `code' is now an int.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 1993 00:54:23 +0000
parents 95a44cfa9e17
children abf17036eb91
files src/termhooks.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/termhooks.h	Thu Dec 23 00:52:50 1993 +0000
+++ b/src/termhooks.h	Thu Dec 23 00:54:23 1993 +0000
@@ -259,7 +259,10 @@
   /* What kind of event was this?  */
   enum event_kind kind;
   
-  Lisp_Object code;
+  /* For an ascii_keystroke, this is the character.
+     For a non_ascii_keystroke, this is the keysym code.
+     For a mouse event, this is the button number.
+  int code;
   enum scroll_bar_part part;
 
   /* This field is copied into a vector while the event is in the queue,