Commit Graph

1777 Commits

Author SHA1 Message Date
Imre Kristoffer Eilertsen
ee842b2098
Create SaveWhere.nb.resx 2019-06-02 17:39:03 +02:00
Imre Kristoffer Eilertsen
9655675401
Create SpecActions.nb.resx 2019-06-02 17:35:57 +02:00
Imre Kristoffer Eilertsen
331e5939ea
Create WelcomeDialog.nb.resx 2019-06-02 17:29:51 +02:00
Imre Kristoffer Eilertsen
6785524941
Norwegian Bokmål translation, part 1/? 2019-06-02 17:21:23 +02:00
Travis Nickles
c7b45b7dcc Use leave event rather than text changed event 2019-05-30 17:52:25 -05:00
mika-n
c64ebc6c9f Support for Warrior Joypad JS083 gamepad. See issue #713 for more details. 2019-05-28 21:58:40 +03:00
mika-n
93bd802dc1 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-05-28 12:24:44 +03:00
Travis Nickles
aa3d907b2a Monitor process rather than search for process name 2019-05-28 00:50:50 -05:00
Travis Nickles
60c137138d Minor window title parse tweak
Change to monitor process id later
2019-05-28 00:26:27 -05:00
mika-n
444a75a938 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-05-27 11:21:27 +03:00
Travis Nickles
ea39a8a755 Version 1.7.9 2019-05-27 02:58:31 -05:00
Travis Nickles
86e4714b08 Updated newest file 2019-05-27 02:58:14 -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
ba9bdf8b42 Merge branch 'jay' of https://github.com/carloshbcabral/DS4Windows into carloshbcabral-jay 2019-05-19 20:12:25 -05:00
Travis Nickles
b29626330d Merge branch 'jay' of https://github.com/mika-n/DS4Windows into mika-n-jay 2019-05-19 19:58:41 -05:00
Travis Nickles
db5c08722b Added hovertext message for touchpad toggle 2019-05-19 19:54:11 -05:00
mika-n
fb0ba669df Support for Razer Raiju Ultimate (USB wired connection only at the moment). #689. VID/PID provided by Neodraon and Voovoodoo.
Support for CronusMax PS4OutputMode. #702. VID/PID provided by Aidolii.
2019-05-17 16:00:03 +03:00
Travis Nickles
fa38d4e315 Updated Welcome Dialog to usee ViGEm Installer 1.6.115 2019-05-16 22:02:03 -05:00
Travis Nickles
d227e087d9 Retrieve ViGEMBus driver version string 2019-05-12 00:33:43 -05:00
mika-n
02f66981a7 Steering wheel emulation for the new dualshock4 controller option. Fine tuned anti-deadzone calculation for DS4 output controller. 2019-05-09 23:21:31 +03:00
mika-n
8a561d1cde Steering wheel emulation for the new dualshock4 controller output option. 2019-05-09 21:32:29 +03:00
Travis Nickles
3d89b3786b Close connection to ViGEmBus before opening Driver Setup window 2019-05-08 01:11:36 -05:00
CarlosCabral
63e09ebbb8 🖼 Optimized Images Part II - The Mission 2019-05-07 20:33:53 -03:00
CarlosCabral
01ac5e3584 🖼 Optimized Images 2019-05-07 19:48:28 -03:00
FuriaESP
f06dedb8c1
Merge pull request #1 from Ryochan7/jay
Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay
2019-05-04 13:10:30 +02:00
Travis Nickles
92e51ebe53 Version 1.7.8 2019-05-04 01:53:13 -05:00
Travis Nickles
d62d605920 Update newest file 2019-05-04 01:52:39 -05:00
FuriaESP
6b6cc53c64 Replace and add new icons 2019-05-04 00:54:15 +02:00
Travis Nickles
e0b1b273fc Minor tweak 2019-05-03 17:50:06 -05:00
Travis Nickles
b73f706ec2 Enforce default X360 in more places
Related to issue #683
2019-05-02 20:18:59 -05:00
Travis Nickles
f01c86deee Move Forms to seperate namespace 2019-04-30 14:29:50 -05:00
Travis Nickles
78dcbe666c Added Razer Raiju Tournament Edition support
Related to issue #580
2019-04-29 22:17:15 -05:00
Travis Nickles
f4c05533fc Migrate status of TouchButton
Related to issue #670
2019-04-29 21:26:24 -05:00
Travis Nickles
20c05d45b6 Version 1.7.7 2019-04-29 02:30:43 -05:00
Travis Nickles
2a0338ac7e Updated newest file 2019-04-29 02:30:22 -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
90045f7f50 Fixed Up-Left DPad direction for DS4 output device 2019-04-28 22:05:54 -05:00
Travis Nickles
7ff7fb10d1 Version 1.7.6 2019-04-27 02:51:54 -05:00
Travis Nickles
fd0a3107b3 Updated newest file 2019-04-27 02:51:34 -05:00
Travis Nickles
f9f72b1f4a Added hover text for output controller option 2019-04-25 21:21:24 -05:00
Travis Nickles
544a284ec3 Updated ViGEmClient library to use notification queue for DS4 target 2019-04-24 16:20:29 -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
49165a4bac Change another unplug message 2019-04-24 01:36:36 -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
Travis Nickles
5da3db4b2a Merge branch 'jay' of https://github.com/mika-n/DS4Windows into mika-n-jay 2019-04-23 20:43:39 -05:00
Travis Nickles
206e1649cf Merge branch 'jay' into ds4emulate 2019-04-23 14:44:17 -05:00
Travis Nickles
0cce1db3a9 Reset some gyro mouse flags as a safeguard when changing toggle 2019-04-23 14:43:45 -05:00
mika-n
b09e5c277e Added "Unload on regular trigger release" checkbox option to "SpecialAction.Profiles" edit panel. This option can be used to automatically unload a profile (ie. goes back to previous profile) when a regular trigger key is released. 2019-04-23 14:54:04 +03: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
mika-n
4f87d24ee3 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-04-23 10:43:14 +03:00
mika-n
c168dabded ActionLoadProfile: Support for automatically untriggered (=unloaded) profiles when a regular action keys are released. LoadProfile special action has a new "automatically unload when a regular trigger released" option. This is sort of like "shift modifier for the whole profile" functionality. 2019-04-23 03:39:44 +03:00
Travis Nickles
27fc7f07a2 Merge branch 'jay' into ds4emulate 2019-04-22 18:54:15 -05:00
Travis Nickles
ee5ff50e79 Changed ViGEm Bus Driver check
Related to issue #667
2019-04-22 18:51:21 -05:00
Travis Nickles
ec1e03a52c Merge branch 'jay' into ds4emulate 2019-04-22 17:28:50 -05:00
Travis Nickles
38e6b0e2e1 Link to newer ViGEmBus installer 2019-04-22 17:26:51 -05:00
Travis Nickles
d59cc370db Merge branch 'jay' into ds4emulate 2019-04-21 22:49:43 -05:00
Travis Nickles
5ae0c1ea5c Check for newer ViGEmBus device 2019-04-21 21:40:29 -05:00
Travis Nickles
19b2112b54 Fixed botched merge conflict 2019-04-21 02:24:36 -05:00
Travis Nickles
6c72566e36 Merge branch 'jay' into ds4emulate
# Conflicts:
#	DS4Windows/DS4Forms/Options.resx
2019-04-21 02:07:28 -05:00
Travis Nickles
e0513f3f06 Removed extra config loading section
Should not be needed in WinProgs. Config will be
loaded by this point
2019-04-21 01:54:56 -05:00
Travis Nickles
61a35ce328 Merge branch 'customSteamFolder' of https://github.com/Sander0542/DS4Windows into Sander0542-customSteamFolder 2019-04-21 01:10:02 -05:00
Travis Nickles
d59a11f36a Raised sixaxis dead zones. Updated TODO file 2019-04-21 00:13:09 -05:00
Sander Jochems
342bbc4f0c
Use the saved folder (WinProgs.cs) 2019-04-20 17:47:29 +02:00
Sander Jochems
ceb2319084
Add Property Logic (DS4Form.cs) 2019-04-20 17:47:08 +02:00
Sander Jochems
cffc167be6
Create two new properties (ScpUtil.cs) 2019-04-20 17:46:45 +02:00
Sander Jochems
b583275b6b
Add two elements to DS4Form.resx 2019-04-20 17:46:16 +02:00
Sander Jochems
f01bc65ce1
Make the steam consts public (WinProgs.cs) 2019-04-20 17:42:09 +02:00
Travis Nickles
9c25413e73 Merge branch 'jay' into ds4emulate 2019-04-20 00:53:13 -05:00
Travis Nickles
7e086e5e88 Version 1.7.5 2019-04-20 00:39:16 -05:00
Travis Nickles
54d1ad7b0b Updated newest file 2019-04-20 00:39:02 -05:00
Travis Nickles
c3435ff2e4 Fixed force feedback notification queue for ViGEmClient library 2019-04-19 23:28:34 -05:00
Travis Nickles
b23ffcda76 Merge branch 'jay' into ds4emulate 2019-04-19 06:17:31 -05:00
Travis Nickles
5caf3f0245 Version 1.7.4 2019-04-19 05:51:20 -05:00
Travis Nickles
77533c060a Updated newest file 2019-04-19 05:51:03 -05:00
Travis Nickles
bb45ce69d4 Updated ViGEmClient libraries 2019-04-19 04:27:58 -05:00
Travis Nickles
fb013baf72 Added Patreon and SubsribeStar as tipping options 2019-04-19 04:10:29 -05:00
Travis Nickles
0b345b8474 Update action string aliases in the GUI 2019-04-18 22:56:18 -05: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
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
Travis Nickles
d609453f12 Now target .NET Framework 4.6.2
Seems to work better than version 4.6.1 on my system
2019-02-18 18:33:36 -06:00
Travis Nickles
7f94a33e97 Version 1.6.11 2019-02-17 02:04:37 -06:00
Travis Nickles
9baceec656 Update newest text file 2019-02-17 02:04:03 -06:00
Travis Nickles
40278c9d1b Use enumerator for settings iteration 2019-02-16 15:49:36 -06:00
Travis Nickles
a9e7a3cb5b More enumerator usage 2019-02-16 02:50:53 -06:00
Travis Nickles
3417c08a87 Get rid of more ElementAt usage
Old code is commented out as a reference
2019-02-16 02:41:13 -06:00
Travis Nickles
61a5ab07ea Use enumeartor for KeyCollection as well 2019-02-16 02:25:54 -06:00
Travis Nickles
cd6742cf56 Found faster way to iterate over a ValueCollection 2019-02-16 02:16:56 -06:00
Travis Nickles
50109282f4 Added unchecked region 2019-02-15 21:58:00 -06:00
Travis Nickles
5b19dc76cd Re-added extra default axis mapping pass
Related to issue #579
2019-02-15 18:04:09 -06:00
Travis Nickles
688bc01916 Target C# 7.3 2019-02-12 18:33:42 -06:00
Travis Nickles
6098c91e29 Use ref for more color struct routines 2019-02-12 01:31:18 -06:00
Travis Nickles
ce0ac67dcd Remove some struct copying from lightbar routine 2019-02-11 23:51:26 -06:00
Travis Nickles
42b75c717a Added unchecked blocks for populating field mapping arrays
Seems to help a lot
2019-02-09 21:33:58 -06:00
Travis Nickles
244bdae7f3 Version 1.6.10 2019-02-09 11:36:56 -06:00
Travis Nickles
43b9f9e0c4 Updated newest text file 2019-02-09 11:36:39 -06:00
Travis Nickles
7631080d87 Add const variables to skip type casting 2019-02-09 11:30:06 -06:00
Travis Nickles
fc40e00846 Only take active binding into account for multiple binds. Fixes ATS profile. 2019-02-09 11:06:31 -06:00
Travis Nickles
49c7ee35cf Make remapping to xinput actions a two pass process again
Related to issue #570
2019-02-08 21:04:08 -06:00
Travis Nickles
34e3db6cea Undo last commit. Extra dispose call is not necessary 2019-02-08 16:56:38 -06:00
Travis Nickles
7818e88b72 Added dispose call when closing Options form 2019-02-08 11:26:42 -06:00
Travis Nickles
1f0c144d42 Version 1.6.9 2019-02-08 08:14:14 -06:00
Travis Nickles
925d2584c0 Updated newest.txt file 2019-02-08 08:14:01 -06:00
Travis Nickles
e64c7f0455 Fixed double tap interval issue with Multi-Action Button special action
Related to issue #556
2019-02-07 22:56:07 -06:00
Travis Nickles
8c6cfa4c13 Fixed another action getter 2019-02-07 21:00:36 -06:00
Travis Nickles
3dd88e481c Fixed issue with xinput unplug routine on device removal
Related to issue #554
2019-02-07 16:40:24 -06:00
Travis Nickles
255fc8f8fc Minor fix for update check when offline
Related to issue #568
2019-02-07 11:52:28 -06:00
Travis Nickles
ce87d8c212 Added toggle option for Gyro Mouse activation
Not sure about this feature tbh. Related to issue #464.
2019-02-06 21:42:34 -06:00
Travis Nickles
09103dcea8 Use input field mapping instead of output field mapping for refactor 2019-02-01 05:08:53 -06:00
Travis Nickles
dd96beafbe Purged old state mapping code that required dictionary object 2019-01-31 16:19:08 -06:00
Travis Nickles
6eb5ddf589 Increase minimum size of Options form 2019-01-31 11:48:01 -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
4a7e233bd1 Fixed bad refactor
Fixes issue #561.
2019-01-31 00:50:37 -06:00
Travis Nickles
7a35ca19cb Fixed sixaxis easeout quad 2019-01-29 22:11:01 -06:00
Travis Nickles
70909bdaa9 Added easeout quad curve option for other axes 2019-01-29 21:50:29 -06:00
Travis Nickles
63f7dcfdce Added easeout quad curves for LS and RS 2019-01-29 21:19:25 -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
e0138bdeba Version 1.6.8 2019-01-26 20:26:53 -06:00
Travis Nickles
25991b22c6 Update newest text file 2019-01-26 20:26:41 -06:00
Travis Nickles
3fd9c4c612 Merge branch 'jay' into hidguardpropexe 2019-01-25 10:00:53 -06:00
Travis Nickles
385c3f9b76 Implement FILE_ATTRIBUTE_TEMPORARY use when opening DS4 device 2019-01-25 06:12:12 -06:00
Travis Nickles
0d89170d9c Minor tweaks 2019-01-24 06:20:55 -06:00
Travis Nickles
1a6327ecdc Tweaked a couple of axis midpoint methods. Removed unused method. 2019-01-24 04:54:40 -06:00
Travis Nickles
1f9cf16397 Minor control search optimization 2019-01-24 03:38:21 -06:00
Travis Nickles
719d6a0482 Merge branch 'jay' into vigem-udpserver 2019-01-22 18:05:25 -06:00
Travis Nickles
dc403100f1 Changed another portion to use 128 as stick axis midpoint 2019-01-22 18:04:54 -06:00
Travis Nickles
bf3f10d0ae Apply proposed changes for HG v.1 support 2019-01-18 15:38:13 -06:00
Travis Nickles
ce0fb4f4a8 Merge branch 'jay' into vigem-udpserver 2019-01-18 02:40:42 -06:00
Travis Nickles
8f25e4b630 Version 1.6.7 2019-01-18 02:11:22 -06:00
Travis Nickles
d79e368c6a Updated newest version file 2019-01-18 02:11:09 -06:00
Travis Nickles
190dc5e75c Remove old call for low latency garbage collection 2019-01-17 03:26:19 -06:00
Travis Nickles
920d85cd9f Merge branch 'jay' into vigem-udpserver 2019-01-16 15:11:07 -06:00
Travis Nickles
19c81b8f68 Use base class type for main form ref 2019-01-16 14:12:28 -06:00
Travis Nickles
ec71282ce3 Changed DS4Color to use IEquatable interface
Allows for faster Equals method than the previous
implementation
2019-01-16 05:07:19 -06:00
Travis Nickles
df1ec44f1c Fixed volume updating when sending timeout output reports 2019-01-16 04:08:51 -06:00
Travis Nickles
f37ac07a22 Merge branch 'jay' into vigem-udpserver 2019-01-13 19:02:22 -06:00
Travis Nickles
5ec6bcb11a Increased mouse stick offset value
Increasing it seems viable now
2019-01-13 15:06:26 -06:00
Travis Nickles
a8a55b46dc Start using 128 as proper axis midpoint. Changed some mapping routines.
Helps with mouse cursor in Civ 4
2019-01-13 13:32:38 -06:00
mika-n
13607ebc7c Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-01-13 21:26:50 +02:00
mika-n
abadfb137b Fine tuning vJoy output feeder 2019-01-13 21:25:42 +02:00
Travis Nickles
ccfc74e2fa Version 1.6.6 2019-01-12 16:39:06 -06:00
Travis Nickles
b2eac326b4 Updated newest version file 2019-01-12 16:38:51 -06:00
Travis Nickles
619cbbf53a Merge branch 'jay' into vigem-udpserver 2019-01-11 16:08:19 -06:00
Travis Nickles
2fe34afe2f More removal of old haptic related items 2019-01-10 19:07:49 -06:00
Travis Nickles
f887f334df Remove some unused fields and methods 2019-01-10 18:37:39 -06:00
Travis Nickles
2c471e6eff Change how haptic state changes happen 2019-01-10 18:15:14 -06:00
Travis Nickles
fee5c42fe6 Version 1.6.5 2019-01-10 02:02:36 -06:00
Travis Nickles
beeaa62f69 Updated newest version file 2019-01-10 02:02:22 -06:00
Travis Nickles
eb45a6c06c Minor tweak 2019-01-09 23:57:22 -06:00
Travis Nickles
a253daa95d Minimize influence of stopwatch 2019-01-09 19:30:05 -06:00
Travis Nickles
8556b6ffdb Version 1.6.4 2019-01-09 15:25:10 -06:00
Travis Nickles
e057f30f3b Updated newest version file 2019-01-09 15:24:53 -06:00
Travis Nickles
18c27b7f10 Corrections to output packet changes 2019-01-09 05:41:20 -06:00
Travis Nickles
bc9a7c3e65 Change priority of output threads 2019-01-09 04:24:29 -06:00
Travis Nickles
cceaa31404 Send output packet at least once every 4 seconds
Best attempt at resolving issue #399.
2019-01-09 03:45:39 -06:00
Travis Nickles
1a8548e5b9 Changed thread affinity of some timer objects 2019-01-07 22:01:43 -06:00
Travis Nickles
9dc23ebfc4 Added log notifications when using Load Profile special action
It now seems doable speed wise. Related to issue #540.
2019-01-07 19:35:30 -06:00
Travis Nickles
ac6116ea3d Change x64 download of updater to use base name again.
Related to issue #539.
2019-01-07 19:10:22 -06:00
Travis Nickles
6b8bb9300f Version 1.6.3 2019-01-05 04:23:46 -06:00
Travis Nickles
39583a253c Updated newest version file 2019-01-05 04:23:32 -06:00
Travis Nickles
858fe0a481 Fix power state flags. Make sure to invoke a call on main thread 2019-01-05 00:07:00 -06:00
Travis Nickles
56517e4751 Changed suspend detection routine to use WMI. Removed use of Microsoft.Win32 namespace. 2019-01-04 00:49:55 -06:00
mika-n
853b1ac650 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-01-02 21:45:41 +02:00
mika-n
5b49a8ed47 SA steering wheel emulation can now feed VJoy virtual joystick device (analog axies there). This leaves all original X360/DS4 analog axies for other purposes. Useful in games which support mapping controls to more than one controller (for example EurotruckSimulator/AmericalTruckSimulator). 2019-01-02 21:44:15 +02:00
Travis Nickles
4f92a57617 Version 1.6.2
GitHub download migration. Update copyright string
for the future current year
2018-12-31 13:09:28 -06:00
Travis Nickles
992b0941c5 Update version file 2018-12-31 13:00:55 -06:00
Travis Nickles
412d661454 Link to newer version of DS4Updater 2018-12-31 12:57:32 -06:00
Travis Nickles
795754b480 Delay running update check. Move Uri object 2018-12-29 01:20:33 -06:00
Travis Nickles
6ed165c29f Changed ScpVBus download URL 2018-12-29 00:27:36 -06:00
Travis Nickles
79bfb33bbd Change arch updater exe filename 2018-12-28 19:36:04 -06:00
Travis Nickles
481323c68d Change some URLs to https versions 2018-12-28 19:33:03 -06:00
Travis Nickles
d2324eabc5 Change download location of updater 2018-12-28 19:25:43 -06:00
Travis Nickles
eae1d47ba6 Changed remote URL for update file check 2018-12-28 19:02:56 -06:00
Travis Nickles
e1eae85302 Added newest.txt file to project directory 2018-12-28 19:00:30 -06:00
Travis Nickles
bb09eba9db Add newest.txt file generation to post-build step
Related to issue #531.
2018-12-28 17:51:45 -06:00
Jarno
19b440af97 Populate tooltip text on start
This adds version info to tooltip on app start, even if there are no controllers connected
2018-12-27 10:03:53 +01:00
Jarno
676ddea442 Shorten tooltip char limit code
Also removes unnecessary comments
2018-12-27 10:02:05 +01:00
Jarno
5d88d9f54a Change initial text 2018-12-27 10:00:04 +01:00
Travis Nickles
6156d66ffb Added comment noting Scuf Vantage entry 2018-12-26 23:38:37 -06:00
Travis Nickles
e570c1c89e Added info for Scuf Vantage gamepad
Related to issue #524
2018-12-26 23:33:38 -06:00
Travis Nickles
23a25bc504 Raised number of ticks possible for analog mouse wheel
Related to issue #518.
2018-12-26 22:27:01 -06:00
Travis Nickles
83dae66bac Use C# 7.2 for x86 build 2018-12-24 09:15:32 -06:00
Travis Nickles
2d9f3f424c Version 1.6.1 2018-12-24 09:07:14 -06:00
Travis Nickles
8ae68ed7cf Use SuppressUnmanagedCodeSecurity attr for InputMethods class 2018-12-23 19:53:52 -06:00
Travis Nickles
730cbbec29 Now target C# 7.2 2018-12-23 19:53:13 -06:00
Travis Nickles
c4db4d02fa Reference new updater version 2018-12-23 08:45:03 -06:00
mika-n
4678e14408 merge master branch 2018-12-23 13:14:22 +02:00
Travis Nickles
8be9e66f22 Change priority of bus thread.
Lower priority seems better
2018-12-22 16:41:36 -06:00
Travis Nickles
f642371e4d Version 1.6.0 2018-12-18 15:54:09 -06:00
Travis Nickles
a52008cb53 Version 1.5.20 2018-12-18 13:36:35 -06:00
Travis Nickles
accd6c01d6 Fixes invalid string compare. Just check if both strings are the same now 2018-12-17 21:19:18 -06:00
Travis Nickles
de60158262 Version 1.5.19 2018-12-15 12:31:07 -06:00
Travis Nickles
59dbee7c35 Use current enhanced precision settings for LS 2018-12-15 12:26:52 -06:00
Travis Nickles
1019790e25 Revert mouse stick offset 2018-12-14 05:40:20 -06:00
Travis Nickles
bd2a2fe4f0 Lowered mouse stick offset 2018-12-14 05:08:32 -06:00
Travis Nickles
d54f449b02 Experiment with new enhanced precision values 2018-12-14 03:54:26 -06:00
Travis Nickles
c2d26f30ce Make sure to not show main window if app should start minimized
Not a great fix. Related to issue #514.
2018-12-14 02:04:45 -06:00
Travis Nickles
4d5ff945d8 Make WebClient instance local 2018-12-14 01:45:05 -06:00
Travis Nickles
f6bb47451e Moved linked profiles loading further in init 2018-12-13 14:53:49 -06:00
Travis Nickles
f7da78090f Make sure to add timer stop when event is called
I know that I added the call at some point during testing
before.
2018-12-13 13:49:46 -06:00
Travis Nickles
b28a6cb446 Moved updating updater call 2018-12-13 05:55:38 -06:00
Travis Nickles
86fb3c2a0b Hook log routines later in init 2018-12-13 05:44:04 -06:00
Travis Nickles
b0797f4fcc Merge branch 'jay' into vigem-udpserver 2018-12-12 20:37:13 -06:00
Travis Nickles
957f01ee05 Loosen enhanced precision curve 2018-12-12 05:03:18 -06:00
Travis Nickles
461c7936c2 Raised enhanced precision curve 2018-12-12 03:19:41 -06:00
Travis Nickles
d5fa84c52c Raised enhanced precision curve 2018-12-11 22:34:23 -06:00
Travis Nickles
e1bb1ac042 Raised enhanced precision curve 2018-12-11 05:47:44 -06:00
Travis Nickles
8783f199aa Revert "Lowered enhanced precision curve"
This reverts commit a97af00948.
2018-12-11 02:27:57 -06:00
Travis Nickles
a97af00948 Lowered enhanced precision curve 2018-12-11 01:41:04 -06:00
Travis Nickles
bad54b3d4b Remove Settings class 2018-12-10 21:33:14 -06:00
Travis Nickles
899b816f81 Add Settings class 2018-12-10 18:45:27 -06:00
mika-n
5bd4906521 Fine tunes. synced with upstream changes 2018-12-10 20:29:49 +02:00
mika-n
f795e08f8a Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-12-10 20:25:59 +02:00
Travis Nickles
832bd64b5a Version 1.5.18 2018-12-09 12:59:20 -06:00
Travis Nickles
114dd055e1 Ignore warning 2018-12-09 04:23:48 -06:00
Travis Nickles
bc8e6ebd0e Remove component use for ScpVBus classes 2018-12-09 04:05:26 -06:00
Travis Nickles
7c2b653163 Loosened enhanced precision curves 2018-12-07 17:43:40 -06:00
mika-n
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
mika-n
4359bb082b Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-12-06 15:22:23 +02:00
Travis Nickles
003dbd627e Make slightly better window size saving routine
Related to issue #507
2018-12-06 05:26:44 -06:00
Travis Nickles
145ddb01ba Move Resize event handler use to later in main form init 2018-12-06 02:57:30 -06:00
Travis Nickles
323bde6513 Removed reference to unused assembly 2018-12-05 18:48:28 -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
63829a1eb9 Use local data for InputMethods method calls
Removes lots of locking when emulating KB+M
2018-12-05 06:12:05 -06:00
Travis Nickles
51f7aebb51 Removed unnecessary quote 2018-12-05 05:36:39 -06:00
Travis Nickles
ea3787eef2 Change udp port opening routine for some scenarios
Experimental
2018-12-05 05:16:54 -06:00
Travis Nickles
0f3d6e379a Changing access modifier of resource led to performance boost. Change exclusive mode warning string.
Related to issue #493.
2018-12-05 03:40:38 -06:00
Travis Nickles
391f0a8110 Changed project file. Updated ToolsVersion 2018-12-05 01:28:09 -06:00
mika-n
3ab55d102e Merge remote-tracking branch 'upstream/jay' into jay 2018-12-04 00:54:20 +02:00
mika-n
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
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
a06c331cd2 Version 1.5.17 2018-11-29 03:41:07 -06:00
Travis Nickles
c02230265c More changes to UDP 2018-11-27 04:38:41 -06:00
Travis Nickles
773a7a0423 Temporary change to UDP server
Don't want to lose these changes but more has to be done
2018-11-27 04:30:42 -06:00
Travis Nickles
84558f805f Make sure to create UDP server outside GUI if first enabled after program launch
More of an incremental change. Probably should remove async and await
2018-11-26 18:54:26 -06:00
mika-n
38458e4a2f Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-26 21:11:41 +02:00
Travis Nickles
532444de48 Found a way to make usage check work.
Related to issue #498.
2018-11-26 10:04:26 -06:00
Travis Nickles
5ef3fc76cf Version 1.5.16 2018-11-19 14:09:54 -06:00
Travis Nickles
67ab6f2692 Disable allowdrop setting for DS4Form 2018-11-19 06:49:20 -06:00
mika-n
1cb04d03ad Changed precision of angle values sent to x360 virtual controller from 1 degree to 1/10th degree precision. Also, minimized "center deadzone" gap (the previous optimization of angle calculation was too aggressive in wheel center position). 2018-11-19 13:32:48 +02:00
mika-n
4f9831cf3f Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-19 13:27:07 +02:00
Travis Nickles
6e037b1422 Removed formatting from profiles listbox 2018-11-19 04:50:52 -06:00
mika-n
09c74e9979 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-19 11:40:53 +02:00
Travis Nickles
c2edbdf946 Increased timeout for tracking second instance exclusive mode workaround 2018-11-17 18:47:13 -06:00
Travis Nickles
93acec78aa Revert to using asInvoker in manifest file
Related to issue #487.
2018-11-17 18:45:23 -06:00
Travis Nickles
43855ef934 Fixed start minimized option 2018-11-17 08:57:18 -06:00
Travis Nickles
2990013907 Corrected event to watch 2018-11-17 08:09:36 -06:00
Travis Nickles
56903bce1f Removed unnecessary method override at this point 2018-11-17 07:51:12 -06:00
mika-n
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
Travis Nickles
dedb1c9ad9 Manually calculate device latency average 2018-11-16 05:24:47 -06:00
Travis Nickles
5d1b4b9a4f Removed a color change routine in about window 2018-11-14 05:40:00 -06:00
Travis Nickles
928ee3e76c Changed options form check after clicking window close button
Related to issue #481.
2018-11-13 15:01:57 -06:00
Travis Nickles
5047dcf31f Use build setting change in x86 build 2018-11-12 06:22:20 -06:00
Travis Nickles
b1e2797f78 Edited build settings 2018-11-12 05:18:42 -06:00
Travis Nickles
db859fb4db Changed test rumble check to remove implicit data coercion 2018-11-11 04:56:10 -06:00
Travis Nickles
ad530e4d20 Fixed issue with app not being restored from launching a second session.
Related to issue #417.
2018-11-09 05:23:42 -06:00
Travis Nickles
fb7c731fe5 Version 1.5.15 2018-11-07 04:07:14 -06:00
Travis Nickles
db2b459e6c Force requireAdministrator execution level 2018-11-07 04:00:10 -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
6db6315d72 Added extra calibration check. Might be useful in some cases where people have reported crashes. 2018-11-05 04:49:23 -06:00
Travis Nickles
ad7bbe7ea9 Use ReadWriteLockSlim instance instead of lock 2018-11-02 18:20:27 -05:00
Travis Nickles
79377ced7f Added locking and volatile usage for UdpServer
Related to issue #454.
2018-11-02 13:03:08 -05:00
Travis Nickles
99a1342a51 Merge branch 'jay' into vigem-udpserver 2018-11-01 16:28:56 -05:00
Travis Nickles
0eac27c8d1 Fixed bad copy pasta. I swear this was corrected previously. VS at fault again? 2018-11-01 15:53:32 -05:00
Travis Nickles
b9b89be554 Renamed method to make meaning more clear 2018-11-01 14:13:10 -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
1a2b6e89c9 Merge branch 'jay' into vigem-udpserver 2018-10-27 13:21:00 -05:00
Travis Nickles
cadcaf57a2 Real version 1.5.14. VS did not save a change before. 2018-10-27 13:17:17 -05:00
Travis Nickles
ae9e9ca1e0 Version 1.5.14 2018-10-27 12:44:19 -05:00
Travis Nickles
49d24fce7d Testing new output report copying thread for USB and SONYWA 2018-10-26 20:58:43 -05:00
Travis Nickles
e3ed777682 Removed unnecessary array copy for USB and SONYWA connections 2018-10-26 01:37:51 -05:00
Travis Nickles
32605524ff Added flag to allow skipping a lock when applicable 2018-10-25 02:51:50 -05:00
Travis Nickles
ce78793dea Removed old unused field 2018-10-25 01:37:26 -05:00
Travis Nickles
687ff05948 Corrected unregister notify call
Changed location and corrected used handle
2018-10-24 21:41:29 -05:00
Travis Nickles
dfcc3250cf Changed index increment placement
Seems to solve #454 on my machine
2018-10-24 04:17:01 -05:00
Travis Nickles
76ccb44a32 Fixed control display in flow control 2018-10-23 03:34:23 -05:00
Travis Nickles
7327758377 Merge branch 'jay' into vigem-udpserver 2018-10-20 13:34:00 -05:00
Travis Nickles
fa333ef3dc Version 1.5.13 2018-10-20 13:31:37 -05:00
Travis Nickles
7bce103417 Merge branch 'jay' into vigem-udpserver 2018-10-20 03:32:03 -05:00
Travis Nickles
98e155c318 Tweaked main form class 2018-10-20 03:31:32 -05:00
Travis Nickles
a3406b805b Merge branch 'jay' into vigem-udpserver 2018-10-19 03:33:34 -05:00
Travis Nickles
03b3acb209 Lowered mouse stick offset a bit 2018-10-19 03:33:03 -05:00
Travis Nickles
d30f0e7147 Merge branch 'jay' into vigem-udpserver 2018-10-19 02:38:09 -05:00
Travis Nickles
d8aab22051 Raised mouse stick offset 2018-10-19 02:37:50 -05:00
Travis Nickles
3d816a3ce2 Merge branch 'jay' into vigem-udpserver 2018-10-19 00:33:45 -05:00
Travis Nickles
0575a95ec1 Added SuppressUnmanagedCodeSecurity to Color Dialog for some unmanaged calls 2018-10-19 00:33:14 -05:00
Travis Nickles
fba091d2d1 Merge branch 'jay' into vigem-udpserver 2018-10-18 02:24:23 -05:00
Travis Nickles
7a1f98e169 Version 1.5.12 2018-10-18 02:18:25 -05:00
Travis Nickles
af33a6a294 Merge branch 'jay' into vigem-udpserver 2018-10-16 23:35:02 -05:00
Travis Nickles
e6646d6c6e Added SuppressUnmanagedCodeSecurity to main form class
Used due to interopt calls used for auto profile system
2018-10-16 23:34:29 -05:00
Travis Nickles
149f4a3e25 Merge branch 'jay' into vigem-udpserver 2018-10-16 23:08:43 -05:00
Travis Nickles
7d871c0709 Added UnregisterNotify call 2018-10-16 23:06:39 -05:00
Travis Nickles
22f1357ebd Merge branch 'jay' into vigem-udpserver 2018-10-16 14:36:07 -05:00
Travis Nickles
2029cc5531 Register for more specific device change events
This should make the WndProc method execution leaner
2018-10-16 14:35:41 -05:00
Travis Nickles
9bf7e5911f Merge branch 'jay' into vigem-udpserver 2018-10-16 12:57:18 -05:00
Travis Nickles
722bdf9670 Loosened enhanced precision curves further
This seems to be as loose as it can be with the
DS4 analog stick and still be usable.
2018-10-16 12:56:51 -05:00
Travis Nickles
1f96021614 Merge branch 'jay' into vigem-udpserver 2018-10-15 17:20:40 -05:00
Travis Nickles
e317c6e84a Loosen enhanced precision curves 2018-10-15 17:20:05 -05:00
Travis Nickles
e5be19cb93 Merge branch 'jay' into vigem-udpserver 2018-10-15 03:06:39 -05:00
Travis Nickles
52674c7546 Version 1.5.11 2018-10-15 03:05:29 -05:00
Travis Nickles
60a0f3fda0 Fixed device event queueing 2018-10-15 03:01:13 -05:00
Travis Nickles
5f4844c4ce Merge branch 'jay' into vigem-udpserver 2018-10-15 02:27:06 -05:00
Travis Nickles
eb66f38167 Version 1.5.10 2018-10-15 02:22:44 -05:00
Travis Nickles
59deafd013 Merge branch 'jay' into vigem-udpserver 2018-10-13 02:14:25 -05:00
Travis Nickles
6474346f11 Replace stack with simple array in UdpServer 2018-10-13 02:13:42 -05:00
Travis Nickles
d63ea483d9 Merge branch 'jay' into vigem-udpserver 2018-10-12 02:25:29 -05:00
Travis Nickles
1ff066fcf9 Enforce static for SystemEvents.PowerModeChanged
Faster performance
2018-10-12 02:24:55 -05:00
Travis Nickles
2ef6fe312f Merge branch 'jay' into vigem-udpserver 2018-10-11 03:41:11 -05:00
Travis Nickles
af4425763d Added some optimizations 2018-10-11 03:38:52 -05:00
Travis Nickles
48265c750e Merge branch 'jay' into vigem-udpserver 2018-10-09 21:42:02 -05:00
Travis Nickles
3697848b58 Loosened enhanced precision curves 2018-10-09 15:49:45 -05:00
Travis Nickles
e25e0065d3 Version 1.5.9 2018-10-08 06:34:26 -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
3aa558c85f Version of different gyro trigger conditional
Related to issue #431
2018-09-29 21:54:25 -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
9b36f73ed5 Minor tweak to contribution that .NET wanted
Related to #406
2018-09-29 04:18:25 -05:00
Travis Nickles
c324434a05 Merge branch 'outofrangefix' of https://github.com/justalemon/DS4Windows into justalemon-outofrangefix 2018-09-29 03:18:35 -05:00
Travis Nickles
13005458f1 Increase timeout for exclusive attempt process 2018-09-18 03:39:59 -05:00
Travis Nickles
53ec1e2eef Test using stack of SocketAsyncEventArgs 2018-09-14 03:35:54 -05:00
Hannele Ruiz
55764919db Fixed out of range while checking the selected index 2018-08-28 07:44:26 -03:00
Travis Nickles
f99104f997 Merge branch 'jay' into vigem-udpserver 2018-08-24 17:58:54 -05:00
Travis Nickles
cbdace944f Version 1.5.8 2018-08-24 17:52:55 -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
0ce20cdfc8 Version 1.5.7 2018-08-24 15:22:31 -05:00
Travis Nickles
f2de4bc87d Change timer behavior
Using the Stop method is not enough apparently
2018-08-24 15:17:13 -05:00
Travis Nickles
ac360c426d Fixed issue with SONYWA connections having invalid calibration data 2018-08-20 13:14:34 -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
ac9e2411ac Fix variable scope for swap profile routine
Resolves issue #394
2018-08-19 14:03:55 -05:00
Travis Nickles
098bfef33c Merge branch 'jay' into vigem-udpserver 2018-08-18 02:21:18 -05:00
Travis Nickles
1eecdfa836 Version 1.5.6 2018-08-18 02:13:45 -05:00
Travis Nickles
39762a361a Delay execution of service start 2018-08-17 15:11:46 -05:00
Travis Nickles
41ebb0d716 Use BeginInvoke in timer method 2018-08-17 14:36:35 -05:00
Travis Nickles
b5b45a8983 Condense code paths for a section 2018-08-17 02:40:04 -05:00
Travis Nickles
3df7f24a7b Move code out of main form ctor 2018-08-17 02:20:53 -05:00
Travis Nickles
0358002e72 Remove some older unnecessary variables 2018-08-16 17:42:03 -05:00
Travis Nickles
e1743a76eb Merge branch 'jay' into vigem-udpserver 2018-08-13 02:16:49 -05:00
Travis Nickles
96907c5a6a Version 1.5.5 2018-08-13 02:12:48 -05:00
Travis Nickles
1ecd25c926 Only stop timers once 2018-08-13 01:58:00 -05:00
Travis Nickles
b263775395 Tweak 2018-08-13 01:09:11 -05:00
Travis Nickles
30a7e3b2c0 Minor tweak 2018-08-12 21:55:09 -05:00
Travis Nickles
3353b803c3 Quick fix for UDP server memory leak
Related to issue #388.
2018-08-12 01:06:02 -05:00
Travis Nickles
ea159ebe4b Merge branch 'jay' into vigem-udpserver 2018-08-11 02:40:18 -05:00
Travis Nickles
a6e9aea6fe Version 1.5.4 2018-08-11 02:38:53 -05:00
Travis Nickles
78383a77e6 Delay port change for when checkbox gets unchecked 2018-08-11 01:22:33 -05:00
Travis Nickles
262992f757 Change behavior of hotkeys timer 2018-08-10 21:43:11 -05:00
Travis Nickles
dbf2c63094 Change behavior of auto profile timer 2018-08-10 20:09:37 -05:00
Travis Nickles
b1cea0725c Invert bool for minimize to taskbar 2018-08-09 19:50:26 -05:00
Travis Nickles
9f4e12edc7 Merge branch 'jay' into vigem-udpserver 2018-08-08 16:51:32 -05:00
Travis Nickles
289d465b11 Version 1.5.3 2018-08-08 16:50:13 -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
Travis Nickles
c245b2fc2f Fixed build issue 2018-08-06 06:00:52 -05:00
Travis Nickles
8750d6ea08 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-06 05:57:53 -05:00
Travis Nickles
5c52cead54 UDP server management changes, UDP server options
Related to issue #228
2018-08-06 05:00:37 -05:00
Travis Nickles
b710c40f44 Added unchecked block 2018-08-04 01:43:02 -05:00
Travis Nickles
f3c64143e2 Added unchecked block 2018-08-04 01:39:46 -05:00
Travis Nickles
8962e493bf Use SendToAsync in another place 2018-08-04 00:51:10 -05:00
Travis Nickles
c3b4190b02 Use SendToAsync in another place 2018-08-04 00:48:28 -05:00
Travis Nickles
4c70b7a8f0 Use SendToAsync and uncheck to improve UDP server performance 2018-08-03 20:05:44 -05:00
Travis Nickles
57af817c00 Use SendToAsync and uncheck to improve UDP server performance 2018-08-03 20:01:00 -05:00
Travis Nickles
24403394ad Merge branch 'jay' into vigem-udpserver 2018-08-03 01:48:27 -05:00
Travis Nickles
28f3414a05 Merge branch 'jay' into udpserver 2018-08-03 00:46:19 -05:00
Travis Nickles
2e0d96fae2 Version 1.5.2 2018-08-01 11:05:26 -05:00
Travis Nickles
bd48966c7d Changed mouse hover events for some controls 2018-08-01 04:03:42 -05:00
Travis Nickles
0fc4cb1e32 Added unchecked blocks 2018-07-30 23:43:10 -05:00
Travis Nickles
a4002ade3a Added unchecked block around axis scaling 2018-07-30 17:01:15 -05:00
Travis Nickles
21350227c6 Added unchecked block for report generation 2018-07-30 16:35:58 -05:00
Travis Nickles
d74abc801f Merge branch 'jay' into vigem-udpserver 2018-07-29 11:40:23 -05:00
Travis Nickles
0f6eaed317 Merge branch 'jay' into udpserver 2018-07-29 10:59:02 -05:00
Travis Nickles
b527478a7b Version 1.5.1 2018-07-29 10:58:41 -05:00
Travis Nickles
9cc93f8128 Removed Form_Resize method for Options 2018-07-29 03:16:24 -05:00
Travis Nickles
f076752404 Loosen enhanced precision curve 2018-07-28 02:50:05 -05:00
Travis Nickles
521ce6835e Enable gcServer option in app config
Causes app to use more memory but reduces perceived
latency
2018-07-27 13:49:23 -05:00
Travis Nickles
7a45df4a30 Merge branch 'jay' into udpserver 2018-07-27 02:40:11 -05:00
Travis Nickles
e5cd923e03 Modify check for EventWaitHandle 2018-07-26 03:23:38 -05:00
Travis Nickles
ffbcdb21b3 More edits to program entry file 2018-07-26 02:42:28 -05:00
Travis Nickles
e86113f27b Edit main program entry file
using System.Runtime made the biggest difference
2018-07-26 02:14:07 -05:00
Travis Nickles
4cfbc098b0 Remove use of WaitHandle 2018-07-26 01:10:53 -05:00
Travis Nickles
cb8ffee055 Merge branch 'jay' into vigem-udpserver 2018-07-23 00:17:08 -05:00
Travis Nickles
b92156f57d Changed thread affinity of UdpServer instance 2018-07-23 00:15:47 -05:00
Travis Nickles
fc62708abf Changed thread affinity of UdpServer instance 2018-07-23 00:10:00 -05:00
Travis Nickles
5a4ed6c440 Merge branch 'jay' into udpserver 2018-07-23 00:06:16 -05:00
Travis Nickles
890db93fe8 Version 1.5.0 2018-07-22 21:58:48 -05:00
Travis Nickles
01ccc74cdd Added SuppressUnmanagedCodeSecurity attribute to ScpDevice class
Leads to a decent speedup
2018-07-22 03:15:24 -05:00
Travis Nickles
a6e6b5279c Added unsafe back to sixaxis method 2018-07-22 02:52:42 -05:00
Travis Nickles
3fa9d2f2b5 Added alt min to taskbar fix 2018-07-22 01:51:58 -05:00
Travis Nickles
d1f124870f Revert "Use unsafe for accessing gyro and accel arrays"
This reverts commit e99e0afe17.
2018-07-22 01:23:16 -05:00
Travis Nickles
e6ac109616 Revert "Removed extra fixed block. Moved method call"
This reverts commit f906178b5b.
2018-07-22 01:22:42 -05:00
Travis Nickles
5c9aec9bd1 Revert "Lower latency buffer to 10 items"
This reverts commit 11c7f03244.
2018-07-22 01:22:13 -05:00
Travis Nickles
e04799db1a Revert "Placeholder settings class"
This reverts commit be6f938e10.
2018-07-22 01:21:49 -05:00
Travis Nickles
ffa3eb08ab Revert "Fix minimize to taskbar option"
This reverts commit b9af99295b.
2018-07-22 01:21:23 -05:00
Travis Nickles
b9af99295b Fix minimize to taskbar option 2018-07-21 15:26:37 -05:00
Travis Nickles
be6f938e10 Placeholder settings class 2018-07-21 14:39:11 -05:00
Travis Nickles
11c7f03244 Lower latency buffer to 10 items 2018-07-21 00:55:16 -05:00
Travis Nickles
f906178b5b Removed extra fixed block. Moved method call 2018-07-20 05:05:20 -05:00
Travis Nickles
e99e0afe17 Use unsafe for accessing gyro and accel arrays 2018-07-20 04:52:45 -05:00
Travis Nickles
70a4cd8989 Merge branch 'jay' into vigem-udpserver 2018-07-18 01:35:39 -05:00
Travis Nickles
53cd5d48d9 Merge branch 'jay' into udpserver 2018-07-18 01:26:24 -05:00
Travis Nickles
9a17500100 Version 1.4.123 2018-07-18 00:58:16 -05:00
Travis Nickles
04140081ce Fixed problem when registry key does not exist 2018-07-18 00:56:05 -05:00
Travis Nickles
46dc83f61c Version 1.4.122 2018-07-18 00:25:23 -05:00
Travis Nickles
ce4a01b99b Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-07-18 00:04:51 -05:00
Travis Nickles
239b9bceba Merge branch 'jay' into udpserver 2018-07-17 23:53:14 -05:00
Travis Nickles
192dedcbc3 Exit GetPadDetailForIdx after processing null reference 2018-07-17 20:46:40 -05:00
Travis Nickles
605c700362 Exit GetPadDetailForIdx after processing null reference
Might be related to issue #326.
2018-07-17 20:45:20 -05:00
Travis Nickles
b8d60e8aa6 Change warning level for build settings
It seems to matter in the final build even though it seems
like it should not
2018-07-17 18:11:32 -05:00
Travis Nickles
2cc8236e02 Removed an unused control 2018-07-17 04:07:32 -05:00
Travis Nickles
f641b7f11c Removed unused component 2018-07-17 02:30:03 -05:00
Travis Nickles
add73e0b49 Removed unused Settings class 2018-07-16 19:20:28 -05:00
Travis Nickles
a3943728e3 Trimmed WndProc method 2018-07-16 17:29:05 -05:00
Travis Nickles
a7b5b2ff35 Enabled HidGuardian whitelist scan 2018-07-16 12:21:54 -05:00
Travis Nickles
f686b9711e Loosened enhanced precision curves more 2018-07-16 04:16:58 -05:00
Travis Nickles
c0b958b43a Updated target framework to .NET 4.6.1
Hopefully this change will not cause problems for some users
2018-07-16 02:42:08 -05:00
Travis Nickles
bf9f476be3 Added placeholder routine to purge old HidGuardian whitelist entries.
Have not decided whether this is truly needed so it is not used
2018-07-16 00:21:34 -05:00
Travis Nickles
f44cc21688 Minor tweak 2018-07-10 01:18:27 -05:00
Travis Nickles
1171a56a6b Make sure calib routine can be skipped on update serial routine
Might not be needed
2018-07-10 00:57:55 -05:00
Travis Nickles
cfa2bea4be Minor tweak for skipping calibration that .NET likes better
Related to issue #330.
2018-07-10 00:46:25 -05:00
Travis Nickles
6ff6f367be Merge branch 'ryochan7' of https://github.com/Yuki-nyan/DS4Windows into Yuki-nyan-ryochan7 2018-07-09 18:25:02 -05:00
Travis Nickles
9c6e99ce6c Carry over enhanced precision curve changes to RS
New points were only used for LS before
2018-07-06 20:09:17 -05:00
Travis Nickles
8d4c7d0c57 Merge branch 'jay' into udpserver 2018-06-24 21:04:20 -05:00
Travis Nickles
cc23f7af0b Merge branch 'jay' into vigem-udpserver 2018-06-24 21:01:53 -05:00
Travis Nickles
cc44352bd5 Version 1.4.121 2018-06-24 03:14:16 -05:00
Travis Nickles
a74f58f7be Remove drag drop importing of profiles. Good app speed boost.
If drag drop import gets added again, put that functionality on
the profile listview instead of the main app window
2018-06-23 16:08:57 -05:00
Yuki-nyan
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
Travis Nickles
284011c913 Do not remove auto profiles entries for currently uninstalled apps
Related to issue #317. 5 hours for such a small change just because
performance went south. .NET stinks.
2018-06-23 02:21:48 -05:00
Travis Nickles
36aa91dca5 Removed unused AlreadyRunning form
Been wanting to remove this for a while. No performance
degradation now
2018-06-19 02:33:11 -05:00
Travis Nickles
99bede4448 Make comboboxes not accept keyboard input for profile switching
Related to issue #281
2018-06-19 01:09:52 -05:00
Travis Nickles
e0d7f1ed14 Make sure controller reading can be started when switching auto profiles
Related to issue #325.
2018-06-19 00:04:30 -05:00
Travis Nickles
600818a3c0 Changed enhanced precision curves 2018-06-17 19:52:36 -05:00
Travis Nickles
8989333cdc Add device info for a generic DS4 gamepad
Related to issue #312
2018-06-10 17:25:53 -05:00
Travis Nickles
475723653d Changed logic for implicit stick mouse dead zone
Only force the implicit dead zone if the setting is set to 0.
Lower settings than the implicit dead zone are now possible
for looser aiming
2018-06-07 15:33:02 -05:00
Travis Nickles
b364330f50 Fixed enhanced precision stick curves 2018-06-05 16:16:38 -05:00
Travis Nickles
25b2adc8e5 Corrected stick angles and stick dir unit values 2018-06-05 16:12:11 -05:00
Travis Nickles
a855e67b1a Use rs angle used for RY 2018-06-05 15:46:33 -05:00
Travis Nickles
7229fee556 Merge branch 'jay' into vigem-udpserver 2018-06-04 14:12:58 -05:00
Travis Nickles
b596d82573 Merge branch 'jay' into udpserver 2018-06-04 14:08:57 -05:00
Travis Nickles
c10a0b46ec Version 1.4.120 2018-06-04 09:54:26 -05:00
Travis Nickles
7c70392be8 Fixed issue with profiles listview being partially hidden after closing Options form 2018-06-04 01:55:21 -05:00