Bob Ziuchkovski
221708d64e
dinput: Ignore vendor-specific usage pages for joystick elements on Mac.
...
Signed-off-by: Bob Ziuchkovski <bob.ziuchkovski@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-09 21:34:50 +01:00
Bruno Jesus
f051de0d37
dinput: Return the correct error when CreateEffect is not supported.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:40:34 +09:00
David Lawrie
49bf4f7eb6
dinput: Sort virtual joysticks by name on the Mac.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-25 14:22:14 +09:00
David Lawrie
c543c603a5
dinput: Alter function name and code style.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:11 +09:00
David Lawrie
33c43473c0
dinput: Sort devices by location ID on the Mac.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:11 +09:00
David Lawrie
fef170af85
dinput: Print location ID in debugstr_device on the Mac.
...
Signed-off-by: David Lawrie <david.dljunk@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:10 +09:00
Michael Stefaniuc
48bf99ea89
dinput: Support IUnknown in the IDirectInputEffect COM object.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 21:07:17 +09:00
Ken Thomases
7367c68cc9
dinput: Add additional debug logging to Mac code.
2014-04-14 10:25:19 +02:00
Ken Thomases
180b9e63d9
dinput: Fix numerous leaks.
2014-04-14 10:25:04 +02:00
Ken Thomases
2d809218a9
dinput: Check array indexes to avoid exceeding array bounds.
2014-04-14 10:24:58 +02:00
Ken Thomases
ab872f2f36
dinput: Overhaul how the array of Mac device elements is built and sorted.
...
Use three separate arrays instead of one array with three sections that are
separately tracked. Use the Core Foundation sort function rather than
implementing a clumsy sort of our own.
2014-04-14 10:24:53 +02:00
Ken Thomases
bf938311a2
dinput: Use the proper mutable Core Foundation types for mutable collections and avoid casting.
2014-04-14 10:24:40 +02:00
Ken Thomases
4637b607b2
dinput: Fix check of wrong result value due to copy/paste error.
2014-04-14 10:24:26 +02:00
Ken Thomases
d053533444
dinput: Rename identifiers to get rid of Hungarian notation and deceptive names in Mac code.
2014-04-14 10:24:21 +02:00
Frédéric Delanoy
25f3356906
dinput: Use BOOL type where appropriate.
2013-10-04 12:46:26 +02:00
Andrew Eikum
51f97bb3f9
dinput: Support DIPROP_FFGAIN for OSX joysticks.
2013-05-24 11:01:45 +02:00
Andrew Eikum
0ba2a2f70b
dinput: Support DIPROP_AUTOCENTER for OSX joysticks.
2013-05-24 11:01:42 +02:00
Andrew Eikum
4ce1da041f
dinput: Report axes that support FF for OSX joysticks.
2013-05-24 11:01:40 +02:00
Andrew Eikum
1b0b0ab9a5
dinput: Support SendForceFeedbackCommand for OSX joysticks.
2013-05-24 11:01:36 +02:00
Andrew Eikum
5135f80a27
dinput: Debug print DIEFFECT structure.
2013-05-24 11:01:33 +02:00
Andrew Eikum
44a2d36f70
dinput: Translate OSX errors to win32 errors.
2013-05-24 11:01:28 +02:00
Andrew Eikum
3de75b1e95
dinput: Implement force feedback functions for OSX joysticks.
2013-05-21 12:09:25 +02:00
Andrew Eikum
e6450b4ea4
dinput: Determine if OSX devices support force feedback.
2013-05-21 12:09:22 +02:00
Andrew Eikum
0ba314ebfa
dinput: Enumerate devices past the first non-matching device.
2013-05-21 12:08:01 +02:00
Andrew Talbot
bf3d67c460
dinput: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL.
2011-11-14 15:25:21 +01:00
Frédéric Delanoy
f932abf326
dlls: Assorted spelling fixes.
2011-08-01 18:26:27 +02:00
Lucas Fialho Zawacki
dc044e156d
dinput: BuildActionMap and SetActionMap stubs for generic joystick.
2011-07-12 11:37:23 +02:00
Jonas Maebe
90d8608185
dinput: Hook up joysticks to DirectInput event queue on Mac OS X.
2011-06-17 11:09:00 +02: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
0ac5c60374
dinput: Combine ASCII and Unicode device create callbacks. Add tests.
2011-01-24 14:43:09 +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
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
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
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
15216098e0
dinput: COM cleanup - use proper DirectInput interface with IUknown calls.
2011-01-10 10:58: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
Zach Smith
fa5f61f59d
dinput: OSX joystick driver separate device for each top level HID collection.
2010-09-21 20:16:16 +02:00
Paul Vriens
ff4047a956
dinput: Don't check a parameter twice (Coccinelle).
2010-01-14 09:11:22 -06:00
Francois Gouget
14e03d770a
dinput: Add a trailing '\n' to ERR() messages.
2009-04-20 15:25:20 +02:00
Vitaliy Margolen
3223798d30
dinput: Make props array a part of the generic joystick struct.
...
It's much easier to free it on release.
2009-04-20 14:30:03 +02:00
Vitaliy Margolen
aee4237798
dinput: Remove redundant stuff.
2009-04-20 14:29:55 +02:00
Vitaliy Margolen
fc4f1607a6
dinput: Make EnumDevices and GetObjectInfo consistent about GUIDs.
...
guidInstance should be the same from both places.
2009-04-20 14:29:49 +02:00
Aric Stewart
79859cb3ac
dinput: OS/X joystick: Sort buttons based on usage as some controllers report the buttons out of order.
...
Makes the xbox 360 controller button mapping more logical.
2009-03-13 13:21:07 +01:00
Francois Gouget
40363a223c
dinput: Add a trailing '\n' to ERR() messages.
...
Also convert a 'smart' quote to a regular quote.
2009-03-12 14:29:56 +01:00
Aric Stewart
6bbec8e660
dinput: OS/X joystick: Check usage page to avoid odd non-button elements found on the 360 controller.
2009-03-12 13:09:53 +01:00
Alexandre Julliard
81f8c03712
configure: Check for IOHIDManagerCreate function that's missing on Tiger.
2009-03-11 16:49:55 +01:00
Aric Stewart
ae16df651f
dinput: Add OS/X sliders.
2009-03-11 13:03:34 +01:00
Aric Stewart
08388a3c9b
dinput: Map OS/X joystick axes so even if they come out of order on the device we recognize them correctly.
2009-03-11 13:03:34 +01:00
Aric Stewart
17daca7648
dinput: OS/X joystick add Rx,Ry,and Rz axes.
2009-03-11 13:03:34 +01:00