Commit Graph

371 Commits

Author SHA1 Message Date
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
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
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
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
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
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
ccdfd8cfe5 Purge HidGuardian utilities 2018-11-06 02:47:31 -06: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
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
98e155c318 Tweaked main form class 2018-10-20 03:31:32 -05:00
Travis Nickles
0575a95ec1 Added SuppressUnmanagedCodeSecurity to Color Dialog for some unmanaged calls 2018-10-19 00:33:14 -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
1ff066fcf9 Enforce static for SystemEvents.PowerModeChanged
Faster performance
2018-10-12 02:24:55 -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
Hannele Ruiz
55764919db Fixed out of range while checking the selected index 2018-08-28 07:44:26 -03:00
Travis Nickles
0896f044e8 Fixed problem with unplugging controllers causing cross thread problems 2018-08-24 17:35:57 -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
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
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
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
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
bd48966c7d Changed mouse hover events for some controls 2018-08-01 04:03:42 -05:00
Travis Nickles
9cc93f8128 Removed Form_Resize method for Options 2018-07-29 03:16:24 -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
2cc8236e02 Removed an unused control 2018-07-17 04:07:32 -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
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
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
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
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
49e2cf9398 Raised max for sensitivity options
Related to issue #259
2018-05-31 17:21:08 -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
3d8e2aa16e Removed MakerSupport link from About dialog 2018-05-06 21:35:17 -05:00
Travis Nickles
2beb3988ba Fixed hover button color in Options form 2018-04-09 18:38:42 -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
10d9990870 Rename method 2018-03-24 01:52:02 -05:00
Travis Nickles
5608620779 Correct order of key releases when using Win + Print Screen
Related to question in #228.
2018-03-24 01:37:42 -05:00
Travis Nickles
f8dfef41d9 Changed some links in Credits tab 2018-03-22 01:24:33 -05:00
Travis Nickles
dba25fab5a Removed possible double plug event 2018-03-21 18:55:01 -05:00
Travis Nickles
3c94a872aa Remove unused method 2018-03-21 17:33:03 -05:00
Travis Nickles
18bb83ceef Do not restart service when changing dinput option in profile
Only plug or unplug an xinput device as needed. Only perform
when saving a profile.
2018-03-21 17:31:22 -05:00
Travis Nickles
2dc0950d63 Change some of the wording regarding tipping 2018-03-18 16:20:35 -05:00
Travis Nickles
23b19689fd Remove extras string from profile when reverted back to defaults 2018-03-18 14:58:29 -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
2d15badd0a Correct appdata path display for SaveWhere dialog 2018-02-19 22:54:18 -06:00
Travis Nickles
3c17c58409 Renamed method 2018-02-19 22:37:21 -06:00
Travis Nickles
99197be610 Replaced another timer 2018-02-19 05:48:46 -06:00
Travis Nickles
a4abe7e98e Changed About dialog window 2018-02-19 02:57:29 -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
4cb0548947 Removed old references to properties. Set some fields to private. 2018-02-12 00:00:27 -06:00
Korney Czukowski
3ced545d9e Forgot to remove implicit get/set 2018-02-11 20:58:55 +01:00
Korney Czukowski
bafdc470e3 Remove control properties that were used before they had a chance of being set 2018-02-11 20:53:10 +01:00
Korney Czukowski
256711f696 Revert "Postpone language packs list population until control Load event"
This reverts commit 45ca80a494.
2018-02-11 20:44:56 +01:00
Korney Czukowski
45ca80a494 Postpone language packs list population until control Load event 2018-02-08 21:44:28 +01: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
7e24a7f151 Change UseVisualStyleBackColor for more controls 2018-02-07 19:44:45 -06:00
Travis Nickles
b5c40413e0 Change UseVisualStyleBackColor for more checkboxes 2018-02-07 18:06:08 -06:00
Travis Nickles
00e432f81f Minor checkbox tweak for Check for Updates at Startup 2018-02-07 17:49:25 -06:00