Bruno Jesus
8339de07ca
dinput: Simplify JoystickWImpl_Unacquire for Linux.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:05:40 +01:00
Bruno Jesus
27f456844b
dinput: DISFFC_RESET will not release the effects.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:05:36 +01:00
Bruno Jesus
2d2d833248
dinput: Downgrade a FIXME to WARN in JoystickWImpl_SendForceFeedbackCommand.
...
All valid commands are already there, anything else is an app bug.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:05:28 +01:00
Bruno Jesus
6bb2c4cded
dinput: Skip events that are not useful currently.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 11:14:38 +01:00
Bruno Jesus
6b44c4f5cc
dinput: Get the controller type from the device instance for Linux drivers.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:40:58 +09: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
Bruno Jesus
30ae735425
dinput: Properly fill the HID information for the controller in the event driver.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 12:00:33 +09:00
Bruno Jesus
dd7b65730d
dinput: Implement GetDeviceInfo(A) using the W version in the event driver.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 12:00:31 +09:00
Corentin Rossignon
081930e70b
dinput: Fix product GUID generation in Linux joystick and event API.
...
Signed-off-by: Corentin Rossignon <corossig@gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-25 14:28:37 +09:00
Charles Davis
4dba8a4e27
dinput: Don't define a debug channel when it isn't used.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
André Hentschel
c440168e53
dinput: Remove unused functions (Clang).
2014-11-25 19:49:40 +01:00
Andrew Eikum
46cb582a71
dinput: Fix logging typos.
2013-12-12 12:07:08 +01:00
Austin English
bfafb1ffc5
dinput: Consistently use GetCurrentTime().
2013-12-11 16:26:01 +01:00
Frédéric Delanoy
84fb23f476
dinput: Use BOOL type where appropriate.
2013-11-08 12:46:21 +01:00
Frédéric Delanoy
25f3356906
dinput: Use BOOL type where appropriate.
2013-10-04 12:46:26 +02:00
André Hentschel
c5e9479b85
dinput: Don't use autoheader styled define.
2013-06-18 12:57:44 +02:00
Andrew Eikum
0ba314ebfa
dinput: Enumerate devices past the first non-matching device.
2013-05-21 12:08:01 +02:00
Lucas Zawacki
45a19b0c9b
dinput: Initialize all axis (from 0 to ABS_MAX) with -1.
2013-03-25 16:24:30 +01:00
Michael Stefaniuc
ab542a92d5
dinput: Use assignment instead of memcpy to copy a struct.
2013-01-24 15:38:46 +01:00
Marcus Meissner
e10a658c0c
dinput: Added some missing free/close in disabled case (Coverity).
2012-09-03 15:49:39 +02:00
Lucas Zawacki
3da6f1754e
dinput: Disable linuxinput or linux joysticks based on registry key.
2012-08-24 11:19:38 +02:00
Lucas Zawacki
8bfb125617
dinput: Append driver name to dinput joysticks on Linux.
2012-08-24 11:16:53 +02:00
Lucas Zawacki
2cd3b908ad
dinput: Implement GetProperty for JOYSTICKID (LinuxInput driver).
2012-05-30 11:31:55 +02:00
Francois Gouget
c7cb3e6cb2
configure: Use errno.h instead of the non-standard sys/errno.h header.
2011-12-15 17:46:38 +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
Vitaliy Margolen
20aa341032
dinput: Implement getting DIPROP_VIDPID property for evdev joystick driver. Fixes bug 26418.
2011-04-14 17:37:23 +02:00
Vitaliy Margolen
670d54a637
dinput: Ignore EV_MSC events instead of printing fixme.
2011-02-02 12:24:14 +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
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
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
f09ace0d83
dinput: COM cleanup - use helper function instead of direct typecast in linuxinput joystick.
2011-01-10 11:02:00 +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
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
Michael Stefaniuc
2004db1bb1
dinput: Don't use HIWORD to check if a REFGUID is a DIPROP.
2010-02-02 11:47:20 +01:00
Vitaliy Margolen
2665272d6c
dinput: Pass event instance ID to queue_event instead of offset.
2009-11-30 12:49:11 +01:00
Vitaliy Margolen
8c279bb80b
dinput: Fix POV for programs that use buffered events.
2009-09-11 12:14:25 +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
83172ecc82
dinput: Fix evdev POV mapping.
2009-08-19 12:26:15 +02:00
Vitaliy Margolen
2941cc72e5
dinput: Set default joystick axes mapping for evdev.
2009-08-19 12:25:36 +02:00
Vitaliy Margolen
fa9c11dad3
dinput: Let driver specify default axis mapping.
2009-08-19 12:25:27 +02:00
Vitaliy Margolen
167457efc1
dinput: Evdev joystick driver - add ability to remap axis.
2009-08-19 12:25:18 +02:00
Vitaliy Margolen
3622b2d926
dinput: Rename device axes to direct input axes mapping array to dev_axes_to_di.
2009-08-19 12:25:05 +02:00
Vitaliy Margolen
542b17943f
dinput: Use more friendly name for the joystick than its device path.
2009-04-20 14:30:23 +02:00
Vitaliy Margolen
649c762f52
dinput: Convert evdev joystick to new base class.
2009-04-20 14:30:11 +02:00
Aric Stewart
36f538eb91
dinput: Remove easy redundancy from linuxinput.
2009-03-10 14:40:03 +01:00