Commit Graph

167 Commits

Author SHA1 Message Date
Travis Nickles
21d65e01e9 Added reference check while unplugging virtual device 2020-04-05 15:22:08 -05:00
Travis Nickles
0cb8a2b3d5 Temporarily establish main lightbar color after turning off lag flashing
Needed for passthru mode
2020-03-31 19:49:11 -05:00
Travis Nickles
71ceae1e0c Added extra delay for ViGEm stop 2020-03-29 22:11:42 -05:00
Travis Nickles
1fd423b663 Store force feedback delegate and unsubscribe before virtual controller disconnect
Should not be necessary but do it as a pre-caution
2020-03-29 17:20:24 -05:00
Travis Nickles
24f030aba5 Change check for remapping execution. Take some Gyro mode settings into account 2020-03-28 15:49:32 -05:00
Travis Nickles
b614366ec7 Comment out lightbar color changing from virtual DS4
Seemed to contribute to infinite rumble for some people
but can't verify anything on my end
2020-03-25 20:20:51 -05:00
Travis Nickles
0717ba1212 Use warning flag when logging some caught exceptions 2020-03-25 18:12:03 -05:00
Travis Nickles
40c0a58ab1 Change how abort clause is handled for unhandled input thread exceptions 2020-03-24 17:06:42 -05:00
Travis Nickles
653b7424ee Added DS4 feedback event workaround for lightbar color 2020-02-22 18:40:14 -06:00
Travis Nickles
b24c72f559 Minor tweak to remove unneeded string 2020-02-13 17:18:56 -06:00
Travis Nickles
20962895b0 Move elevation code to ControlService class 2020-02-13 17:01:14 -06:00
Travis Nickles
b1872cee6a Late launch HidGuardHelper 2020-01-25 21:22:18 -06:00
Travis Nickles
c02e6c89dc Add minor log notice about HidGuardian 2020-01-25 21:02:37 -06:00
Travis Nickles
aa2ff36490 Removed unneeded X360Data instances 2020-01-25 20:48:38 -06:00
Travis Nickles
7e68a29330 Removed some old commented code 2020-01-25 20:43:56 -06:00
Travis Nickles
164fbd5154 Save config upon controller unplug
Used to assist with persisting linked profile setting
2020-01-16 07:15:18 -06:00
Travis Nickles
3074bc1b6e Load Linked Profiles
Related to issue #1039
2020-01-13 20:42:58 -06:00
Travis Nickles
4c4a6f5ba6 Added Stop and Start menu item to tray icon. Fixed ambiguity of temp thread objects in ControlService. 2019-12-27 14:25:17 -06:00
Travis Nickles
c4cdade076 Added Quick Charge back in 2019-12-20 20:08:27 -06:00
Travis Nickles
906946a7ea Import DS4WindowsWPF code 2019-12-18 15:33:23 -06:00
Travis Nickles
21518134fc Added output slot manager. Added plug and unplug delay of 100 ms for output devices.
Related to issue #879
2019-12-11 09:58:31 -06:00
Travis Nickles
424b456175 Unify output device plugging and unplugging 2019-12-02 15:04:23 -06:00
Travis Nickles
8a6aae2b42 Added extra log message when ViGEmBus is not detected 2019-11-27 14:10:44 -06:00
Travis Nickles
1bf4642c09 Change hotplug routine in sync handler 2019-10-25 02:08:48 -05:00
Travis Nickles
a871e750ee Added new field array for specifying active controller types
Related to issue #871
2019-10-25 01:48:56 -05:00
Travis Nickles
e89c8b6c3a Added identifier name to meta info
Related to issue #816
2019-09-07 08:29:25 -05:00
Travis Nickles
114b07699a Create CRC table in ControlService 2019-09-06 09:41:55 -05:00
mika-n
f59dce057a UseDInputOnly mode supports VJoy output axis of steering wheel emulation mode. VJoy output works even without virtual xbox360 or dualshock4 devices. 2019-07-27 23:34:38 +03:00
Travis Nickles
1c869647ab Use pre-allocated buffer in UDP server 2019-07-02 02:06:32 -05:00
mika-n
5767a1866d UPD listen host address or IP number option in UDP server settings. By default UDP server listens onlhy 127.0.0.1 loopback interface, so connections work only within a host computer. This new UDPServerListenAddress option allows to use specific IP or 0.0.0.0 (=all interfaces) as listen address to enable remote UDP connections. 2019-05-27 01:07:17 +03:00
Travis Nickles
d227e087d9 Retrieve ViGEMBus driver version string 2019-05-12 00:33:43 -05:00
Travis Nickles
8797892103 Finally add a note about Visual C++ 2017 in app 2019-04-29 01:30:08 -05:00
Travis Nickles
9ffe0daa78 Merge branch 'jay' into ds4emulate 2019-04-24 03:19:58 -05:00
Travis Nickles
62258a3711 Link delegates to class instance rather than linking to interface
A decent boost
2019-04-24 03:19:06 -05:00
Travis Nickles
8a6c05bce7 Added device type strings to output devices 2019-04-23 21:53:41 -05:00
Travis Nickles
ab8dbd29f9 Merge branch 'jay' into ds4emulate 2019-04-23 21:07:19 -05:00
mika-n
456145cf8e Fixed a bug described in #664 issue where gyro mouse doesn't get correct properties (for example toggle option) right after Startup or Hotplug LoadProfile calls. The mouse object was created after LoadProfile function even when LoadProfile function tries to set few properties of that mouse object. 2019-04-23 12:32:12 +03:00
Travis Nickles
1b58265c28 Added profile setting for controller type 2019-04-18 01:12:10 -05:00
Travis Nickles
dc5e34f1be Test DS4 emulation 2019-04-17 21:29:16 -05:00
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