Commit Graph

982 Commits

Author SHA1 Message Date
Travis Nickles
67ab6f2692 Disable allowdrop setting for DS4Form 2018-11-19 06:49:20 -06:00
Travis Nickles
6e037b1422 Removed formatting from profiles listbox 2018-11-19 04:50:52 -06: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
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
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
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
fa333ef3dc Version 1.5.13 2018-10-20 13:31:37 -05:00
Travis Nickles
98e155c318 Tweaked main form class 2018-10-20 03:31:32 -05:00
Travis Nickles
03b3acb209 Lowered mouse stick offset a bit 2018-10-19 03:33:03 -05:00
Travis Nickles
d8aab22051 Raised mouse stick offset 2018-10-19 02:37:50 -05:00
Travis Nickles
0575a95ec1 Added SuppressUnmanagedCodeSecurity to Color Dialog for some unmanaged calls 2018-10-19 00:33:14 -05:00
Travis Nickles
7a1f98e169 Version 1.5.12 2018-10-18 02:18:25 -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
7d871c0709 Added UnregisterNotify call 2018-10-16 23:06:39 -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
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
e317c6e84a Loosen enhanced precision curves 2018-10-15 17:20:05 -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
eb66f38167 Version 1.5.10 2018-10-15 02:22:44 -05:00
Travis Nickles
6474346f11 Replace stack with simple array in UdpServer 2018-10-13 02:13:42 -05:00
Travis Nickles
1ff066fcf9 Enforce static for SystemEvents.PowerModeChanged
Faster performance
2018-10-12 02:24:55 -05:00
Travis Nickles
af4425763d Added some optimizations 2018-10-11 03:38:52 -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
5efe6b556e Fixed issue with useDInput variable not being in correct state 2018-10-08 05:51:27 -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
cbdace944f Version 1.5.8 2018-08-24 17:52:55 -05:00
Travis Nickles
0896f044e8 Fixed problem with unplugging controllers causing cross thread problems 2018-08-24 17:35:57 -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
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
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
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
289d465b11 Version 1.5.3 2018-08-08 16:50:13 -05:00
Travis Nickles
a86d8deb4a Some minor tweaks and fixes 2018-08-08 03:54:19 -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
f3c64143e2 Added unchecked block 2018-08-04 01:39:46 -05:00
Travis Nickles
c3b4190b02 Use SendToAsync in another place 2018-08-04 00:48:28 -05:00
Travis Nickles
57af817c00 Use SendToAsync and uncheck to improve UDP server performance 2018-08-03 20:01:00 -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
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
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
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
239b9bceba Merge branch 'jay' into udpserver 2018-07-17 23:53:14 -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
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