Commit Graph

1246 Commits

Author SHA1 Message Date
Travis Nickles
372f9aa612 Changed Debug builds to target C# 7.3
Change made since a C# 7.3 feature is now used
2019-04-16 18:53:56 -05:00
Travis Nickles
28bc7a85b1 Use ref locals to curb array access for KB+M routines
Ref local reassignment is used as well. C# 7.3 is now
the minimum required version of C# that can be used as a
target.
2019-04-16 16:37:11 -05:00
Travis Nickles
db74ea04da Added PS4 Fun Controller support 2019-04-16 15:56:51 -05:00
Travis Nickles
480c93be0f Use wrapper method for MapVirtualKey for scan code option
Related to issue #655
2019-04-13 11:58:40 -05:00
Travis Nickles
8cab1f94b2 Tweak sensitivity axis scaling to reach max values
Related to issue #654
2019-04-11 18:01:06 -05:00
mika-n
88e3e0e3a2 Allow saving and editing loadProfile special action without unload trigger definition (ie. don't crash when editing specAction without unload trigger and allow saving an empty list of unload trigger keys for loadProfile action type). 2019-04-07 16:01:41 +03:00
mika-n
1e82db0f9e Allow LoadProfile action key to be used without unload trigger in a loadProfile special action definition and without temp profile lockdown. This way loadProfile special actions can be linked to load unlimited number of profiles without unloading (=untrigger) the current temp profile first. 2019-04-07 14:33:42 +03: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
21eb9770c7 Version 1.7.3 2019-04-04 02:20:12 -05:00
Travis Nickles
76b301e063 Updated newest file 2019-04-04 02:19:56 -05:00
Travis Nickles
04b091b7e4 Updated runtime library option for DLL files 2019-04-04 00:29:20 -05:00
Travis Nickles
4ec3cd1162 Minor string change 2019-04-03 20:58:32 -05: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
d9873a7232 Added X360 related enums 2019-04-03 17:35:10 -05:00
Travis Nickles
aff365b28f Updated code to use newer ViGEm.NET client 2019-04-03 16:47:03 -05:00
Travis Nickles
839f03d538 Change to use method rather than property 2019-04-02 01:01:04 -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
592a0245b7 Skip updater execution if new version could not be downloaded
Related to issue #638
2019-03-30 08:08:21 -05:00
Travis Nickles
0d957b0bfa Added null check for method.
Should help prevent crashing on a quick connect and disconnect caused by a
bad USB cable
2019-03-25 21:38:08 -05:00
Travis Nickles
ee21cba66a Version 1.7.2 2019-03-23 01:49:44 -05:00
Travis Nickles
a6bfd6f568 Updated newest file 2019-03-23 01:49:26 -05:00
Travis Nickles
59161a5b62 Make sure to remove event handler when finished 2019-03-23 01:44:03 -05:00
Travis Nickles
83628f8849 Update some color picker options toupdate lightbar with preview 2019-03-23 01:27:05 -05:00
Travis Nickles
19854a00cf Removed set rumble to zero call for touchpad button up event
Related to issue #615
2019-03-22 16:39:44 -05:00
Travis Nickles
2c4ce7d672 Corrected force feedback motor values on SONYWA sync change 2019-03-22 15:13:18 -05:00
Travis Nickles
87d8ae0c1d Version 1.7.1 2019-03-22 02:57:57 -05:00
Travis Nickles
e0ba47bcb0 Updated newest file 2019-03-22 02:57:40 -05:00
Travis Nickles
ffb46157bb Revert hotplug delay change 2019-03-22 00:14:42 -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
be61f368f3 Version 1.7.0 2019-03-20 17:13:21 -05:00
Travis Nickles
1f56c6ceda Updated newest file 2019-03-20 17:13:04 -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
575f157420 Changed method name to specify ViGEmBus 2019-03-19 01:33:41 -05:00
Travis Nickles
1c671e694f Changed branding in some old messages 2019-03-19 01:30:54 -05:00
Travis Nickles
fb73c19574 Changed Welcome dialog to account for ViGEmBus installer program 2019-03-19 00:47:26 -05:00
Travis Nickles
94eff31290 Added ViGEm.NET libraries using native arch targets 2019-03-19 00:01:19 -05:00
Travis Nickles
be0b3c3a58 Merge branch 'jay' into vigem-udpserver 2019-03-18 22:07:42 -05:00
Travis Nickles
d6f9cecd3f Put hotplug delay back in but in a later spot 2019-03-18 21:03:02 -05:00
Travis Nickles
d6a935b74c Merge branch 'jay' into vigem-udpserver 2019-03-18 16:24:20 -05:00
Travis Nickles
956e691780 Removed extra hotplug delay
Apparently not needed since version 1.5.12 with the hotplug
event change. BT works fine in Windows 7.
2019-03-18 16:23:19 -05:00
Travis Nickles
22e212999d Merge branch 'jay' into vigem-udpserver 2019-03-17 21:18:59 -05:00
Travis Nickles
df96a91269 Version 1.6.14 2019-03-17 20:32:01 -05:00
Travis Nickles
42a6f935ad Updated newest file 2019-03-17 20:31:46 -05:00
Travis Nickles
248aebae00 Replaced message in another location 2019-03-17 14:46:39 -05:00
Travis Nickles
6564ff125a Changed driver message in Welcome dialog.
The old message was confusing and led to the wrong impression
about the purpose of the driver
2019-03-17 14:44:32 -05:00
Travis Nickles
27a68196e4 Deprecate old mouse acceleration option. Make new default value false 2019-03-17 01:28:16 -05:00
Travis Nickles
b536ca3a83 Fixed SonyWA disconnect on Windows 7
Was broken since 1.6.4 with change to sending
output packets
2019-03-13 18:41:10 -05:00
Travis Nickles
489a36be00 Merge branch 'jay' into vigem-udpserver 2019-03-12 18:55:35 -05:00
Travis Nickles
a7192d2fbf Force Normal IO and Page Priority
More useful when run as Task but it seems to help normal
runs as well. Related to issue #487.
2019-03-12 16:34:24 -05:00
Travis Nickles
54b6b2754a Change when delay takes place for hotplug routine 2019-03-12 16:03:08 -05:00
Travis Nickles
1c2690f020 Added extra note for BT Poll Rate message 2019-03-11 14:57:34 -05:00
Travis Nickles
695d9b3e31 Raise SocketAsyncEventArgs buffer for UDP server
Related to issue #602
2019-03-11 12:48:16 -05:00
Travis Nickles
76b31245f8 Default use controller for mapping option to false
This has probably caused issues for other people
2019-03-11 11:54:55 -05:00
Travis Nickles
604d419cb9 Have x86 build target C# 7.3
Missed updating this before
2019-03-10 09:44:34 -05:00
Travis Nickles
0ea8cef46e Merge branch 'jay' into vigem-udpserver 2019-03-10 09:33:00 -05:00
Travis Nickles
b922ba8c7b Version 1.6.13 2019-03-09 11:01:18 -06:00
Travis Nickles
c5f1de1b5c Update newest file 2019-03-09 11:01:05 -06:00
Travis Nickles
3bd0e44dc5 Removed unneeded device check 2019-03-08 17:09:36 -06:00
Travis Nickles
f1a10fb5ec Allow flash at to work at 0% battery
Related to issue #599
2019-03-08 14:29:58 -06:00
Travis Nickles
8f3ce714a2 Removed unwanted boxing for AdvancedColorDialog 2019-03-07 13:35:13 -06:00
Travis Nickles
45485bb44d Added color dialog instance back since VS removed it
Related to issue #599
2019-03-07 13:14:43 -06: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
72802bb5c6 Small message change 2019-03-06 09:55:35 -06:00
Travis Nickles
923f487f39 Added dead check to skip some processes 2019-03-06 02:11: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
098bbf057d Made a note about UWP apps causing exclusive mode problems 2019-03-05 03:34:15 -06:00
Travis Nickles
1dbf9abb02 Implemented square stick functionality
Related to issue #341.
2019-03-04 17:21:58 -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
a4d7372e7b Do not reset custom led setting while switching profiles
Related to issue #596
2019-03-02 05:42:49 -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
231b418d4c Merge branch 'jay' of https://github.com/mika-n/DS4Windows into mika-n-jay 2019-02-27 01:48:27 -06:00
Travis Nickles
d7d593c997 Use implicit extra dead zones for special actions 2019-02-26 04:13:13 -06:00
mika-n
9cbd4d8a42 Updated Finnish resources.fi.resx translation (added missing translations). 2019-02-25 13:35:22 +02:00
mika-n
7026f8b1c4 SASteeringWheelEmulation: Improved deadzone handling (smooth range instead of just dead gap clipping). Fixed a bug in >360 turn range calculations. Small performance improvements. 2019-02-25 13:29:05 +02:00
mika-n
0ae7c77b61 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-02-25 12:05:51 +02:00
Travis Nickles
306a7ad3d0 Version 1.6.12 2019-02-25 01:34:07 -06:00
Travis Nickles
0434ba3eb7 Updated newest file 2019-02-25 01:33:57 -06:00
Travis Nickles
61f7893d06 Update the updater version number 2019-02-25 01:24:54 -06:00
Travis Nickles
68f8232441 Removed more boxing 2019-02-24 17:11:52 -06:00
mika-n
0da70eaf06 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-02-24 23:40:56 +02: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
mika-n
7f0ebb955d Updated missing Finnish translations in ResourcesFI file and changed few resource strings public just like other resources are (few items were accidentally private) 2019-02-24 21:05:24 +02:00
mika-n
668ecafe6c Check synchronized state of controller before trying to load calibation values (SonyWA connected devices could be in non-sync state without a valid controller MAC address) 2019-02-24 00:27:48 +02:00
Travis Nickles
afea15f38f Output report len is constant
No need to pull from property every poll
2019-02-22 01:51:54 -06:00
Travis Nickles
abad91ca2a Changed class name to remove VS name violation warning 2019-02-22 01:50:50 -06:00
mika-n
a3c51c8688 merge 2019-02-20 08:39:55 +02:00
mika-n
e70aa452e3 removed unnecessary using System.Draw reference. 2019-02-19 15:29:33 +02:00
mika-n
48bd457d66 merge 2019-02-19 15:19:45 +02:00
mika-n
4b0134faf9 merge 2019-02-19 15:19:10 +02:00
mika-n
7da6b3434a Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-02-19 15:09:00 +02:00
mika-n
8d087b01ff merge conflicts with base branch 2019-02-19 15:00:17 +02:00
Travis Nickles
a8c722d604 Replace old lock with ReaderWriterLockSlim instance 2019-02-19 04:24:52 -06:00
Travis Nickles
f828eb888c Use struct reference rather than copy 2019-02-19 03:16:42 -06:00
mika-n
27dbab06c5 Deadzone and anti-deadzone handling (the first rugged version, not perfect yet) and small performance improvements here and there. 2019-02-19 11:10:16 +02:00