Commit Graph

246 Commits

Author SHA1 Message Date
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
dac9d1ba52 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-11-30 14:51:55 -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
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
928ee3e76c Changed options form check after clicking window close button
Related to issue #481.
2018-11-13 15:01:57 -06:00
Travis Nickles
ccdfd8cfe5 Purge HidGuardian utilities 2018-11-06 02:47:31 -06:00
Travis Nickles
99a1342a51 Merge branch 'jay' into vigem-udpserver 2018-11-01 16:28:56 -05:00
Travis Nickles
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
1a2b6e89c9 Merge branch 'jay' into vigem-udpserver 2018-10-27 13:21:00 -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
76ccb44a32 Fixed control display in flow control 2018-10-23 03:34:23 -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
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
1215d32ae5 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2018-10-03 16:38:20 -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
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
f2de4bc87d Change timer behavior
Using the Stop method is not enough apparently
2018-08-24 15:17:13 -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
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
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
ea159ebe4b Merge branch 'jay' into vigem-udpserver 2018-08-11 02:40:18 -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
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
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
24403394ad Merge branch 'jay' into vigem-udpserver 2018-08-03 01:48:27 -05:00
Travis Nickles
bd48966c7d Changed mouse hover events for some controls 2018-08-01 04:03:42 -05:00
Travis Nickles
d74abc801f Merge branch 'jay' into vigem-udpserver 2018-07-29 11:40:23 -05:00
Travis Nickles
9cc93f8128 Removed Form_Resize method for Options 2018-07-29 03:16:24 -05:00
Travis Nickles
cb8ffee055 Merge branch 'jay' into vigem-udpserver 2018-07-23 00:17:08 -05:00
Travis Nickles
3fa9d2f2b5 Added alt min to taskbar fix 2018-07-22 01:51:58 -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
ce4a01b99b Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-07-18 00:04:51 -05:00
Travis Nickles
a3943728e3 Trimmed WndProc method 2018-07-16 17:29:05 -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
cc23f7af0b Merge branch 'jay' into vigem-udpserver 2018-06-24 21:01:53 -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
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
7229fee556 Merge branch 'jay' into vigem-udpserver 2018-06-04 14:12:58 -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
Travis Nickles
6c822e5968 Add minimize to taskbar as a setting
Related to issue #287.
2018-06-01 16:45:58 -05:00
Travis Nickles
bbedb0324e Removed unused log file string 2018-05-31 02:53:09 -05:00
Travis Nickles
f5ce078488 Removed now unused ThemeUtil class 2018-05-26 02:57:58 -05:00
Travis Nickles
b7b674d4e3 Disable custom theme for debug list view
Apparently, it affects performance quite a bit
2018-05-26 02:44:03 -05:00
Travis Nickles
6468936ad3 Added disconnect options to tray menu
Related to issue #280
2018-05-25 23:52:41 -05:00
Travis Nickles
5e30393647 Initial commit with ViGEm and UdpServer support 2018-05-06 02:13:11 -05:00
Travis Nickles
2c55523ec4 Increased hotplug delay to potentially work around some Windows 7 problems 2018-03-25 05:04:59 -05:00
Travis Nickles
cf81801564 Update reference version for DS4Updater 2018-03-11 20:47:12 -06:00
Travis Nickles
01e5246c61 Use suspending flag rather than using a parameter 2018-02-26 03:51:24 -06:00
Travis Nickles
0ebfa8b96e Minor tweak 2018-02-26 03:22:06 -06:00
Travis Nickles
16341d37b5 Force disconnect for wireless controllers when suspending
Related to issue #227
2018-02-26 02:55:17 -06:00
Travis Nickles
1c3e612814 Bumped updater version number 2018-02-22 17:49:50 -06:00
Travis Nickles
55890cfc81 Make sure to populate oldprofilepath when refreshing profiles 2018-02-20 00:05:52 -06:00
Travis Nickles
fa69b8cd1f Removed deprecated flag for updater. Now set updater to auto launch DS4Windows after update
Related to issue #217.
2018-02-12 00:40:34 -06:00
Travis Nickles
5202099ab0 Added task version of Check for Update Now 2018-02-08 01:48:12 -06:00
Travis Nickles
d017789f50 Use BeginInvoke call in task call 2018-02-08 01:20:33 -06:00
Travis Nickles
97110bad5a Move version check to a different thread 2018-02-07 23:34:01 -06:00
Travis Nickles
4a29f53694 Use BeginUpdate and EndUpdate when editing items in combobox 2018-02-07 16:15:58 -06:00
Travis Nickles
bf601d2057 Version 1.4.110 2018-02-06 11:27:00 -06:00
Travis Nickles
4fe6fc6660 Attempt to allow language preference to work across instances
Related to issue #205.
2018-01-30 22:20:46 -06:00
Travis Nickles
15de9307c3 Check for Profiles.xml location before attempt to load file and culture
Config files stored in AppData could not be used since the
language switcher was implemented
2018-01-29 21:01:23 -06:00
Travis Nickles
ad53caaac4 Remove namespace usage 2018-01-28 02:25:35 -06:00
Travis Nickles
618c139607 First step to change how ScpVBus installation is checked
Related to issue #147.
2018-01-28 02:00:29 -06:00
Travis Nickles
36fc8a7223 Add Open Program Folder link in taskbar
Related to issue #187.
2018-01-26 16:03:14 -06:00
Travis Nickles
dc18449179 Added link to open regedit to HidGuardian Parameters key 2018-01-25 20:05:49 -06:00
Travis Nickles
7aa11f56b4 Write new HidGuardian whitelist key after deleting subkey tree 2018-01-25 17:46:04 -06:00
Travis Nickles
dad4d88354 Add link to remove HidGuardian whitelist registry keys 2018-01-25 17:43:22 -06:00
Travis Nickles
3caf4fa514 Add HidGuardian AffectedDevices link to settings 2018-01-25 15:40:59 -06:00
Korney Czukowski
02d94876c3 Add language switch control to form, localization strings 2017-12-20 07:29:16 +01:00
Korney Czukowski
847e0bd6b9 Move set culture method to DS4Form class 2017-12-16 13:24:57 +01:00
Korney Czukowski
a794d2c718 Load settings from Global sooner, set culture from settings, add event handler for language picker change 2017-12-12 21:52:13 +01:00
Travis Nickles
2ecfef69f2 Update DS4Updater version number 2017-12-11 20:33:14 -06:00
Travis Nickles
be8bc83253 Check InvokeRequired from form object
Such a headache over a minor portion of code. Fuck .NET
2017-12-08 05:04:08 -06:00
Travis Nickles
9547da8180 Only have Options form loaded when needed.
Might need to find a functional compromise later. Overall app
performance is improved but opening the Options form to edit
a profile takes a few seconds
2017-12-06 06:49:23 -06:00