Commit Graph

546 Commits

Author SHA1 Message Date
Travis Nickles
60c137138d Minor window title parse tweak
Change to monitor process id later
2019-05-28 00:26:27 -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
db5c08722b Added hovertext message for touchpad toggle 2019-05-19 19:54:11 -05:00
Travis Nickles
fa38d4e315 Updated Welcome Dialog to usee ViGEm Installer 1.6.115 2019-05-16 22:02:03 -05: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
6b6cc53c64 Replace and add new icons 2019-05-04 00:54:15 +02: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
f9f72b1f4a Added hover text for output controller option 2019-04-25 21:21:24 -05:00
Travis Nickles
ab8dbd29f9 Merge branch 'jay' into ds4emulate 2019-04-23 21:07:19 -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
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
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
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
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
b23ffcda76 Merge branch 'jay' into ds4emulate 2019-04-19 06:17:31 -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
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
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
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
ffb46157bb Revert hotplug delay change 2019-03-22 00:14:42 -05:00
Travis Nickles
3e08da9705 Removed old ScpVBus related classes 2019-03-19 02:32:49 -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
fb73c19574 Changed Welcome dialog to account for ViGEmBus installer program 2019-03-19 00:47:26 -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
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
489a36be00 Merge branch 'jay' into vigem-udpserver 2019-03-12 18:55:35 -05:00
Travis Nickles
54b6b2754a Change when delay takes place for hotplug routine 2019-03-12 16:03:08 -05:00
Travis Nickles
0ea8cef46e Merge branch 'jay' into vigem-udpserver 2019-03-10 09:33:00 -05: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
1dbf9abb02 Implemented square stick functionality
Related to issue #341.
2019-03-04 17:21:58 -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
61f7893d06 Update the updater version number 2019-02-25 01:24:54 -06:00
mika-n
a3c51c8688 merge 2019-02-20 08:39:55 +02:00
mika-n
8d087b01ff merge conflicts with base branch 2019-02-19 15:00:17 +02: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
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
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
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
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
bf3f10d0ae Apply proposed changes for HG v.1 support 2019-01-18 15:38:13 -06:00
mika-n
13607ebc7c Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-01-13 21:26:50 +02:00
Travis Nickles
619cbbf53a Merge branch 'jay' into vigem-udpserver 2019-01-11 16:08:19 -06:00
Travis Nickles
1a8548e5b9 Changed thread affinity of some timer objects 2019-01-07 22:01:43 -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
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
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
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
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
accd6c01d6 Fixes invalid string compare. Just check if both strings are the same now 2018-12-17 21:19:18 -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
mika-n
f795e08f8a Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-12-10 20:25:59 +02:00
Travis Nickles
114dd055e1 Ignore warning 2018-12-09 04:23:48 -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
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
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
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
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
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
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
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
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
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