Commit graph

53 commits

Author SHA1 Message Date
Robert Reif
15edb38ab2 Add some missing error codes. 2005-09-23 10:08:51 +00:00
Daniel Remenak
5aceed081e Add definitions for force feedback command and status flags. 2005-09-02 11:21:00 +00:00
Daniel Remenak
7bb3b2d32e Add some definitions necessary for force feedback. 2005-08-08 11:05:24 +00:00
Alexandre Julliard
b8d3075d83 Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Alexandre Julliard
bf08b35c07 Get rid of version #ifdefs. 2005-03-11 13:19:36 +00:00
Alexandre Julliard
5d0160ea75 Get rid of the non-standard Ixxx_METHODS macro definitions, declare
the interfaces explicitly instead.
2004-10-05 04:38:15 +00:00
Francois Gouget
179dc259e4 Fix incorrect usage of COBJMACROS.
Duplicate and adapt the COM access macros so they also work in C++.
Fix the IDirectPlayX access macros.
2004-10-04 19:39:32 +00:00
Robert Reif
7cdd584d7d Added missing struct. 2004-09-07 19:32:56 +00:00
Robert Reif
72d1eb475c Added some missing defines. 2004-09-02 22:57:21 +00:00
Robert Reif
15fbcacbb4 Added some missing LPC typedefs. 2004-09-01 04:53:12 +00:00
Robert Reif
07b8d36278 Added some missing dfines. 2004-09-01 01:28:35 +00:00
Robert Reif
fc2ad2160a Added some missing definitions. 2004-08-30 18:41:05 +00:00
Alexandre Julliard
616940eb9a Get rid of the non-standard ICOM_DEFINE macro. 2004-08-12 03:33:30 +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
Dimitrie O. Paun
53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +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
Alexandre Julliard
aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard
55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard
f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Ove Kaaven
0087da5946 Where ICOM macros are needed, include objbase.h. 2002-12-23 01:33:50 +00:00
Ove Kaaven
d2d08f0c28 - support DirectInput 8 interfaces.
- implemented mouse wheel support.
2002-06-14 00:39:44 +00:00
Vincent Béron
1ae26ebafc - Made sure const LP were actually const in dinput.h.
- Uniformized the {A,W} declarations of some structures.
2002-06-02 21:18:48 +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
Patrik Stridvall
f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Marcus Meissner
c9b3b2e8f8 Added preferences to dinput drivers (so we can have two joystick
drivers). Implemented a joystick driver for the Linux 2.4
dev/input/event API.
2000-12-12 00:38:58 +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
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Ove Kaaven
098b1a7443 Added a few DirectInput 7 definitions and C++ fixes. 2000-08-07 04:18:30 +00:00
Francois Gouget
ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Patrik Stridvall
bbaf0ea799 Made the include files self sufficient. 2000-03-24 21:13:57 +00:00
Alexandre Julliard
9b59da0dd9 Misc small cleanups. 2000-03-18 22:25:41 +00:00
Lionel Ulmer
5e6d062378 - implement EnumObjects and GetProperty for Mouse and Joystick drivers
- implement SetDataFormat for the Mouse driver
2000-02-26 13:15:17 +00:00
Lionel Ulmer
7938aaba1a - do not loose initial auto-repeat status when acquiring the keyboard more
than one time
- support of DirectX 7's DIMOUSESTATE2 structure
1999-12-10 03:29:32 +00:00
Francois Gouget
be9fd31b92 Define the COM macros even in C++. 1999-10-23 20:09:05 +00:00
Marcus Meissner
028e9a1720 Implemented DirectInput Joystick support (tested with WC:Prophecy). 1999-08-04 15:07:56 +00:00
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Patrik Stridvall
857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Jim Aston
2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Francois Gouget
f18c8df550 Use latest COM macros
Defined the IDirectInputDeviceA interface independently from
IDirectInputDevice2A.
Removed the 32 suffix of the interfaces. Hopefully this will not
cause any problem with the renaming.
Moved the implementation specific stuff to dinput.c (well, the
interfaces at least).
1999-02-22 09:50:36 +00:00
Marcus Meissner
317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Michael Veksler
17822f452f Moved everything out of windows.h. 1999-02-09 15:46:25 +00:00
Lionel Ulmer
629b9fa4a3 Added buffered device access for DInput's mouse driver. 1999-02-09 14:18:21 +00:00
Alexandre Julliard
638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Robert Riggs
6cd359bc93 Stubs for IDirectInputEffect and IDirectInputDevice2A methods,
as well as AddRef(), GetCapabilites(), EnumObjects(),
GetProperty(), GetObjectInfo(), GetDeviceInfo(), Initialize(),
and RunControlPanel() for IDirectInputDevice.
1998-12-10 09:08:48 +00:00
Lionel Ulmer
12de3ea346 Added device type constants and used them in device enumeration
function.
1998-11-08 14:24:04 +00:00
Lionel Ulmer
89f8ba2129 Changed mouse button mapping and check size of return buffer. 1998-11-06 17:28:22 +00:00
Lionel Ulmer
27829e4337 Beginning of mouse support in DirectInput (only "standard" mouse
configuration supported for now).
1998-10-24 11:04:07 +00:00