diff options
| author | Kenichi Handa | 2000-08-11 00:51:25 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-08-11 00:51:25 +0000 |
| commit | 4ff939ad38f6f56f92133542f1284b40aa19044b (patch) | |
| tree | 3cc6549d3f74233b174509ae6c1a3ea85b7e3e3a /src | |
| parent | a50e723f78cb4dae9b42a15ce51e3d8f35dcb1ea (diff) | |
| download | emacs-4ff939ad38f6f56f92133542f1284b40aa19044b.tar.gz emacs-4ff939ad38f6f56f92133542f1284b40aa19044b.zip | |
(enum event_kind): New member multibyte_char_keystroke.
Diffstat (limited to 'src')
| -rw-r--r-- | src/termhooks.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 010846715bc..e129fa2a8ac 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -215,6 +215,12 @@ enum event_kind | |||
| 215 | which the key was typed. | 215 | which the key was typed. |
| 216 | .timestamp gives a timestamp (in | 216 | .timestamp gives a timestamp (in |
| 217 | milliseconds) for the keystroke. */ | 217 | milliseconds) for the keystroke. */ |
| 218 | multibyte_char_keystroke, /* The multibye char code is in .code, | ||
| 219 | perhaps with modifiers applied. | ||
| 220 | The others are the same as | ||
| 221 | ascii_keystroke. This type of event | ||
| 222 | is generated only when we are using | ||
| 223 | XIM on X window. */ | ||
| 218 | non_ascii_keystroke, /* .code is a number identifying the | 224 | non_ascii_keystroke, /* .code is a number identifying the |
| 219 | function key. A code N represents | 225 | function key. A code N represents |
| 220 | a key whose name is | 226 | a key whose name is |
| @@ -337,7 +343,8 @@ struct input_event | |||
| 337 | /* What kind of event was this? */ | 343 | /* What kind of event was this? */ |
| 338 | int kind; | 344 | int kind; |
| 339 | 345 | ||
| 340 | /* For an ascii_keystroke, this is the character. | 346 | /* For an ascii_keystroke and multibyte_char_keystroke, this is the |
| 347 | character. | ||
| 341 | For a non_ascii_keystroke, this is the keysym code. | 348 | For a non_ascii_keystroke, this is the keysym code. |
| 342 | For a mouse event, this is the button number. */ | 349 | For a mouse event, this is the button number. */ |
| 343 | /* In WindowsNT, for a mouse wheel event, this is the delta. */ | 350 | /* In WindowsNT, for a mouse wheel event, this is the delta. */ |