Commit Graph

23 Commits

Author SHA1 Message Date
Alexey Prokhin 16a11d0c90 dinput: Return fake DIPROP_GUIDANDPATH property for linux joysticks.
Some Ubisoft titles use the property to check if a dinput gamepad is
also an xinput device.

Signed-off-by: Alexey Prokhin <alexey@prokhin.ru>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 20:25:29 +02:00
Andrew Eikum 5135f80a27 dinput: Debug print DIEFFECT structure. 2013-05-24 11:01:33 +02:00
Lucas Zawacki 3da6f1754e dinput: Disable linuxinput or linux joysticks based on registry key. 2012-08-24 11:19:38 +02:00
Lucas Fialho Zawacki dc044e156d dinput: BuildActionMap and SetActionMap stubs for generic joystick. 2011-07-12 11:37:23 +02:00
Marcus Meissner a19e31efd9 dinput: Mark internal symbols with hidden visibility. 2011-05-18 10:58:25 +02: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 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
Andrew Talbot e6649952fa dinput: Constify some variables. 2010-08-31 14:23:47 +02:00
Vitaliy Margolen 9d86110327 dinput: Convert axis mapping array to int instead of BYTE. BYTE is unsigned and char isn't enough to store all possible axis values. 2009-09-08 13:07:09 +02:00
Vitaliy Margolen fa9c11dad3 dinput: Let driver specify default axis mapping. 2009-08-19 12:25:27 +02:00
Vitaliy Margolen 083d6e8474 dinput: Move setup_dinput_options into common place. 2009-08-19 12:24:52 +02:00
Vitaliy Margolen 1362d15060 dinput: Move axes count into base joystick class. 2009-08-19 12:24:39 +02:00
Vitaliy Margolen 5347ab427a dinput: Move axes mapping array and default dead-zone into generic joystick class. 2009-08-19 12:24:26 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +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 5dbe136027 dinput: Create generic joystick Acquire/Unacquire. 2009-03-10 14:40:19 +01:00
Aric Stewart e90e7e5b77 dinput: Move joystick mapping functions to the generic part. 2009-03-10 14:39:23 +01:00
Aric Stewart 94a5e0978d dinput: Move joystick Polling and Device State to the generic part. 2009-03-10 14:39:03 +01:00
Aric Stewart cbd34748e9 dinput: Move joystick productGuid and Name to the generic part. 2009-03-10 14:38:29 +01:00
Aric Stewart 620839d24e dinput: Begin joystick separation into a generic module. 2009-03-10 14:38:00 +01:00