Vitaliy Margolen
1dae4c6832
dinput: Move SetCooperativeLevel into base class.
2006-10-17 12:36:13 +02:00
Vitaliy Margolen
af34ef12ba
dinput: Move SetEventNotification and associated event into base class.
2006-10-17 12:36:00 +02:00
Vitaliy Margolen
7123f3e80e
dinput: Win64 printf format warning fixes.
2006-10-09 12:53:41 +02:00
Vitaliy Margolen
722a686d66
dinput: Move hook_thread from device to DirectInput.
2006-09-11 17:45:42 +02:00
Andrew Talbot
78cdd5460c
dinput: Cast-qual warnings fix.
2006-09-10 10:16:47 +02:00
Vitaliy Margolen
eb3028acc0
dinput: Add DISCL_NOWINKEY define.
2006-07-29 11:50:19 +02:00
Michael Stefaniuc
932a2a0d54
Fix swapped 2nd and 3rd argument passed to memset.
2006-07-14 12:38:36 +02:00
Alexandre Julliard
7ad5f9eca0
dinput: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:09:55 +02:00
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
Lionel Ulmer
809dd5b044
Handle DInput8 interfaces in device QueryInterface.
2005-11-28 10:38:59 +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
Robert Reif
2d9e2a3300
Effect objects are not supported yet so don't crash when trying to
...
enumerate them.
2005-05-16 14:07:36 +00:00
Robert Reif
2095f66d44
Fix joystick crash when a button guid is specified in the data
...
format.
Add some parameter checking.
2005-05-10 13:17:03 +00:00
Lionel Ulmer
fa8d7a0fe6
- more pretty print for the types flag
...
- more Windows-aligned check for object instances
2005-05-05 09:49:54 +00:00
Marcus Meissner
accf3ee2e6
Fixed 3 memset()s which used the wrong size (too large).
2005-04-25 10:48:38 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Carlos Lozano
1b73419ffc
Fix regression in Fallout game.
2005-02-08 12:11:12 +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
Alexandre Julliard
314b99c48f
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-09 20:17:07 +00:00
Hans Leidekker
fe442b21f7
Fix signed/unsigned comparison warnings.
2004-09-08 01:23:57 +00:00
Robert Reif
3c3a511e8d
When actual offset doesn't match the specified offset, use the actual
...
offset.
2004-09-06 21:26:03 +00:00
Robert Reif
0b12efaa9e
Added support for alternate data formats.
2004-09-02 20:09:54 +00:00
Robert Reif
e2b882aced
Added default data formats for c_dfDIJoystick and c_dfDIJoystick2.
...
Added object properties for more than one object.
Added error checks for acquired.
Default to using c_dfDIJoystick2 data format.
Try to use user supplied data formats (only works if same as one of
the defaults).
Code cleanup, error checking and tracing added.
Added support for up to 8 axis.
2004-08-31 18:51:23 +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
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +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
Raphael Junqueira
c405019ee5
- DInput WideChar classes support. This time all dinput versions have
...
widechar classes.
- fix a stupid bug in callback handling caught by Lionel.
- add some forgotten IID on class factory (better if we want to active
the code)
- many cleanups on COM Macros (don't need A and W variants as they are
the same)
2003-06-16 20:22:13 +00:00
Christian Costa
77c00c9555
Make dinput8 behaviour more correct for mouse and keyboard.
...
Fix small bug when keyboard buffer overflows.
Use DI_OK instead of 0 for returned values.
2003-06-13 18:55:41 +00:00
Paul Bain
6936db1103
Put IID_IDirectInputDevice2A back in
...
IDirectInputDevice2AImpl_QueryInterface.
2003-06-13 16:32:16 +00:00
Christian Costa
9d74dca27c
Small fix in IDirectInputDevice2Impl_QueryInterface.
2003-04-29 22:47:04 +00:00
Lionel Ulmer
d14ad4ff8a
Implemented EnumObjects for the keyboard device.
2003-02-12 21:27:00 +00:00
Lionel Ulmer
7c552a4a3a
Report an error if GetDeviceData is called on an Unacquired device.
2003-02-12 01:13:31 +00:00
Alexandre Julliard
b34fb35b31
Fixed warnings caused by conversion to -DSTRICT.
2002-10-18 23:48:57 +00:00
Ove Kaaven
d2d08f0c28
- support DirectInput 8 interfaces.
...
- implemented mouse wheel support.
2002-06-14 00:39:44 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Andreas Mohr
01c8ec3a9c
Spelling/error messages fixes.
2002-04-02 19:47:30 +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
8ada79d158
Devices never need to be polled, so return DI_NOEFFECT in Poll.
2001-11-06 22:26:26 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Lionel Ulmer
6301e94e53
- reorganized DInput DLL
...
- added stubbing for DInput 7a
- 'fixed' the mouse problem in Fallout
2000-11-05 20:25:02 +00:00