Commit Graph

128 Commits

Author SHA1 Message Date
mika-n
746587ebbd Brute force timer fix to the "stuck rumble motor" bug in ViGem virtual gamepad driver. This rumble autostop timer should be removed when a signed ViGem driver has a fix to this issue. Existing autostop timer is 2 secs, so this assumes that game keeps on updating a rumble values at least once in 2 secs. If rumble-0 event is lost or game doesn't send a new rumble value within 2 secs then rumble motor is automagically stopped (=assumed it is stuck). Usually games keep on sending rumble values as long an effect needs it, so this autostop timer works reasonable good in most games. 2019-04-06 15:04:21 +03:00
Travis Nickles
cba6a09f68 Disable force feedback for now.
Related to issue #616
2019-04-03 20:39:30 -05:00
Travis Nickles
2e62bad0f6 Revert to older ViGEm client API 2019-04-03 18:12:21 -05:00
Travis Nickles
aff365b28f Updated code to use newer ViGEm.NET client 2019-04-03 16:47:03 -05:00
Travis Nickles
79a90b828c Use runtime option for toggling touchpad.
Related to issue #637.
2019-04-02 00:54:29 -05:00
Travis Nickles
2c4ce7d672 Corrected force feedback motor values on SONYWA sync change 2019-03-22 15:13:18 -05:00
Travis Nickles
36a8382fdd Use SetDevRumble to avoid array checks 2019-03-21 20:56:49 -05:00
Travis Nickles
9614727566 Add feedback received handler before connecting virtual controller 2019-03-21 20:32:17 -05:00
Travis Nickles
d434834d3d Corrected force feedback motor values
Fixes issue #621
2019-03-21 20:25:35 -05:00
Travis Nickles
3e08da9705 Removed old ScpVBus related classes 2019-03-19 02:32:49 -05:00
Travis Nickles
acfd268397 Migrate 360 steering wheel code to use ViGEmBus 2019-03-19 02:18:50 -05:00
Travis Nickles
5a6859556c Removed old xinput ports setting
No longer relevant with ViGEmBus
2019-03-19 01:52:18 -05:00
Travis Nickles
1c671e694f Changed branding in some old messages 2019-03-19 01:30:54 -05:00
Travis Nickles
0ea8cef46e Merge branch 'jay' into vigem-udpserver 2019-03-10 09:33:00 -05:00
Travis Nickles
ef01b4d3b3 Altered controller readings to better represent mapped state
Related to issue #587.
2019-03-07 01:06:55 -06:00
Travis Nickles
8d4d4b0758 Fixed auto profile use for hotplugging
Related to issue #578
2019-03-05 05:14:39 -06:00
Travis Nickles
6533585a07 Make sure to stop USB controller while suspending
Related to issue #595
2019-03-03 19:27:57 -06:00
Travis Nickles
425b1dd47a Change haptic changing routine to skip always searching for existing device 2019-03-03 00:35:17 -06:00
Travis Nickles
c575b3b525 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2019-02-28 04:24:03 -06:00
Travis Nickles
2497ced5d5 Change main report routine to use custom delegate.
Remove the need to box and unbox data every gamepad poll.
Seems to help with performance.
2019-02-24 15:03:12 -06:00
Travis Nickles
a9e7a3cb5b More enumerator usage 2019-02-16 02:50:53 -06:00
Travis Nickles
ff870230a6 Implemented user defined gyro mouse dead zone
Related to issue #338.
2019-01-31 10:59:00 -06:00
Travis Nickles
bdea569582 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2019-01-26 21:34:43 -06:00
Travis Nickles
bf3f10d0ae Apply proposed changes for HG v.1 support 2019-01-18 15:38:13 -06:00
Travis Nickles
619cbbf53a Merge branch 'jay' into vigem-udpserver 2019-01-11 16:08:19 -06:00
Travis Nickles
8be9e66f22 Change priority of bus thread.
Lower priority seems better
2018-12-22 16:41:36 -06:00
Travis Nickles
b0797f4fcc Merge branch 'jay' into vigem-udpserver 2018-12-12 20:37:13 -06:00
Travis Nickles
397814c244 Fixed typo 2018-12-05 17:57:01 -06:00
Travis Nickles
38faadfcd2 Added comment about intent 2018-12-05 13:59:57 -06:00
Travis Nickles
ea3787eef2 Change udp port opening routine for some scenarios
Experimental
2018-12-05 05:16:54 -06:00
Travis Nickles
d1d9354f1c Merge branch 'jay' into vigem-udpserver 2018-12-01 00:59:32 -06:00
Travis Nickles
81d08099a7 Make sure to enforce actual wait time 2018-12-01 00:58:50 -06:00
Travis Nickles
26bbfdbf98 Remove unneeded udp start call 2018-11-30 22:00:13 -06:00
Travis Nickles
dac9d1ba52 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-11-30 14:51:55 -06:00
Travis Nickles
1fafd0d375 Removed a couple unused methods 2018-11-06 03:11:16 -06:00
Travis Nickles
ccdfd8cfe5 Purge HidGuardian utilities 2018-11-06 02:47:31 -06:00
Travis Nickles
99a1342a51 Merge branch 'jay' into vigem-udpserver 2018-11-01 16:28:56 -05:00
Travis Nickles
4c1ef2b63c Don't persist current blank state. Method should probably be renamed
Related to issue #474
2018-11-01 14:11:53 -05:00
Travis Nickles
d449f1df7f Merge branch 'jay' into vigem-udpserver 2018-10-08 05:52:57 -05:00
Travis Nickles
5efe6b556e Fixed issue with useDInput variable not being in correct state 2018-10-08 05:51:27 -05:00
Travis Nickles
1215d32ae5 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2018-10-03 16:38:20 -05:00
Travis Nickles
3bbdbe3a0f Attempt to reset KB+M controls after unplugging controller
Related to issue #438.
2018-10-01 19:18:52 -05:00
Travis Nickles
1019499612 Resolve name collision with Log class and Diagnostics namespace
Makes app snappier
2018-09-29 04:42:22 -05:00
Travis Nickles
77af92e722 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-24 17:38:00 -05:00
Travis Nickles
0896f044e8 Fixed problem with unplugging controllers causing cross thread problems 2018-08-24 17:35:57 -05:00
Travis Nickles
d0a60155ec Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-24 15:27:36 -05:00
Travis Nickles
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
Travis Nickles
1bc5da2c6d Merge branch 'jay' into vigem-udpserver 2018-08-08 03:55:32 -05:00
Travis Nickles
a86d8deb4a Some minor tweaks and fixes 2018-08-08 03:54:19 -05:00
Travis Nickles
561ba5c813 Use newer extension ViGEm method 2018-08-06 21:50:00 -05:00