Commit Graph

642 Commits

Author SHA1 Message Date
Travis Nickles
05def00614 Add lock usage for USB again
The version without it seems a bit wonky
2017-12-11 00:33:38 -06:00
Travis Nickles
ed2910208b Version 1.4.104 2017-12-10 16:01:46 -06:00
Travis Nickles
619b73d40b Clear up naming issue for IDE. Use only one output array for USB and SONYWA 2017-12-10 06:16:40 -06:00
Travis Nickles
567aa393ae Changes to how output reports are sent. Mainly affects USB and SONYWA 2017-12-10 05:09:15 -06:00
Travis Nickles
132d411b24 Use event callback to get audio endpoint volume 2017-12-10 02:05:56 -06:00
Travis Nickles
bc3b042bcf Version 1.4.103 2017-12-08 19:48:06 -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
852a9fe524 Lower latency queue to hold 20 items 2017-12-07 17:18:57 -06:00
Travis Nickles
fa1f4760bf No longer use pdb file for debug info 2017-12-07 06:17:22 -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
Travis Nickles
a1d15f5180 Version 1.4.102 2017-12-04 20:57:38 -06:00
Travis Nickles
7ae423c05a Account for new updater version. Now using Visual Studio 2017 as main build env 2017-12-04 20:47:15 -06:00
Travis Nickles
d56d4db65a Correct typo in Quick Charge tooltip string 2017-12-03 18:36:42 -06:00
Travis Nickles
db3cce0cf2 Remove unused checkbox
Need to remove skiplang option from DS4Updater later.
All localization files are bundled with DS4Windows now
2017-12-03 04:16:10 -06:00
Travis Nickles
4322ca3215 Minor tweak 2017-12-03 03:43:24 -06:00
Travis Nickles
d66c98c139 Remove new DS4State object creation per poll 2017-12-02 01:45:51 -06:00
Travis Nickles
dd6e2edadf Minor tweak 2017-12-01 21:31:05 -06:00
Travis Nickles
54493e96b8 Remove BackgroundImage usage for btnLightbar 2017-12-01 04:47:10 -06:00
Travis Nickles
8c67a48f4d More changes to better accommodate high contrast mode
Related to issue #158.
2017-12-01 02:35:35 -06:00
Travis Nickles
bc181b3e8b Add Enhanced Precision curve changes to LS 2017-11-30 14:25:46 -06:00
Travis Nickles
c479a30570 Loosen enhanced precision output curves for sticks 2017-11-30 01:40:28 -06:00
Travis Nickles
d50c031bff Workaround for panel backgrounds to appear in Windows High Contrast mode
Related to issue #158.
2017-11-28 09:49:28 -06:00
Travis Nickles
9a1590bf4f Fix macro binding for multiple touchpad swipe controls
Related to issue #162.
2017-11-27 12:43:38 -06:00
Travis Nickles
c015b9346e Version 1.4.101 2017-11-25 16:55:48 -06:00
Travis Nickles
521a2a3c9f Specify C# 6 in build settings for x86 build 2017-11-25 16:55:05 -06:00
Travis Nickles
64b00804ce Change stick mouse speed. Remove old initial speed offset
The speed is the same at mouse sensitivity 25 compared
to the previous version. However, the new version will be
a bit stiffer using other sensitivity values
2017-11-25 03:13:22 -06:00
Travis Nickles
faa3a92378 Add reference count for macro array
Should be good enough to avoid macro checking for now
2017-11-23 02:31:35 -06:00
Travis Nickles
1eac4faea2 Change language property of forms to use default language
Even when editing localized forms, ensure that default
is always selected when editing is finished
2017-11-22 22:21:09 -06:00
Travis Nickles
26cf91e628 Change column sizes in main form 2017-11-22 21:30:40 -06:00
Travis Nickles
c91b602d04 Move event handler to only be available temporarily 2017-11-22 19:38:06 -06:00
Travis Nickles
c073e721fc Update custom led color from main Controllers tab
Related to issue #153.
2017-11-22 19:23:23 -06:00
Travis Nickles
1e8925ebfe Tweak layout of Russian version of forms
Related to issue #159.
2017-11-22 03:16:14 -06:00
Travis Nickles
c908b23f10 Main form edit 2017-11-22 02:59:47 -06:00
Travis Nickles
76136c71a9 Correct window location saving to take window state into account (negative values)
Related to issue #157.
2017-11-22 02:00:51 -06:00
Travis Nickles
7909e57620 Write HidGuardian whitelist key when application is started
Will fail silently if not run as admin
2017-11-21 03:30:41 -06:00
Travis Nickles
12aedd3724 Minor change to sync output report 2017-11-21 03:29:46 -06:00
Travis Nickles
e52da9c9de Change build settings to explicitly use C# 6 2017-11-19 22:11:19 -06:00
Travis Nickles
500c870647 Minor change in pending count 2017-11-18 15:01:00 -06:00
Travis Nickles
45c0b9945c Fix output report updating 2017-11-18 13:15:15 -06:00
Travis Nickles
649e3b2ceb Minor tweak 2017-11-18 03:21:10 -06:00
Travis Nickles
b6a58b7b76 Remove old exclusive mode workaround 2017-11-18 02:54:16 -06:00
Travis Nickles
e556213a44 Use new populateFieldMapping method for custom actions 2017-11-17 12:39:39 -06:00
Travis Nickles
c5c56cf78c Trim ScpUtil.cs. Do not create new instances of DS4StateFieldMapping each frame 2017-11-17 02:50:37 -06:00
Travis Nickles
17a1e895eb Change name of compilation symbol 2017-11-17 01:50:18 -06:00
Travis Nickles
09a7cd8288 Get rid of debug error for x86 build
Related to issue #140. Not a great workaround
2017-11-17 01:33:24 -06:00
Travis Nickles
8bd534863e Remove BootstrapperPackage entry for .NET Framework 3.5 SP1
Thanks to idan-weizman for pointing this out
2017-11-15 22:34:11 -06:00
Travis Nickles
43755226a2 Tweak Settings tab checkboxes 2017-11-15 20:30:47 -06:00
Travis Nickles
0d10004624 Output thread tweaks 2017-11-15 19:57:58 -06:00
Travis Nickles
a894179c98 Restart pending output report count when a change is detected 2017-11-15 02:58:16 -06:00
Travis Nickles
9045d18092 Add additional lock to use when writing output reports 2017-11-15 02:14:20 -06:00
Travis Nickles
de8934f7ab Increase initial delay before running hotplug routine 2017-11-11 22:53:41 -06:00
Travis Nickles
2f6498a37b Remove unused lock statement 2017-11-11 22:52:17 -06:00
Travis Nickles
37a067515d Remove unused event handlers 2017-11-11 13:07:26 -06:00
Travis Nickles
34e66d6274 Version 1.4.100 2017-11-10 16:03:47 -06:00
Travis Nickles
44c075f021 Use arch info to grab relevant updater exe 2017-11-10 11:49:38 -06:00
Travis Nickles
e88f19ff1f Minor tweak 2017-11-10 11:22:26 -06:00
Travis Nickles
112e6ab232 Add delay before executing program linked to a profile 2017-11-09 22:14:49 -06:00
Travis Nickles
849a46da65 Merge branch 'ryochan' of https://github.com/Yuki-nyan/DS4Windows into Yuki-nyan-ryochan 2017-11-09 21:17:59 -06:00
Travis Nickles
d16cd15f37 Fixed service change after changing xinput port range
Related to issue #143.
2017-11-09 02:27:05 -06:00
Travis Nickles
6f0cad6253 Restore event handler. Move version log message 2017-11-09 02:09:13 -06:00
Travis Nickles
acc2c227ec Add version info as first log message 2017-11-09 01:08:54 -06:00
Travis Nickles
2db38ea627 Give option to export log to a text file
Related to issue #136.
2017-11-08 22:31:56 -06:00
Travis Nickles
d339b51381 Change string in resource 2017-11-08 21:59:31 -06:00
Travis Nickles
044e1ddad8 Minor tweak 2017-11-06 20:17:21 -06:00
Travis Nickles
9d6aa5413e Add convenience methods for managing HidGuardian whitelist key
Currently commented out to the public. Using for my local copy
2017-11-06 20:01:26 -06:00
Travis Nickles
30131ded30 More extended keys 2017-11-06 16:38:26 -06:00
Travis Nickles
1f8dcaa2ee Made sure to add extended key flag for more multimedia keys 2017-11-06 16:04:46 -06:00
Travis Nickles
e0aaa37493 Minor tweak 2017-11-06 01:56:48 -06:00
Travis Nickles
e5c124fecd Add extended bit for next track and prev track keys 2017-11-06 00:48:54 -06:00
Travis Nickles
5df02aafa7 Save form position
Related to issue #142.
2017-11-05 20:18:36 -06:00
Yuki-nyan
a9eefa9079 Resolved merge conflict by implementing Ryochan7's changes 2017-11-05 15:20:10 +00:00
Travis Nickles
a8c045e8ef Disabled BackgroundImageLayout setting
Related to issue #141.
2017-11-04 22:15:23 -05:00
Travis Nickles
c4614d982e Change main form control sizes
Relating to issue #142.
2017-11-04 17:30:49 -05:00
Travis Nickles
23804fa1bd Version 1.4.99 2017-11-02 07:05:40 -05:00
Travis Nickles
2fa075348c Remove unnecessary check 2017-10-31 18:36:48 -05:00
Travis Nickles
bf11a6d297 Change device enumeration routine 2017-10-28 20:34:04 -05:00
Travis Nickles
c75cb3ba7b Added Razer Raiju VID and PID combination. Moved arrays.
Related to issue #136.
2017-10-28 20:03:55 -05:00
Travis Nickles
076b1d0839 Use array to specify compatible vids 2017-10-28 19:58:23 -05:00
Travis Nickles
212ae71d4e Version 1.4.98 2017-10-27 12:29:04 -05:00
Travis Nickles
677191e8b4 Change to keep lightbar from sticking in some situations
Hopefully resolves issue #126.
2017-10-27 02:09:42 -05:00
Travis Nickles
a7f4dec009 Parse extras before launching actions
Related to issue #133.
2017-10-26 01:37:21 -05:00
Travis Nickles
99715656e3 Lower times used for taps and holds
Related to issue #129
2017-10-23 13:17:55 -05:00
Travis Nickles
debbb23530 Remove unused method 2017-10-20 20:48:48 -05:00
Travis Nickles
91c8020bb9 Added x86 as a platform target 2017-10-20 06:13:14 -05:00
Travis Nickles
ad2b6eea25 Different implementation of linked profile support
Related to issue #84.
2017-10-19 14:16:09 -05:00
Travis Nickles
e07f902751 Only load profiles as needed rather than at program startup 2017-10-19 03:21:33 -05:00
Travis Nickles
d9ee5d3263 Version 1.4.97 2017-10-13 18:26:52 -05:00
Travis Nickles
2c5576a7c5 Reduce gyro mouse deadzone 2017-10-13 02:48:44 -05:00
Travis Nickles
f04ab88f69 Rename method 2017-10-13 01:27:21 -05:00
Travis Nickles
ed09317f14 Fix toggling Hide DS4 Controller option 2017-10-12 21:15:42 -05:00
Travis Nickles
0c303a091a Correct touchpad toggle messages 2017-10-11 21:26:21 -05:00
Travis Nickles
036cfcb34d Use refresh calibration method when creating DS4Device instance 2017-10-11 18:57:11 -05:00
Travis Nickles
0df84e1fba Refresh calibration data when pairing to or disconnecting a device from the Sony dongle 2017-10-11 18:55:15 -05:00
Travis Nickles
3a09132805 Fix reading calibration report values. Take connection type into account 2017-10-11 18:48:52 -05:00
Travis Nickles
d1e0be33de Fix calibration report id for BT 2017-10-11 18:24:14 -05:00
Travis Nickles
320c3ee6f6 Make sure to add device serial to HashSet when DS4Device instance is created
Make sure USB charging does not create second DS4Device instance
2017-10-11 18:07:34 -05:00
Travis Nickles
73450834bc Remove unused field 2017-10-10 21:42:49 -05:00
Travis Nickles
b1cd3a76e9 First acceptable version of gyro calibration support
Related to issue #103.
2017-10-10 17:45:42 -05:00
Travis Nickles
957ad3b1d5 Tweak updating of pending output report 2017-10-07 00:55:14 -05:00
Travis Nickles
3425a0edb3 Version 1.4.96 2017-10-06 13:37:37 -05:00
Travis Nickles
169b1027cb Updated Spanish translation provided by jose350
Related to issue #124.
2017-10-06 11:51:54 -05:00
Travis Nickles
93e933aadf Add extra search folder for compiled localization files
Related to issue #124.
2017-10-06 02:29:57 -05:00
Travis Nickles
6ab0f3f020 Make sure one full wheel click is used per action 2017-10-05 22:00:04 -05:00
Travis Nickles
2622aa46b6 Populate tool tip with input delay info no matter which connection type is used
Related to issue #28.
2017-10-05 16:06:27 -05:00
Travis Nickles
16f6f5be32 Change main device list to be dependent on device path rather than mac address
Should resolve issue #71.
2017-10-05 00:24:53 -05:00
Travis Nickles
5ac42d1fe1 Set a neutral language for the application
Seems to improve application performance
2017-10-03 23:32:00 -05:00
Travis Nickles
67b2c2ff4a Fix service start text for tray icon context menu
Related to issue #122.
2017-10-03 18:14:12 -05:00
Travis Nickles
4f4bf78bea Fixed service changing when dinput only mode has changed 2017-10-02 13:38:39 -05:00
Travis Nickles
22912dff50 Add headphone volume support for DS4 v2 controllers 2017-10-02 03:16:57 -05:00
Travis Nickles
c5ef4196bd Version 1.4.95 2017-09-21 18:13:01 -05:00
Travis Nickles
8f287a3714 Reset gyro trigger items and touchpad invert items before parsing triggers 2017-09-20 22:04:22 -05:00
Travis Nickles
2e8aee10e0 Default touchpad jitter compensation to true again
The current settings work pretty well and
would probably be preferred
2017-09-20 21:44:31 -05:00
Travis Nickles
f96731ea8a Correct reverse smoothing buffer traversal 2017-09-20 21:39:55 -05:00
Travis Nickles
cdb17f43a7 Change touchpad jitter compensation 2017-09-20 21:19:42 -05:00
Travis Nickles
39d0579f09 Change SixAxis routines
Hopefully I won't regret this later
2017-09-20 11:34:53 -05:00
Travis Nickles
9ae43db945 Remove unused parameters from method call 2017-09-20 00:52:33 -05:00
Travis Nickles
62051665bd Tweak pulse charging routine 2017-09-19 22:08:03 -05:00
Travis Nickles
6348720776 Minor tweak 2017-09-19 21:36:33 -05:00
Travis Nickles
ac4e940605 Split flash duration into segments.
Needed to reduce CPU usage while flashing is active
2017-09-19 21:13:46 -05:00
Travis Nickles
98c1a9ff41 Remove unused list 2017-09-19 20:42:10 -05:00
Travis Nickles
e8880c5d28 Minor tweak 2017-09-17 13:37:31 -05:00
Travis Nickles
a2478fcb90 Version 1.4.94 2017-09-10 13:28:26 -05:00
Travis Nickles
64f51675c7 Changed ControlService thread 2017-09-08 01:29:35 -05:00
Travis Nickles
d7f74815e1 Changed thread affinity of ControlService instance
Seems to help. Only tested with Gex so far using KB emulation.
Need to try some other games
2017-09-07 22:37:56 -05:00
Travis Nickles
67430aa18d Version 1.4.93 2017-09-07 02:53:33 -05:00
Travis Nickles
1961307c6d Remove BackgroundWorker instance. Use simple thread instead 2017-09-06 05:21:03 -05:00
Travis Nickles
e847fd6458 Tweak temp thread creation 2017-09-05 21:28:54 -05:00
Travis Nickles
c6d7507a01 Trim code. Use namespace 2017-09-05 04:27:24 -05:00
Travis Nickles
ec3ebb73b5 Minor tweaks 2017-09-05 03:34:49 -05:00
Travis Nickles
acb15eb7f8 Change old url to updater. Minor tweaks. 2017-08-29 21:57:31 -05:00
Travis Nickles
506ab59894 Version 1.4.92 2017-08-28 13:59:29 -05:00
Travis Nickles
1fedb61d2b Change thread affinity of BackgroundWorker 2017-08-27 21:26:36 -05:00
Travis Nickles
c8809f37cb Thread priority changes 2017-08-27 03:45:35 -05:00
Travis Nickles
e0daa9683f Version 1.4.91 2017-08-26 13:07:32 -05:00
Travis Nickles
1493e1619b Raise hotplug delay timeout 2017-08-26 13:05:33 -05:00
Travis Nickles
e6df8c939e Add sleep period before hotplug routine
Needed for first output report to be received
2017-08-26 06:28:42 -05:00
Travis Nickles
6190ddff9b Change thread affinity of DS4Device objects
Drastically improves performance. Might be able to remove the
need for the separate input thread later.
2017-08-26 04:25:42 -05:00
Travis Nickles
150476d6aa Using directives matter 2017-08-26 00:49:39 -05:00
Travis Nickles
51ba40541a Version 1.4.90 2017-08-25 19:17:21 -05:00
Travis Nickles
ea858feafa Make sure uiContext is available for invoking events 2017-08-25 16:38:17 -05:00
Travis Nickles
33966389a4 Take out async keyword from hotplug routine. Delegate to different thread.
Further testing should be done to make sure there are no
regressions.
2017-08-25 03:59:32 -05:00
Travis Nickles
644c674a27 Remove async usage in method 2017-08-24 23:08:35 -05:00
Travis Nickles
3e217266c5 Remove unnecessary async call. Run in different thread 2017-08-24 21:50:03 -05:00
Travis Nickles
85479184be Make sure profiles list is not rendered while options form is open 2017-08-24 04:29:08 -05:00
Travis Nickles
1f4464271e Random tweak. Minor change drastically increases GUI performance 2017-08-24 01:34:02 -05:00
Travis Nickles
e4365c6c40 Remove timer usage for program scanning 2017-08-23 05:12:36 -05:00
Travis Nickles
51a18545e2 Only refresh ListView once items are added 2017-08-23 04:34:58 -05:00
Travis Nickles
e3f99fb9e3 Minor tweaks 2017-08-23 02:51:09 -05:00
Travis Nickles
123e6a20c0 Minor tweak 2017-08-22 21:13:01 -05:00
Travis Nickles
2ea4967486 Change input key method to return DS4Controls value instead of string 2017-08-22 19:52:32 -05:00