Commit Graph

105 Commits

Author SHA1 Message Date
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Alexandre Julliard b58c170c4d Make the SwapMouseButton function and the SPI_SETMOUSEBUTTONSWAP
parameter work on the same flag.
2005-03-09 11:51:31 +00:00
Dmitry Timoshkov 16ba0255e7 - Call SetCursorPos for an injected mouse message only if we really
need to move mouse pointer.
- Add a test case for mouse click handling.
2005-03-07 17:13:07 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard d646c7ed32 Moved some more 16-bit USER functions to the corresponding 16-bit
files.
2004-12-08 14:15:24 +00:00
Eric Frias 5042516c74 Fixed KEYLP structure for big endian. 2004-11-22 18:26:58 +00:00
Alexandre Julliard 80bba3bd61 Moved keyboard.c to dlls/user/kbd16.c.
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Steven Edwards cfcc449324 Porting fixes. 2003-11-26 22:29:30 +00:00
Kevin Koltzau 358fff8142 Implement the TME_NONCLIENT flag in TrackMouseEvent to handle
nonclient hover/ leave events.
2003-11-26 05:06:59 +00:00
Dmitry Timoshkov b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Rein Klazes dc969d4704 Correct the logic that decides whether a WM_SYSKEYUP/DOWN or a
WM_KEYUP/DOWN message is to be sent.
2003-10-28 00:02:57 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Alexandre Julliard 039e13118e Implemented inter-thread SendMessageCallback. 2003-07-26 20:36:43 +00:00
Dusan Lacko b922aad01f Fix ALT context bit for WM_KEYDOWN/UP. 2003-05-11 02:43:42 +00:00
Alexandre Julliard 242e395bbc Store the hardware messages in the thread input structure, not in the
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Mike Hearn 9ea673a4d8 Make WM_MOUSEHOVER coordinates client relative. 2002-12-10 19:05:12 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Mike Hearn 43a0a51540 Altered WM_MOUSEHOVER so the lParam and wParam fields are set
correctly to virtual key states and cursor position.
2002-11-23 01:12:17 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Stefan Leichter 5d0b987151 Moved implementation of LoadKeyboardLayout from ASCII to Unicode. 2002-11-18 19:47:20 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Alexandre Julliard 54f228733a Added process_id_t and thread_it_t types to the server interface
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Per Nystrom 4f03101d8b Set the flag in GetCursorInfo. 2002-08-29 23:59:17 +00:00
Per Nystrom e765bc1a41 Implemented GetCursorInfo. 2002-08-28 23:38:10 +00:00
Michael Stefaniuc c018ef6b6b Convert HKL to a void*. 2002-08-16 01:34:19 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Peter Hunnisett f11de4fc3d Fix return type of GetAsyncKeyState. 2002-02-22 21:24:25 +00:00
Rein Klazes 49762a3a50 Move the implementation of comctl32._TrackMouseEvent to
user32.TrackMouseEvent and call this function in accordance with the
specs.
2002-01-15 20:41:41 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Andriy Palamarchuk 0bf1c2460d Implemented processing for SPI_GET/SETMOUSE, SPI_GET/SETKEYBOARDDELAY,
SPI_GET/SETKEYBOARDSPEED actions. Implemented use of mouse
acceleration/threshold for relative mouse movements.
2001-11-13 21:30:59 +00:00
Alexandre Julliard 32fb580515 Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT
hack. Moved mouse.c to dlls/x11drv.
Added KeymapNotify event handler, and fixed handling with multiple
alt/shift/control keys.
Removed dinput functions from USER driver.
2001-10-18 21:38:59 +00:00
Andriy Palamarchuk b6afa6a970 Fixed mouse_event bug - cursor was moved before new position was
calculated.
2001-10-17 19:39:55 +00:00
Jukka Heinonen d7d564b227 Releasing a mouse button now clears an entry in table
InputKeyStateTable instead of AsyncKeyStateTable.
2001-10-17 19:36:31 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Alexandre Julliard 185ba234ec Fixed typo in previous change. 2001-10-02 21:39:48 +00:00
Alexandre Julliard a21672ebbc Merged mouse buttons states into the key state array.
Fixed confusion between queue state and async state.
2001-10-02 18:53:59 +00:00
Dmitry Timoshkov ef54643490 Remove a hack for keyboard group switching.
Always save/restore correct keyboard group index.
Explicitly ignore the keyboard group switching events.
2001-10-02 17:17:31 +00:00
Brad Campbell 6b8cedfd62 Fixed mouse position processing for use with a touchscreen. 2001-09-19 22:41:22 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard 37a4639ee1 Make sure that functions returning an HWND always return a full 32-bit
handle.
2001-09-12 17:19:13 +00:00
Alexandre Julliard d253c58b1b Rewrote most of SendMessage/PeekMessage.
Implemented inter-process messaging.
Moved most message routines to dlls/user, and split off 16-bit
routines to a separate file.
2001-08-07 19:19:08 +00:00
Alexandre Julliard 8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00