Commit Graph

176 Commits

Author SHA1 Message Date
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
Aric Stewart e90e7e5b77 dinput: Move joystick mapping functions to the generic part. 2009-03-10 14:39:23 +01:00
Vincent Pelletier befb0a06b1 dinput: Move gain support from effect to device. 2009-02-02 15:21:44 +01:00
Vincent Pelletier 5a24b42b30 dinput: Implement auto-center set & get. 2009-01-23 13:44:33 +01:00
Vincent Pelletier 41be1096c0 dinput: On Unacquire, stop all effects and unload them. 2009-01-22 15:28:23 +01:00
Vincent Pelletier 0ea7dc15f8 dinput: Move WARN where it belongs. 2009-01-19 14:46:24 +01:00
Alexandre Julliard fffcd23cce dinput: Fix pointer cast warnings on 64-bit. 2009-01-05 12:39:44 +01:00
Vitaliy Margolen 8b09a8eb9d dinput: Fix remaining formatting of the find_joydevs(). 2008-12-29 11:47:06 +01:00
Vitaliy Margolen a610cfb64c dinput: Fix usage of HeapReAlloc. 2008-12-29 11:46:56 +01:00
Vitaliy Margolen 7915569511 dinput: Replace perror with more appropriate ERR and WARN. 2008-12-27 20:24:12 +01:00