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 |
Vitaliy Margolen
|
a179f491fd
|
dinput: Warn if failed to open device.
|
2008-12-27 20:23:57 +01:00 |
Vitaliy Margolen
|
e0152e85e9
|
dinput: snprintf zero-terminates string no need to do it explicitly.
|
2008-12-27 20:23:41 +01:00 |
Vitaliy Margolen
|
ae26ca6c28
|
dinput: Make find_joydevs re-entrant.
|
2008-12-27 20:23:22 +01:00 |
Andrew Talbot
|
c1d5dfe84b
|
dinput: Sign-compare warnings fix.
|
2008-09-30 10:57:23 -05:00 |
Vitaliy Margolen
|
5085d4cd35
|
dinput: Replace strdup with HeapAlloc.
|
2008-09-15 13:22:28 +02:00 |
Vitaliy Margolen
|
aa0188cd6f
|
dinput: Zero the out buffer.
|
2008-07-28 12:16:34 +02:00 |
Vitaliy Margolen
|
a0abf988ac
|
dinput: Implement saturation property for evdev joystick driver.
|
2008-07-28 11:32:16 +02:00 |
Vitaliy Margolen
|
ba1a7ba62a
|
dinput: Set force feedback actuator flag for X and Y axes.
Programs looking for this flag to verify if FF is present. And on which axes.
|
2008-07-07 12:11:24 +02:00 |
Vitaliy Margolen
|
a478c4fe25
|
dinput: Freed effect should remove itself from the parent's list of effects. Add tests.
|
2008-07-07 12:11:24 +02:00 |
Vitaliy Margolen
|
aa3694d8ac
|
dinput: Use Wine list for effects list.
|
2008-07-07 12:11:24 +02:00 |
Vitaliy Margolen
|
85e2aa1d8a
|
dinput: Add more traces. Prevent some traces from dereferencing NULL pointer.
|
2008-07-07 12:11:24 +02:00 |
Vitaliy Margolen
|
f2bdd8d96c
|
dinput: Clamp joystick position values to min-max range.
|
2008-05-13 20:25:56 +02:00 |
Vitaliy Margolen
|
3ba6f864f4
|
dinput: Don't use dead-zone from the device.
|
2008-04-14 12:40:22 +02:00 |
Vitaliy Margolen
|
e67c1cbf69
|
dinput: Joysticks are not supported for DX v3.
|
2008-04-14 12:40:22 +02:00 |
Vitaliy Margolen
|
b9801bba31
|
dinput: Assign button GUID to joystick buttons.
|
2008-04-14 12:40:22 +02:00 |
Rob Shearman
|
376be08a7c
|
dinput: Include fcntl.h instead of sys/fcntl.h since they are equivalent and the former is more portable.
|
2008-02-28 10:50:57 +01:00 |
Peter Dons Tychsen
|
53f64a09cf
|
dinput: Silence incorrect warning and move it to a valid place.
|
2008-01-07 14:25:19 +01:00 |
Vitaliy Margolen
|
1ed3a815ed
|
dinput: Fix dead zone handling.
|
2007-11-26 12:27:39 +01:00 |
Vitaliy Margolen
|
ba2e3f57d2
|
dinput: Add stub for DIPROP_AUTOCENTER property.
|
2007-11-05 14:46:30 +01:00 |
Vitaliy Margolen
|
7123d5a0a3
|
dinput: Implement GetDeviceInfo for evdev joystick.
|
2007-09-25 11:55:32 +02:00 |
Vitaliy Margolen
|
ac3668a057
|
dinput: Make default dead zone configurable.
|
2007-09-25 11:55:26 +02:00 |
Vitaliy Margolen
|
fc0298429a
|
dinput: Fix compile with old input.h that missing input_absinfo.
|
2007-08-21 21:39:10 +02:00 |
Vitaliy Margolen
|
81fc89fa6d
|
dinput: Check acquired flag instead of fd.
|
2007-08-20 22:32:53 +02:00 |
Vitaliy Margolen
|
3cd13628aa
|
dinput: Use correct data structure for EVIOCGABS instead of an array.
|
2007-08-20 22:32:51 +02:00 |
Vitaliy Margolen
|
ca8a0a8aaa
|
dinput: Remove redundant declaration.
|
2007-08-20 22:32:45 +02:00 |
Vitaliy Margolen
|
f47c63a1f9
|
dinput: Don't try to create non existing device.
|
2007-08-20 22:32:40 +02:00 |
Vitaliy Margolen
|
51fac7f28a
|
dinput: Fix dead zone calculation.
Based on patch by Artur Szymiec.
|
2007-08-14 20:29:21 +02:00 |
Peter Dons Tychsen
|
2cea950e99
|
dinput: Allow the use of the standard Joystick GUID when calling CreateDevice.
|
2007-08-08 15:32:04 +02:00 |
Vitaliy Margolen
|
b06786940c
|
dinput: Reuse common code and definition.
Unify object properties structure and he common axis mapping function
for both joystick drivers.
|
2007-08-06 14:02:41 +02:00 |
Vitaliy Margolen
|
19183e71d4
|
dinput: Fix POV calculation.
Combine and simplify the POV calculations. Linux provides X,Y for the POV.
While DirectInput returns dial-degrees*1000 (12 o-click is 0 degrees).
|
2007-08-06 14:02:26 +02:00 |
Vitaliy Margolen
|
1fdc0230f0
|
dinput: Fix handling of dead-zone in evdev joystick.
USB joysticks can and do provide dead-zone area. Use it to initialize
the initial dead-zone.
|
2007-08-06 14:02:02 +02:00 |
Vitaliy Margolen
|
9e36848303
|
dinput: Fix mapping of axes ids to property ids.
|
2007-08-06 14:01:54 +02:00 |
Vitaliy Margolen
|
fb1082ae73
|
dinput: Combine all Release functionality into base class.
|
2007-06-28 12:16:11 +02:00 |
Vitaliy Margolen
|
d2966c2dfb
|
dinput: Move parent dinput reference into base class.
|
2007-06-28 12:16:11 +02:00 |
Vitaliy Margolen
|
6a8bf96d73
|
dinput: Make sure to unacquire device before freeing it.
|
2007-06-04 13:10:04 +02:00 |
Jan Zerebecki
|
52a630a3a8
|
dinput: Add DebugInfo to critical sections.
|
2007-03-08 22:21:43 +01:00 |
Vitaliy Margolen
|
a06821765a
|
dinput: Don't reset dead zone and saturation when setting data format.
Additional tests indicate that native doesn't touch previously set
properties.
|
2007-02-06 20:23:28 +01:00 |
Vitaliy Margolen
|
b8b03b54b7
|
dinput: Initialize user limits with the default 0..65535 range. Add tests.
|
2007-02-05 14:03:20 +01:00 |
Vitaliy Margolen
|
575ede974d
|
dinput: Return user set limits not the device limits.
|
2007-02-05 14:03:07 +01:00 |
Vitaliy Margolen
|
15e0ccab9b
|
dinput: Don't close fd before we done with it.
|
2007-02-05 14:02:46 +01:00 |
Alexandre Julliard
|
4ae5b9fd33
|
dinput: Undefine SW_MAX to avoid possible conflicts with winuser.h.
|
2007-01-22 12:11:04 +01:00 |
Christoph Frick
|
a6947bde23
|
dinput: Calc more caps infos ahead and store it in JoystickImpl.
|
2007-01-18 12:09:32 +01:00 |
Christoph Frick
|
ffdea40f2c
|
dinput: No longer check for value exceeding have(min|max) in map_axis.
|
2007-01-17 11:41:52 +01:00 |
Christoph Frick
|
f0b45141c2
|
dinput: Add a config for the axes.
|
2007-01-17 11:41:07 +01:00 |
Christoph Frick
|
0855a6be4c
|
dinput: Move the config for the buttons from the JoyDev into the JoystickImpl.
|
2007-01-17 11:40:52 +01:00 |
Christoph Frick
|
424d302115
|
dinput: Use a struct ObjProps for the config of the device.
|
2007-01-17 11:40:42 +01:00 |
Christoph Frick
|
22a6983a96
|
dinput: Rename 'axe' to 'axis'.
|
2007-01-17 11:40:29 +01:00 |
Vitaliy Margolen
|
dbd2112eee
|
dinput: Internal data format is not const anymore.
|
2007-01-11 11:49:12 +01:00 |
Vitaliy Margolen
|
3d093256ca
|
dinput: [joystick_linuxinput] Use correct offset to queue events.
|
2007-01-11 11:48:49 +01:00 |
Vitaliy Margolen
|
d81e17d5c0
|
dinput: [joystick_linuxinput] Rewrite GetObjectInfo and EnumObjects on top of base class.
|
2007-01-11 11:48:40 +01:00 |
Vitaliy Margolen
|
bfa64b98ed
|
dinput: [joystick_linuxinput] Copy and modify default data format.
|
2007-01-11 11:48:22 +01:00 |
Vitaliy Margolen
|
cd306046bb
|
dinput: Pass complete DataFormat structure to find_property.
|
2007-01-10 12:23:28 +01:00 |
Vitaliy Margolen
|
ce5fb9bb29
|
dinput: AddRef and Release parent DirectInput class.
|
2006-12-24 13:07:15 +01:00 |
Christoph Frick
|
b0eb9d0b89
|
dinput: Set the correct size for the old dinput joystick.
This also reverts my previous patch as this is the real cause for the
problems with Grand Prix Legends.
|
2006-12-20 17:40:17 +01:00 |
Vitaliy Margolen
|
350c66fec2
|
dinput: Zero out returned information struct.
|
2006-12-18 12:00:43 +01:00 |
Vitaliy Margolen
|
6246fa62f9
|
dinput: Remove redundant parameter.
|
2006-12-12 20:24:10 +01:00 |
Vitaliy Margolen
|
1d314d54ba
|
dinput: Move joystick user data format into base class.
|
2006-12-12 20:23:37 +01:00 |
Vitaliy Margolen
|
cd050bf25c
|
dinput: Move transform and offsets structures into base device class.
|
2006-12-12 20:22:44 +01:00 |
Vitaliy Margolen
|
68176eeda1
|
dinput: Move few helper functions and standardize them.
|
2006-12-11 16:17:46 +01:00 |
Vitaliy Margolen
|
267cbf8289
|
dinput: Move internal function calculate_ids to where it's really used.
|
2006-12-11 16:17:40 +01:00 |
Vitaliy Margolen
|
c17e06d5c0
|
dinput: No need to copy default constant format. Use already defined static instead.
|
2006-12-11 16:17:13 +01:00 |
Christoph Frick
|
71f41e5d02
|
dinput: Utilize IDirectInputDevice2AImpl_Acquire/Unacquire.
|
2006-12-11 13:51:13 +01:00 |
Christoph Frick
|
f37f598daf
|
dinput: Ensure that the size of the dev caps pointer is large enough - no exact.
|
2006-12-11 13:51:00 +01:00 |
Christoph Frick
|
ba1ef69a41
|
dinput: Silently ignore DIPROP_CALIBRATIONMODE.
|
2006-12-11 13:50:37 +01:00 |
Vitaliy Margolen
|
aa7eed9394
|
dinput: Move joystick event queue into base device class.
|
2006-12-05 11:32:55 +01:00 |
Vitaliy Margolen
|
0da0486cc3
|
dinput: Move critical section to the base device class.
|
2006-12-04 12:33:47 +01:00 |
Christoph Frick
|
53620bc77b
|
dinput: Simplify the code that finds the offset of the given linux event.
|
2006-11-24 12:56:50 +01:00 |
Mike McCormack
|
53baea13a5
|
dinput: Use HeapAlloc/Free instead of alloc/free.
|
2006-11-10 11:35:23 +01:00 |
Francois Gouget
|
30e44c85c8
|
Assorted spelling fixes.
|
2006-11-07 15:25:24 +01:00 |
Damjan Jovanovic
|
b56953f49d
|
dinput: Changed select to poll.
|
2006-11-06 12:29:12 +01:00 |
Francois Gouget
|
1f67fa0acf
|
Add '\n's to Wine traces.
|
2006-10-20 14:10:34 +02:00 |
Vitaliy Margolen
|
af34ef12ba
|
dinput: Move SetEventNotification and associated event into base class.
|
2006-10-17 12:36:00 +02:00 |
Vitaliy Margolen
|
7d838d9e6f
|
dinput: Use dinput device as a base class for keyboard, mouse and joystick.
|
2006-10-17 12:35:39 +02:00 |
Vitaliy Margolen
|
7123f3e80e
|
dinput: Win64 printf format warning fixes.
|
2006-10-09 12:53:41 +02:00 |
Kovács András
|
71924d7da6
|
dinput: joydev_enum_deviceA now returns the correct value.
|
2006-07-20 12:10:55 +02:00 |
Christoph Frick
|
2460b4576b
|
dinput: map_axis must be able to work with LONG's value range.
|
2006-07-07 17:04:03 +02:00 |
Christoph Frick
|
97fed19afc
|
dinput: Remove redundant struct members.
|
2006-07-07 17:02:33 +02:00 |
Christoph Frick
|
3083b0a6c7
|
dinput: Implement the GetProperty call for getting the range of an axis.
|
2006-07-07 17:02:11 +02:00 |
Christoph Frick
|
141a267957
|
dinput: Call fake_current_js_state on the places where it is actually needed in SetProperty.
|
2006-07-07 17:01:59 +02:00 |