# HG changeset patch # User Richard M. Stallman # Date 756608063 0 # Node ID 4891291b5785c62617b8f5a500898bc7ddede26a # Parent 95a44cfa9e17b4adc8da48a9b0518e0415103afe (struct input_event): `code' is now an int. diff -r 95a44cfa9e17 -r 4891291b5785 src/termhooks.h --- 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,