Commit Graph

61 Commits

Author SHA1 Message Date
Jesse Allen a0449a5f64 dinput: Add DISEQUENCE_COMPARE macro. 2009-08-24 15:17:34 +02:00
Vincent Pelletier 2a0e659335 dinput: Fix macro definitions. 2009-01-22 12:04:21 +01:00
Vitaliy Margolen d939367ac8 dinput: Implement DIPROP_KEYNAME property for keyboard device.
Based on patch from Sergey Khodych.
2008-09-15 13:23:13 +02:00
Marcus Meissner 80c2cabab4 include: Added some defines for EnumDevicesBySemantics. 2008-02-15 11:47:51 +01:00
Peter Beutner 59c18ef56d dinput: Add missing definition to public header. 2007-04-05 10:53:30 +02:00
Francois Gouget 6688acce7d include: Some DirectX headers are supposed to define COM_NO_WINDOWS_H. 2006-11-07 15:25:17 +01:00
Vitaliy Margolen eb3028acc0 dinput: Add DISCL_NOWINKEY define. 2006-07-29 11:50:19 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
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