Commit Graph

307 Commits

Author SHA1 Message Date
18c27b7f10 Corrections to output packet changes 2019-01-09 05:41:20 -06:00
bc9a7c3e65 Change priority of output threads 2019-01-09 04:24:29 -06:00
cceaa31404 Send output packet at least once every 4 seconds
Best attempt at resolving issue #399.
2019-01-09 03:45:39 -06:00
853b1ac650 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-01-02 21:45:41 +02:00
6156d66ffb Added comment noting Scuf Vantage entry 2018-12-26 23:38:37 -06:00
e570c1c89e Added info for Scuf Vantage gamepad
Related to issue #524
2018-12-26 23:33:38 -06:00
94d5f83db1 Added config options of sixaxis steering wheel emulation and calibration btn to config GUI form (Options). If controller is calibrated via this config screen then there is no need to define "calibrate" special action key. Improved >360 turn range calculation. Added possibility to map SA steering values to L2+R2 trigger axis (Z-axis). For example in ETS2/ATS game controller settings it is possible to use that axis for steering if triggers are not used for throttling and braking (this would leave all axis of L and R thumbstick available for other purposes). 2018-12-07 00:09:09 +02:00
1eed418022 Added support for 180/360/720/900/1440 turn range (or any other turn range between 90-3240 degrees). New SASteeringWheelEmulationRange profile option with int32 value (default 360). 2018-12-04 00:50:37 +02:00
09c74e9979 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-19 11:40:53 +02:00
c2edbdf946 Increased timeout for tracking second instance exclusive mode workaround 2018-11-17 18:47:13 -06:00
a933eae0a9 New "360 degree gyro steering wheel emulation" functionality. This works best if the DS4 controller is mounted on a "DoItYourself steering wheel rig" (ie. controller attached at a tip of a plastic or wooden pipe which acts as a "steering shaft". This way the controller turns around like a steering wheel and gyro sensor values are more consistent).
At this point there is no GUI to enable this, so you should edit a profile XML file (fex default.xml profile) with Notepad and add <SASteeringWheelEmulationAxis>LXPos</SASteeringWheelEmulationAxis> entry.
Accepted values are None, LXPos, LYPos, RXPos, RYPos) which indicates which X360 axis is used for steering wheel values (ie. gyro tilt converted as steering wheel turning range values). The normal behaviour of this axis should be set as "unmapped" to avoid conflicting values. If steering wheel axis is LX then LY axis is still available for other purposes.
2018-11-17 01:41:21 +02:00
dedb1c9ad9 Manually calculate device latency average 2018-11-16 05:24:47 -06:00
db859fb4db Changed test rumble check to remove implicit data coercion 2018-11-11 04:56:10 -06:00
6db6315d72 Added extra calibration check. Might be useful in some cases where people have reported crashes. 2018-11-05 04:49:23 -06:00
49d24fce7d Testing new output report copying thread for USB and SONYWA 2018-10-26 20:58:43 -05:00
e3ed777682 Removed unnecessary array copy for USB and SONYWA connections 2018-10-26 01:37:51 -05:00
32605524ff Added flag to allow skipping a lock when applicable 2018-10-25 02:51:50 -05:00
ce78793dea Removed old unused field 2018-10-25 01:37:26 -05:00
60a0f3fda0 Fixed device event queueing 2018-10-15 03:01:13 -05:00
af4425763d Added some optimizations 2018-10-11 03:38:52 -05:00
1019499612 Resolve name collision with Log class and Diagnostics namespace
Makes app snappier
2018-09-29 04:42:22 -05:00
13005458f1 Increase timeout for exclusive attempt process 2018-09-18 03:39:59 -05:00
ac360c426d Fixed issue with SONYWA connections having invalid calibration data 2018-08-20 13:14:34 -05:00
6f5b17ac37 Remove ui thread from unplug routine
Hotplug routine was starting before removal routine
was being started. No blocking was happening anyway
2018-08-20 04:35:41 -05:00
5a4ed6c440 Merge branch 'jay' into udpserver 2018-07-23 00:06:16 -05:00
a6e6b5279c Added unsafe back to sixaxis method 2018-07-22 02:52:42 -05:00
d1f124870f Revert "Use unsafe for accessing gyro and accel arrays"
This reverts commit e99e0afe17.
2018-07-22 01:23:16 -05:00
e6ac109616 Revert "Removed extra fixed block. Moved method call"
This reverts commit f906178b5b.
2018-07-22 01:22:42 -05:00
5c9aec9bd1 Revert "Lower latency buffer to 10 items"
This reverts commit 11c7f03244.
2018-07-22 01:22:13 -05:00
11c7f03244 Lower latency buffer to 10 items 2018-07-21 00:55:16 -05:00
f906178b5b Removed extra fixed block. Moved method call 2018-07-20 05:05:20 -05:00
e99e0afe17 Use unsafe for accessing gyro and accel arrays 2018-07-20 04:52:45 -05:00
239b9bceba Merge branch 'jay' into udpserver 2018-07-17 23:53:14 -05:00
f44cc21688 Minor tweak 2018-07-10 01:18:27 -05:00
1171a56a6b Make sure calib routine can be skipped on update serial routine
Might not be needed
2018-07-10 00:57:55 -05:00
cfa2bea4be Minor tweak for skipping calibration that .NET likes better
Related to issue #330.
2018-07-10 00:46:25 -05:00
8d4c7d0c57 Merge branch 'jay' into udpserver 2018-06-24 21:04:20 -05:00
3ae386cb7c Add support for the Nacon Revolution Pro Controller 2 & disable SixAxis calibrations for Nacon controllers as a preliminary fix for broken support. 2018-06-23 22:04:29 +01:00
8989333cdc Add device info for a generic DS4 gamepad
Related to issue #312
2018-06-10 17:25:53 -05:00
25b2adc8e5 Corrected stick angles and stick dir unit values 2018-06-05 16:12:11 -05:00
a855e67b1a Use rs angle used for RY 2018-06-05 15:46:33 -05:00
b596d82573 Merge branch 'jay' into udpserver 2018-06-04 14:08:57 -05:00
3d5909a0e4 Change lookup device name for DS4 v2 audio device 2018-05-29 23:51:06 -05:00
5cd84ecb5a Added some const 2018-05-28 15:06:48 -05:00
d3fafbb32a Fix issue with USB sending constant output reports. Only copy relevant output bytes for BT.
Related to issue #290.
2018-05-28 03:09:55 -05:00
f11095fb5e Merge branch 'jay' into udpserver 2018-05-24 14:40:15 -05:00
a6b9fb0f4e Re-added unneeded call.
.NET causes performance degradation without it
2018-05-07 01:59:11 -05:00
d4ba92b5db Merge branch 'jay' of https://github.com/jdfeng/DS4Windows into jdfeng-jay 2018-05-07 00:06:05 -05:00
2f526fa60d Remove unneeded call 2018-05-06 21:31:18 -05:00
d925452ed8 Initial commit with UdpServer change 2018-05-06 02:10:49 -05:00