Mercurial > emacs
comparison src/termhooks.h @ 2046:9e30cf115e63
(alt_modifier, super_modifier, hyper_modifier):
(shift_modifier, ctrl_modifier, meta_modifier):
Renumber the bits.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 07 Mar 1993 09:29:36 +0000 |
parents | 73ce9dd21093 |
children | 82e8ee492593 |
comparison
equal
deleted
inserted
replaced
2045:cc85a38463b8 | 2046:9e30cf115e63 |
---|---|
1 /* Hooks by which low level terminal operations | 1 /* Hooks by which low level terminal operations |
2 can be made to call other routines. | 2 can be made to call other routines. |
3 Copyright (C) 1985, 1986, 1992, 1993 Free Software Foundation, Inc. | 3 Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GNU Emacs. | 5 This file is part of GNU Emacs. |
6 | 6 |
7 GNU Emacs is free software; you can redistribute it and/or modify | 7 GNU Emacs is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
282 Qevent_symbol_components property of the event heads. */ | 282 Qevent_symbol_components property of the event heads. */ |
283 enum { | 283 enum { |
284 up_modifier = 1, /* Only used on mouse buttons - always | 284 up_modifier = 1, /* Only used on mouse buttons - always |
285 turned into a click or a drag modifier | 285 turned into a click or a drag modifier |
286 before lisp code sees the event. */ | 286 before lisp code sees the event. */ |
287 alt_modifier = 2, /* Under X, the XK_Alt_[LR] keysyms. */ | |
288 ctrl_modifier = 4, | |
289 hyper_modifier= 8, /* Under X, the XK_Hyper_[LR] keysyms. */ | |
290 meta_modifier = 16, /* Under X, the XK_Meta_[LR] keysyms. */ | |
291 shift_modifier= 32, | |
292 super_modifier= 64, /* Under X, the XK_Super_[LR] keysyms. */ | |
293 down_modifier = 128, /* Only used on mouse buttons. */ | 287 down_modifier = 128, /* Only used on mouse buttons. */ |
294 drag_modifier = 256, /* This is never used in the event | 288 drag_modifier = 256, /* This is never used in the event |
295 queue; it's only used internally by | 289 queue; it's only used internally by |
296 the window-system-independent code. */ | 290 the window-system-independent code. */ |
297 click_modifier= 512, /* See drag_modifier. */ | 291 click_modifier= 512, /* See drag_modifier. */ |
298 last_modifier /* This should always be one more than the | 292 |
299 highest modifier bit defined. */ | 293 /* The next four modifier bits are used also |
294 in keyboard events at the Lisp level. */ | |
295 alt_modifier = 0x040000, /* Under X, the XK_Alt_[LR] keysyms. */ | |
296 super_modifier= 0x080000, /* Under X, the XK_Super_[LR] keysyms. */ | |
297 hyper_modifier= 0x100000, /* Under X, the XK_Hyper_[LR] keysyms. */ | |
298 shift_modifier= 0x200000, | |
299 ctrl_modifier = 0x400000, | |
300 meta_modifier = 0x800000, /* Under X, the XK_Meta_[LR] keysyms. */ | |
300 }; | 301 }; |
301 | 302 |
302 #endif | 303 #endif |