aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32inevt.c
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Pavel Janík2002-06-131-3/+3
|
* Include <config.h>.Pavel Janík2002-01-011-1/+3
|
* (w32_console_toggle_lock_key): Add parentheses.Jason Rumney2001-01-121-1/+1
|
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-0/+5
| | | | (MOUSE_MOVED): Define if not known.
* (NUM_TRANSLATED_MOUSE_BUTTONS): New constant.Jason Rumney2000-05-301-9/+8
| | | | | | (emacs_button_translation): Use it. (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit in `mask' to be set.
* (get_frame, w32_console_mouse_position, mouse_moved_to):Jason Rumney2000-01-301-4/+0
| | | | | | Change selected_frame to SELECTED_FRAME (). (w32_console_mouse_position): Remove #ifndef MULE from around `insist' parameter.
* (get_frame, w32_console_mouse_position, mouse_moved_to):Jason Rumney2000-01-231-3/+3
| | | | Use SELECTED_FRAME macro.
* (w32_console_read_socket): Use new variable w32_use_full_screen_buffer.Andrew Innes1999-07-091-4/+7
|
* (maybe_generate_resize_event): Detect changes in theAndrew Innes1999-05-221-1/+24
| | | | | | | | 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).
* (key_event): Use Vw32_phantom_key_code. Undo theGeoff Voelker1998-12-021-5/+56
| | | | | mapping of Ctrl-Pause into cancel, and Ctrl-NumLock into pause. (w32_console_toggle_lock_key): New function.
* Include w32term.h and w32heap.h.Geoff Voelker1998-11-101-211/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (w32_console_mouse_position): Rename fromGeoff Voelker1998-04-291-8/+8
| | | | w32_mouse_position.
* (Vw32_recognize_altgr): Declare.Geoff Voelker1998-04-171-9/+29
| | | | | | | (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.
* Declare externs from other files.Geoff Voelker1997-09-031-6/+29
| | | | | | | | (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.
* Change all uses of win95, winnt, and win32Geoff Voelker1997-01-201-1/+1
| | | | | | | 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.
* Change identifiers of the form win32* to w32*.Geoff Voelker1996-11-191-11/+11
|
* (win32_read_socket): Never block reading from input queue.Richard M. Stallman1996-07-251-1/+1
|
* (Vwin32_alt_is_meta): Declared.Richard M. Stallman1996-06-191-1/+4
| | | | (win32_kbd_mods_to_emacs): Map Alt to alt_modifier if required.
* (win32_kdb_patch_key): Initialize isdead.Geoff Voelker1996-05-031-9/+12
| | | | (key_event) [HAVE_NTGUI]: Use Windows key code.
* (win32_kbd_mods_to_emacs, win32_kbd_patch_key,Geoff Voelker1996-02-021-3/+14
| | | | | | 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.
* (WIN32_KEY_SHIFTED): Macro undefined.Geoff Voelker1996-01-211-51/+72
| | | | | | | | (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.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-15/+16
|
* (win32_mouse_position, mouse_moved_to):Karl Heuer1995-07-171-5/+2
| | | | Access mouse_moved in selected_frame.
* (map_virt_key): Mark some additional chars as valid ASCII.Richard M. Stallman1995-06-201-10/+10
|
* (do_mouse_event): Use XSETFASTINT.Karl Heuer1995-04-121-21/+106
| | | | | | | | | | | | | | | | | (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.
* (win32_mouse_position): New arg `insist'.Richard M. Stallman1995-03-261-1/+1
|
* (SET_FRAME, key_event, do_mouse_event): Use accessor macros.Karl Heuer1994-11-181-6/+6
|
* Initial revisionRichard M. Stallman1994-11-141-0/+459