Commit Graph

714 Commits

Author SHA1 Message Date
Travis Nickles
1cfa8356d9 Fix typecast 2018-02-04 14:18:49 -06:00
Travis Nickles
86ee71e596 Change timer usage for WelcomeDialog 2018-01-31 00:04:56 -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
90e2e73dca Removed query by all classes 2018-01-29 13:22:56 -06:00
Travis Nickles
13e48f835f Changed argument for function call 2018-01-29 02:53:16 -06:00
Travis Nickles
3984775d0c Use environment info for finding start menu programs path
Fixes issue #202.
2018-01-28 23:38:10 -06:00
Travis Nickles
a1e99344d2 Allow ScpVBus device to be found even when disabled. Reset device rumble state on next poll when loading a profile. 2018-01-28 23:21:49 -06:00
Travis Nickles
64d1eadb94 Removed unused assembly 2018-01-28 02:34:35 -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
4eb831f9b6 Added donation notes 2018-01-26 20:32:31 -06:00
Travis Nickles
4cfe5463a7 Added Sony Wireless Adapter to HidGuardian AffectedDevices list 2018-01-26 17:51:03 -06:00
Travis Nickles
5836bca739 Moved Help label for Chinese translations back to the main form
Location was set outside the bounds of the form so it was
not visible
2018-01-26 16:35:17 -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
710c820539 Minor tweak 2018-01-26 00:49:28 -06:00
Travis Nickles
b3c9796fbb Finally found good config for removing IWshRuntimeLibrary dependency
Related to issue #151.
2018-01-26 00:41:20 -06:00
Travis Nickles
dc18449179 Added link to open regedit to HidGuardian Parameters key 2018-01-25 20:05:49 -06:00
Travis Nickles
30dd8c48f6 Set Lang as default probing path
Otherwise, probing path is set after folder scanning occurs.
Related to issue #196.
2018-01-25 18:14:35 -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
783394e34c Revert default language for Options form 2018-01-25 17:20:54 -06:00
Travis Nickles
71141fd642 Updated Options form layout for Chinese locale
Related to issue #197.
2018-01-25 17:18:30 -06:00
Travis Nickles
1db49396cc Remove old app config file 2018-01-25 16:29:50 -06:00
Travis Nickles
b8bc00a5b9 Add BTC public address 2018-01-25 16:16:54 -06:00
Travis Nickles
3caf4fa514 Add HidGuardian AffectedDevices link to settings 2018-01-25 15:40:59 -06:00
Travis Nickles
84f1e7caae Merge branch 'language-switch' of https://github.com/czukowski/DS4Windows into czukowski-language-switch 2018-01-18 00:03:55 -06:00
Travis Nickles
f7bcca189a Version 1.4.109 2018-01-15 23:29:21 -06:00
Travis Nickles
4c0bbb5bf8 Take off portion of device name that is susceptible to localization 2018-01-15 17:42:47 -06:00
Travis Nickles
be10ab29b2 Minor tweak 2018-01-15 01:12:12 -06:00
Travis Nickles
b9bc51e873 Changed headphone volume curve to more closely resemble control outside of program
Related to issue #168.
2018-01-15 00:06:28 -06:00
Travis Nickles
cfbf7afe22 Minor tweak 2018-01-13 06:14:52 -06:00
Travis Nickles
a1a54c8429 Minor tweak for speed 2018-01-13 05:18:23 -06:00
Travis Nickles
fd9c56f13d Fix output curves for sixaxis 2018-01-13 04:00:57 -06:00
Travis Nickles
55f3e5ef66 Change sixaxis dead zone defaults to reflect recent changes 2018-01-12 22:48:20 -06:00
Travis Nickles
caf6a37ac3 Fix ForeColor for Swipe Control labels 2018-01-12 03:41:07 -06:00
Travis Nickles
beca066207 Need to populate firstTouch object because Touch instances are being reused
Related to issue #190.
2018-01-12 00:45:16 -06:00
Travis Nickles
fda67e7fba Remove unnecessary try-catch block in HidLibrary
Newer HidLibrary did not work out.
Related to issue #180.
2018-01-11 22:31:49 -06:00
Travis Nickles
b71b3ec820 Comment out exception throw when device fails to disable
Seems to be necessary so DS4 does not get permanently disabled.
Experienced while running Broforce. Related to issue #172.
2018-01-10 15:27:39 -06:00
Travis Nickles
1ac7b79a10 Fix problem with rapid touchpad mouse action clicks
Related to issue #185.
2018-01-07 21:56:28 -06:00
Travis Nickles
4a39ee57af Version 1.4.108 2018-01-07 12:34:45 -06:00
Travis Nickles
42a67143ea Fix for device plugin changes while switching profiles 2018-01-07 11:44:04 -06:00
Travis Nickles
3dabad0be6 Make sure to use double for trackball friction when loading profile 2018-01-07 09:52:37 -06:00
Travis Nickles
ec9926cb69 Changed trackball constants 2018-01-03 04:31:25 -06:00
Travis Nickles
f906554743 Use proper delta time for trackball mode
It had been using the previous poll delta time instead
2018-01-03 03:55:40 -06:00
Travis Nickles
4bb6b08f72 Initial implementation of trackball mode
Related to issue #85
2018-01-01 12:21:35 -06:00
Travis Nickles
1d238e8b8b Fixed index bug in hotplug routine 2017-12-31 09:11:46 -06:00
Travis Nickles
09e5d20bb0 Reuse Touch instances for DS4Touchpad rather than creating new instances 2017-12-22 02:31:14 -06:00
Travis Nickles
9e9349ed1c Update Task Scheduler to version 2.7.2 2017-12-21 23:33:37 -06:00
Travis Nickles
3d387e5fde Change six axis dead zone calculation to be a proper dead zone 2017-12-20 22:19:40 -06:00
Korney Czukowski
fa15a27d84 Add one localization missed before 2017-12-20 07:50:29 +01:00
Korney Czukowski
02d94876c3 Add language switch control to form, localization strings 2017-12-20 07:29:16 +01:00
Korney Czukowski
ae294d8926 Get rid of properties starting with underscore 2017-12-20 07:03:34 +01:00
Travis Nickles
c988449129 Version 1.4.107 2017-12-19 23:44:24 -06:00
Korney Czukowski
a06b1d6e27 Review code simplify suggestion, reorder private properties 2017-12-19 18:15:50 +01:00
Korney Czukowski
40b0c94905 Make control localizable 2017-12-19 18:14:22 +01:00
Korney Czukowski
acfb9b2629 Initialize languages list asynchronously 2017-12-19 14:24:50 +01:00
Korney Czukowski
0ea620ffa0 Remove extra whitespace 2017-12-19 14:14:13 +01:00
Korney Czukowski
300e842cb2 Filter language assemblies by name 2017-12-19 14:13:43 +01:00
Korney Czukowski
d0ad9d89cb Implement language assemblies lookup for ability to find with different probing paths specified in App.config 2017-12-19 13:56:54 +01:00
Korney Czukowski
847e0bd6b9 Move set culture method to DS4Form class 2017-12-16 13:24:57 +01:00
Travis Nickles
e6bab70de2 Break out of TouchUnchanged case more quickly 2017-12-14 20:54:32 -06:00
Korney Czukowski
8297f4cd75 Hide properties from designer, it should not autogenerate any code for them 2017-12-14 19:42:08 +01:00
Korney Czukowski
60916e1080 Fix setting UI culture for other threads 2017-12-14 19:40:44 +01:00
Travis Nickles
71b91bc745 Remove extra gyro dead zone from mapping routine 2017-12-14 00:26:37 -06: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
Korney Czukowski
f0b645b7e5 Add Language picker control 2017-12-12 21:50:51 +01:00
Korney Czukowski
babb48ac51 Add UseLang key to settings 2017-12-12 21:49:44 +01:00
Travis Nickles
2844fad8ab Version 1.4.106 2017-12-11 20:50:07 -06:00
Travis Nickles
2ecfef69f2 Update DS4Updater version number 2017-12-11 20:33:14 -06:00
Travis Nickles
3d586649c9 Version 1.4.105 2017-12-11 20:08:47 -06:00
Travis Nickles
41fa8cac82 Use delegate method of grabbing struct reference
Might replace the delegate with a class method later
but this method works pretty well as is
2017-12-11 03:57:48 -06:00
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