1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
Commit graph

21 commits

Author SHA1 Message Date
Andrew Innes
d44c074d09 (w32_console_read_socket): Use new variable w32_use_full_screen_buffer. 1999-07-09 13:36:55 +00:00
Andrew Innes
b7b978978c (maybe_generate_resize_event): Detect changes in the
console window size.
(w32_console_read_socket): Call maybe_generate_resize_event
whenever input events are received, since we don't get told when
the window size changes (as opposed to the buffer size, which we
don't care about).
1999-05-22 17:38:01 +00:00
Geoff Voelker
9ddef9c4de (key_event): Use Vw32_phantom_key_code. Undo the
mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause.
(w32_console_toggle_lock_key): New function.
1998-12-02 23:54:14 +00:00
Geoff Voelker
29a2c30ff6 Include w32term.h and w32heap.h.
(map_keypad_keys):
(Vw32_enable_caps_lock):
(Vw32_enable_num_lock):
(Vw32_pass_lwindow_to_system):
(Vw32_pass_rwindow_to_system):
(Vw32_lwindow_modifier):
(Vw32_rwindow_modifier):
(Vw32_apps_modifier):
(Vw32_scroll_lock_modifier):
(w32_key_to_modifier): Add externs.
(w32_kbd_mods_to_emacs): Recognize Windows keys, Apps key, and
Scroll Lock as potential modifiers; exclude numpad keys from
effect by CapsLock; act on Vw32_enable_caps_lock; remove obsolete
code.
(is_dead_key): Copy from w32fns.c.
(w32_kbd_patch_key): Comment attempt to improve handling of
dead-keys, and system bug relating to same on Windows NT.  Work
around the bug by calling ToUnicode and then converting to the
correct codepage.
(map_virt_key): Removed obsolete variable.
(lispy_function_keys): Add extern.
(key_event): Major rework of keyboard input handling: optionally
recognize Windows keys and Apps key as modifiers; optionally treat
NumLock, CapsLock and ScrollLock as function keys; let system
translate keystrokes to characters to avoid system bugs relating
to dead-key handling; preserve shift distinction for control
characters.  Remove some obsolete code.
1998-11-10 20:52:20 +00:00
Geoff Voelker
81e3e4fd09 (w32_console_mouse_position): Rename from
w32_mouse_position.
1998-04-29 04:36:00 +00:00
Geoff Voelker
c0f1b02e2b (Vw32_recognize_altgr): Declare.
(w32_kbd_mods_to_emacs): Obey Vw32_recognize_altgr.
Add more keys for Vw32_capslock_is_shiftlock.
(w32_kbd_patch_key): Obey Vw32_recognize_altgr.
(map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
1998-04-17 05:09:29 +00:00
Geoff Voelker
59131421e9 Declare externs from other files.
(w32_kbd_mods_to_emacs): New parameter KEY.
Use w32-capslock-is-shiftlock for old behavior.
(key_event): Pass in new parameter to w32_kbd_mods_to_emacs.
(key_event): New parameter isdead. Set isdead if the
key press was done using a dead key.
1997-09-03 00:52:40 +00:00
Geoff Voelker
e9e23e2348 Change all uses of win95, winnt, and win32
into Windows 95, Windows NT, and W32, respectively.
Expand "win" substring in variables referring to Microsoft Windows
constructs into "windows".
Canonicalize header comments to use same terminology.
1997-01-20 00:38:22 +00:00
Geoff Voelker
fbd6baedb5 Change identifiers of the form win32* to w32*. 1996-11-19 04:59:23 +00:00
Richard M. Stallman
06c2c73de9 (win32_read_socket): Never block reading from input queue. 1996-07-25 07:14:14 +00:00
Richard M. Stallman
5a6816daac (Vwin32_alt_is_meta): Declared.
(win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.
1996-06-19 22:18:48 +00:00
Geoff Voelker
407c17456a (win32_kdb_patch_key): Initialize isdead.
(key_event) [HAVE_NTGUI]: Use Windows key code.
1996-05-03 18:35:06 +00:00
Geoff Voelker
c0386d7e99 (win32_kbd_mods_to_emacs, win32_kbd_patch_key,
key_event): Convert from static to global functions.
(win32_kbd_patch_key): Set modifiers when AltGr is pressed.
(key_event): Don't modify code on window input.
1996-02-02 02:01:53 +00:00
Geoff Voelker
daf3806631 (WIN32_KEY_SHIFTED): Macro undefined.
(win32_number_shift_map): Array undefined.
(win32_kbd_patch_key): Properly handle virtual keys for
arbitrary keyboards.
(map_virt_key, key_event, win32_mouse_position, do_mouse_event,
win32_read_socket): Support for MULE.
1996-01-21 00:30:47 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
0e7078f5c8 (win32_mouse_position, mouse_moved_to):
Access mouse_moved in selected_frame.
1995-07-17 22:23:14 +00:00
Richard M. Stallman
4ba58dd446 (map_virt_key): Mark some additional chars as valid ASCII. 1995-06-20 15:08:55 +00:00
Karl Heuer
b02466e81c (do_mouse_event): Use XSETFASTINT.
(SET_FRAME): Undefined.
(select): Renamed to sys_select to correspond to routine in sysdep.c
(sys_select): Support struct timeval.
(key_event): Support German keyboard.
Replace SET_FRAME with XSETFRAME.
(nt_kbd_mods_to_emacs): Renamed to win32_kbd_mods_to_emacs.
(win32_kbd_mods_to_emacs): Support AltGr on German keyboards.
(win32_number_shift_map): Defined.
(WIN32_KEY_SHIFTED): Defined.
(win32_patch_key): Defined.
(map_virt_key): Support VK_OEM_102 for German keyboards.
(win32_mouse_position): Add arg insist.
(do_mouse_event): Replace SET_FRAME with XSETFRAME.
Use win32_kbd_mods_to_emacs.
1995-04-12 02:23:35 +00:00
Richard M. Stallman
6014f6799c (win32_mouse_position): New arg `insist'. 1995-03-26 21:12:46 +00:00
Karl Heuer
9e539a3cc3 (SET_FRAME, key_event, do_mouse_event): Use accessor macros. 1994-11-18 05:22:33 +00:00
Richard M. Stallman
6cdfb6e60d Initial revision 1994-11-14 01:32:24 +00:00