Commit Graph

572 Commits

Author SHA1 Message Date
Vincent Pelletier f1beea4f86 dinput: Effect length can actually be 0.
This fixes force feedback devices slamming for 10ms at full strength, as
attack is an absolute value, not a factor of effect level.
2011-03-31 12:38:28 +02:00
Vincent Pelletier 296b67f556 dinput: Ramp from lStart to lEnd, not lStart to lStart. 2011-03-28 17:08:53 +02:00
Austin English d6d749f4d7 dinput/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:06:07 -06:00
Vitaliy Margolen 670d54a637 dinput: Ignore EV_MSC events instead of printing fixme. 2011-02-02 12:24:14 +01:00
Vitaliy Margolen 4979d287b2 dinput: Return correct error code for DIPROP_VIDPID. 2011-02-02 12:24:07 +01:00
Charles Davis a2e11b452a dinput: Don't link to/include Carbon on Mac OS X. 2011-01-25 12:45:44 +01:00
Vitaliy Margolen 02be0aee72 dinput: Fix typo. Found by clang. 2011-01-25 12:37:53 +01:00
Vitaliy Margolen 0ac5c60374 dinput: Combine ASCII and Unicode device create callbacks. Add tests. 2011-01-24 14:43:09 +01:00
Vitaliy Margolen 92ac7861f5 dinput: Combine ASCII and Unicode Direct Input Device QueryInterface. 2011-01-19 12:58:29 +01:00
Vitaliy Margolen 9441d898f7 dinput: Make newly created device append itself to Direct Input's list. 2011-01-19 12:58:01 +01:00
Vitaliy Margolen 6b30480021 dinput: COM cleanup - use interfaces instead of vtbl. Combine both Unicode and ASCII interfaces into the same classes. 2011-01-10 12:41:20 +01:00
Vitaliy Margolen e6a8aa67d0 dinput: Explicitly define ASCII and Unicode methods in joydev joystick. 2011-01-10 11:04:07 +01:00
Vitaliy Margolen d88cbac1c5 dinput: Explicitly define ASCII and Unicode methods in evdev joystick. 2011-01-10 11:04:01 +01:00
Vitaliy Margolen 6a07885029 dinput: Explicitly define ASCII and Unicode methods in joystick base class. Use new methods in child classes. 2011-01-10 11:03:49 +01:00
Vitaliy Margolen 30ab6c1749 dinput: Explicitly define ASCII and Unicode methods in mouse. 2011-01-10 11:03:40 +01:00
Vitaliy Margolen 9f9e376239 dinput: Explicitly define ASCII and Unicode methods in keyboard. 2011-01-10 11:03:34 +01:00
Vitaliy Margolen 0f24b9e86f dinput: Explicitly define ASCII and Unicode methods in DirectInputDevice base class. Make ASCII methods call Unicode. Use new methods in child classes. 2011-01-10 11:03:17 +01:00
Vitaliy Margolen 9594be7f79 dinput: Change internal check_dinput_hooks method to take W iface. 2011-01-10 11:02:16 +01:00
Vitaliy Margolen 399be3455a dinput: COM cleanup - use helper function instead of direct typecast in OS/X joystick. 2011-01-10 11:02:04 +01:00
Vitaliy Margolen f09ace0d83 dinput: COM cleanup - use helper function instead of direct typecast in linuxinput joystick. 2011-01-10 11:02:00 +01:00
Vitaliy Margolen a1b08e5d04 dinput: COM cleanup - use helper function instead of direct typecast in Linux joystick. 2011-01-10 11:01:55 +01:00
Vitaliy Margolen de4a9bb319 dinput: COM cleanup - use helper function instead of direct typecast in base joystick class. 2011-01-10 11:01:51 +01:00
Vitaliy Margolen 31c828ea27 dinput: COM cleanup - use helper function instead of direct typecast in keyboard. 2011-01-10 11:01:46 +01:00
Vitaliy Margolen 625fefca61 dinput: COM cleanup - use helper function instead of direct typecast in mouse. 2011-01-10 11:01:39 +01:00
Vitaliy Margolen fc023b96d2 dinput: COM cleanup - use helper function instead of direct typecast in base device class. 2011-01-10 10:58:36 +01:00
Vitaliy Margolen 0b99bf3edb dinput: COM cleanup - use proper interface instead of typecasting This when calling queue_event. 2011-01-10 10:58:26 +01:00
Vitaliy Margolen b66e00cb09 dinput: COM cleanup - return interface instead of typecasting This. 2011-01-10 10:58:19 +01:00
Vitaliy Margolen 15216098e0 dinput: COM cleanup - use proper DirectInput interface with IUknown calls. 2011-01-10 10:58:14 +01:00
Vitaliy Margolen 7b47282625 dinput: More COM cleanup for IDirectInput - use interfaces instead of typecasts. 2011-01-10 10:58:06 +01:00
Greg Geldorp 62670dc39e dinput/tests: Skip acquire tests when not running in the foreground.
If our window isn't the foreground window, we'll never be able to
successfully Acquire with SetCooperativeLevel DISCL_FOREGROUND in effect.
2011-01-06 18:29:14 +01:00
Vitaliy Margolen 7d650d0b28 dinput: Pass interface instead of this pointer to joystick poll callback. 2011-01-03 16:48:16 +01:00
Vitaliy Margolen 179b862738 dinput: Rename IDirectInputDevice2AImpl into IDirectInputDeviceImpl. 2011-01-03 16:46:41 +01:00
Vitaliy Margolen 0adc470854 dinput: COM cleanup - use interface instead of lpvtbl in joystick effects. 2011-01-03 16:46:25 +01:00
Vitaliy Margolen 2774d40463 dinput: Convert DirectInput to using interface instead of vtbl. 2010-12-29 10:48:32 +01:00
Alexandre Julliard f4d0d638e8 dinput: Convert dll registration to the IRegistrar mechanism. 2010-12-07 12:54:24 +01:00
Michael Stefaniuc 6d7d1b5850 dinput: Use an iface instead of a vtbl pointer in IClassFactoryImpl. 2010-12-05 16:43:09 +01:00
Zach Smith fa5f61f59d dinput: OSX joystick driver separate device for each top level HID collection. 2010-09-21 20:16:16 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Kovács András cde699b286 dinput: Return an error in IDirectInputDevice2AImpl_GetProperty(). 2010-09-16 10:11:08 -05:00
Andrew Talbot e6649952fa dinput: Constify some variables. 2010-08-31 14:23:47 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Michael Stefaniuc 127733ebda dinput: Remove explicit cast to long as it happens implicitly.
LPDIEFFECT->rglDirection is a LPLONG.
2010-05-18 18:42:09 +02:00
Detlef Riekenberg 5a195bda98 dinput: Add the riid for an unsupported interface to a FIXME. 2010-04-28 09:19:47 -05:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Michael Stefaniuc 2004db1bb1 dinput: Don't use HIWORD to check if a REFGUID is a DIPROP. 2010-02-02 11:47:20 +01:00
Paul Vriens ff4047a956 dinput: Don't check a parameter twice (Coccinelle). 2010-01-14 09:11:22 -06:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Francois Gouget c5b346440f dsound: Make id_to_offset() static. 2009-12-02 14:19:50 +01:00
Vitaliy Margolen 2665272d6c dinput: Pass event instance ID to queue_event instead of offset. 2009-11-30 12:49:11 +01:00