Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Vitaliy Margolen
e66e34ef7b
dinput: Create single thread for mouse and keyboard hook.
...
Put keyboard & mouse hook callbacks into separate thread.
Move few global variables into object. Delete no longer used crit section.
For hooks to work properly hook callback have to be in a thread
with message loop. Some games create separate threads just to handle
mouse and/or keyboard events that do not have message loop.
2006-03-21 11:27:49 +01:00
Vitaly Budovski
6a0e711681
dinput: Return an error if both DISCL_EXCLUSIVE and DISCL_BACKGROUND are set.
2006-02-28 12:40:13 +01:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Mike McCormack
50a6d970f5
gcc 4.0 warning fixes for Interlocked* functions.
2005-08-03 11:03:05 +00:00
Dmitry Timoshkov
247246ede7
Make more of the OLE interface vtables const.
2005-05-30 10:01:08 +00:00
Robert Reif
6dd763e03b
Pass around real version and do correct thing based on it.
...
Change cooperative level to pass on windows.
2005-05-16 08:44:14 +00:00
Lionel Ulmer
233b5f5b80
- Windows reports 0x80 on pressed buttons not 0xFF
...
- trace the events reported to the application
2005-05-09 09:24:34 +00:00
Lionel Ulmer
a9d42f44c1
- do not flush the buffer when the application only wants to peek the
...
number of elements in the queue
- trace the GetDeviceState values before they are reset
2005-05-05 10:30:24 +00:00
James Dean Anderson
da87fa817d
Report an error if trying to get data from an unacquired mouse.
2005-05-04 09:46:07 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Raphael Junqueira
97d848aa19
- use WINE_DINPUT_KEYBOARD_MAX_KEYS instead hard-coded 256 value
...
- better use of critical section
- some cleanup to better understand code paths
- logic correction on SetWindowsHookExA/UnhookWindowsHookEx on
keyboard.
2005-03-24 15:08:27 +00:00
Alexandre Julliard
6451e221f3
Build a static list of devices instead of relying on ELF
...
constructors.
2005-03-15 19:36:15 +00:00
Christian Costa
9a99dc14eb
Implemented GetProperty method for keyboard device.
2005-02-15 15:03:03 +00:00
Robert Reif
c5b0a1792c
Copy data structures one at a time using supplied size.
2005-01-25 20:05:12 +00:00
Francois Gouget
9d589acc26
Assorted spelling fixes.
2005-01-04 20:39:54 +00:00
Neil Olver
dd9a30ba46
The flag for a mouse button down in the structure returned by
...
GetDeviceState should be 0x80 (only the high bit set), not 0xff.
2004-12-27 16:55:41 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Christian Costa
6a8ae41c9d
Handle device class in DX8 enumeration (found by Robert Reif).
...
Fixed remaining DX8 device types.
Factorized a bit GetCapabilities for keyboard and mouse.
2004-12-13 13:17:03 +00:00
Robert Reif
9a75ae0a2f
Add dx3 capabilities.
2004-09-21 20:04:37 +00:00
Robert Reif
873e5bfe29
Use InterlockedIncrement/InterlockedDecrement for reference counting.
...
Fix bug in effect enumeration that crashed dxcapsviewer.
2004-09-17 18:10:41 +00:00
Robert Reif
76447ec8d7
Added support for multiple devices.
2004-09-13 19:16:47 +00:00
Robert Reif
4efa5dd85e
Add buffered mode to joystick.
...
Add JoystickWImpl_GetDeviceInfo.
2004-09-13 18:03:30 +00:00
Alexandre Julliard
314b99c48f
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-09 20:17:07 +00:00
Robert Reif
38d6f1432f
Fixes a mouse regression due to structure size change.
2004-09-09 00:25:48 +00:00
Hans Leidekker
fe442b21f7
Fix signed/unsigned comparison warnings.
2004-09-08 01:23:57 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Lionel Ulmer
4f640697bd
- some new logging on device enumeration
...
- fix version setting in DirectInputCreate(A/W) functions
2004-06-04 18:06:37 +00:00
Lionel Ulmer
04d77f4dcc
- some TRACEing improvements
...
- fix mouse Acquire which switched right and middle buttons
- reset the mouse cursor at its original location on Unacquiring the
device
2004-06-02 00:36:54 +00:00
Alexandre Julliard
79692a3fe8
We don't really need subdirectories in dlls/dinput.
2004-02-12 23:27:59 +00:00