Commit Graph

297 Commits

Author SHA1 Message Date
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
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
4bb6b08f72 Initial implementation of trackball mode
Related to issue #85
2018-01-01 12:21:35 -06: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
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
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
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
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
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
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
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
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
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
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
43755226a2 Tweak Settings tab checkboxes 2017-11-15 20:30:47 -06:00
Travis Nickles
de8934f7ab Increase initial delay before running hotplug routine 2017-11-11 22:53:41 -06:00
Travis Nickles
37a067515d Remove unused event handlers 2017-11-11 13:07:26 -06:00
Travis Nickles
44c075f021 Use arch info to grab relevant updater exe 2017-11-10 11:49:38 -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
e0aaa37493 Minor tweak 2017-11-06 01:56:48 -06:00
Travis Nickles
5df02aafa7 Save form position
Related to issue #142.
2017-11-05 20:18:36 -06: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
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
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
169b1027cb Updated Spanish translation provided by jose350
Related to issue #124.
2017-10-06 11:51:54 -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
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
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
acb15eb7f8 Change old url to updater. Minor tweaks. 2017-08-29 21:57:31 -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
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
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
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
Travis Nickles
0817da3864 Minor tweaks. Use different timer class for some timers.
Take some routines out of the main thread
2017-08-22 17:37:39 -05:00
Travis Nickles
5df34b8378 Trim event handler method. Add name for timeout threads.
Decent performance boost with this change
2017-08-21 05:25:18 -05:00
Travis Nickles
ece7b25f0c Minor tweaks 2017-08-19 18:48:06 -05:00
Travis Nickles
560777710d Use correct bounds for touchpad invert disabling. Allow PS to be selectable.
Resolves issue #108.
2017-08-18 20:50:38 -05:00
Travis Nickles
3e39d688d4 Minor tweak. Remove one BeginInvoke call in form method. 2017-08-18 02:40:09 -05:00
Travis Nickles
5618bdb270 Minor tweaks 2017-08-16 18:00:44 -05:00
Travis Nickles
cb599a984f Make touchpad jitter compensation default to false 2017-08-06 19:50:49 -05:00
Travis Nickles
8ae6e062e3 Add experimental touchpad invert disable routine. Raise mouse stick offset 2017-08-04 22:36:46 -05:00
Travis Nickles
4d31294bfb Change build string in about window 2017-08-04 22:25:03 -05:00
Travis Nickles
22babe9ded Trim hotplug launching routine to speed up main thread 2017-08-01 02:42:59 -05:00
Travis Nickles
5a84f8b2e3 Added sixaxis output curve options 2017-07-19 18:17:11 -05:00
Travis Nickles
fd1479f09f Added output curve options for L2 and R2 2017-07-19 15:15:59 -05:00
Travis Nickles
ec130f6156 Add sixaxis anti-deadzone settings 2017-07-18 19:44:55 -05:00
Travis Nickles
7ddd2c1bf5 Add sixaxis max zone setting 2017-07-18 17:28:16 -05:00
Travis Nickles
8eb9d6391f Some optimizations 2017-07-18 15:37:01 -05:00
Travis Nickles
8a6ecb9fe0 Correct default BT poll rate option 2017-07-17 17:50:18 -05:00
Travis Nickles
dba2b1bbb3 Tweaks to how imu data is used 2017-07-16 07:11:58 -05:00
Travis Nickles
6e1b9004de Minor optimizations 2017-07-15 08:50:38 -05:00
Travis Nickles
10621b8c69 Change trackbar value for gyro 2017-07-14 22:41:00 -05:00
Travis Nickles
53b0de087c Allow gyro roll to control mouse x axis. Related to issue #90. 2017-07-14 07:46:45 -05:00
Travis Nickles
56fff28f65 Try to correct some problems with imu data usage 2017-07-13 08:17:00 -05:00
Travis Nickles
c0403fa7ab Add touchpad mouse axis inverting. Related to issue #83. 2017-07-12 22:39:46 -05:00
Travis Nickles
6f069482a2 Minor optimizations 2017-07-12 08:04:37 -05:00
Travis Nickles
25be090c89 Only pop up confirm window when user explicitly closes application. Related to issue #82. 2017-07-03 17:33:45 -05:00
Travis Nickles
d2d72cda9f FIx tooltip text regarding device battery status. Related to issue #78. 2017-06-30 07:01:54 -07:00
Travis Nickles
dbc33d1986 Tweak routine for runtime 2017-06-30 06:46:54 -07:00
Travis Nickles
625483530a Merge branch 'confirm-on-close' of https://github.com/rafsanjani/DS4Windows into rafsanjani-confirm-on-close 2017-06-30 05:53:24 -07:00
Travis Nickles
d74820dbf5 Add rotation routine for LS and RS 2017-06-30 01:42:19 -07:00
Travis Nickles
b34c258a59 Fix another version comparison 2017-06-29 18:28:36 -07:00
Travis Nickles
484337f42f Add gyro mouse smoothing routine 2017-06-28 21:42:16 -07:00
Travis Nickles
2e74fd67c1 Fixed a couple of urls. Resolves issue #75. 2017-06-27 01:57:38 -07:00
Aziz Rafsanjani
dcd5b74472 If 'Close Minimizes' is unchecked then prompt user for confirmation when Main Form is closed 2017-06-25 18:07:48 +00:00
Travis Nickles
588c2d4385 Add vertical scale for gyro mouse mode 2017-06-24 02:52:39 -07:00
Travis Nickles
2d58034415 Allow gyro button triggers to disable gyro 2017-06-22 00:43:44 -07:00
Travis Nickles
08be7f1060 Improve readability. Make sure to reset recordingMacro flag when closing form. 2017-06-19 21:36:36 -07:00
Travis Nickles
9fd97ee467 Make sure to perform null check before invoking event handler 2017-06-12 06:14:22 -07:00
Travis Nickles
2cf33e1bba Test hotplug changes. Change mouse remainder cutoff 2017-06-11 08:15:45 -07:00
Travis Nickles
54f0f49680 Change tab page text 2017-06-08 11:07:04 -07:00
Travis Nickles
751e4f4e7a Add initial output curve options 2017-06-08 00:37:04 -07:00
Travis Nickles
ce0ac4f04a Make sure multi-action button can work with touchpad area button 2017-06-05 01:31:29 -07:00
Travis Nickles
2583361e46 Notify text refactor
Making into a separate commit for future inspection
2017-06-05 01:29:02 -07:00
Travis Nickles
5c5e983ec1 Make sure to update tray icon text 2017-06-04 19:13:14 -07:00
Travis Nickles
95495c7585 Do not launch program with profile twice for auto profiles
Related to issue #50.
2017-06-03 03:20:46 -07:00
Travis Nickles
5a0fb09291 Update serial for Sony dongle connection upon sync event
Related to issue #44.
2017-05-25 02:51:28 -07:00
Travis Nickles
f65897a4d6 Add tooltip for use controller for mapping controls 2017-05-20 19:00:23 -07:00
Travis Nickles
59d30bcf3a Minor code tweaks. Change event handler usage for lVActions. 2017-05-20 03:38:12 -07:00
Travis Nickles
4be1829c91 Code clean up. Reduce property usage for controller readout. 2017-05-19 21:59:47 -07:00
Travis Nickles
4c99cfd7cf Update source and donation links 2017-05-19 17:53:57 -07:00
Travis Nickles
1ef0b04dbc Fixed bug with code executing with no user input
This should not be happening in the first place
2017-05-17 10:59:49 -07:00
Travis Nickles
84fdb26d18 Reset old backstore profile values before loading new profile values 2017-05-17 06:11:32 -07:00
Travis Nickles
b370d57bc3 Make Import Profile button enabled at all times 2017-05-17 02:10:15 -07:00
Travis Nickles
2b741533bb Minor optimizations 2017-05-17 01:59:09 -07:00
Travis Nickles
1958f082c5 Change battery status change reporting 2017-05-17 00:57:06 -07:00
Travis Nickles
ac23921978 Allow BT poll rate to be specified. Use thread action queue now. Some bug fixes 2017-05-16 23:02:12 -07:00
Travis Nickles
9b78668935 Test new action invocation on input threads.
Only used to transfer idle disconnect time but
it might be more useful in the future.
2017-05-13 19:31:39 -07:00
Travis Nickles
d02317b5a4 Minor code clean up 2017-05-13 16:47:04 -07:00
Travis Nickles
7a1b382c5a Code clean up 2017-05-12 22:54:29 -07:00
Travis Nickles
edeaa30b59 Code clean up. Reset xinput mapping for more bound actions. 2017-05-12 07:48:58 -07:00
Travis Nickles
f3c9e08398 Minor changes 2017-05-11 08:13:51 -07:00
Travis Nickles
81b54a7dd9 Change plugin and unplug routines with ScpVBus 2017-05-11 06:41:18 -07:00
Travis Nickles
72108184d0 Do not auto launch program when starting DS4Windows 2017-05-10 00:31:12 -07:00
Travis Nickles
e620dce4b9 Minor clean up 2017-05-09 17:23:51 -07:00
Travis Nickles
9e512deaeb Change timer usage for main form 2017-05-09 07:24:46 -07:00
Travis Nickles
6074445c03 Attempt at better clean up when removing devices
Use SynchronizationContext to run some tasks in main thread
as opposed to input thread
2017-05-09 03:11:50 -07:00
Travis Nickles
22ebca3e01 Make sure extra flags are populated in more places for special actions 2017-05-08 07:29:38 -07:00
Travis Nickles
5bfd6df2d3 Added max zone settings 2017-05-05 09:13:12 -07:00
Travis Nickles
6b706adb02 Use Dictionary to cache some data in Options form 2017-05-05 01:28:45 -07:00
Travis Nickles
1535ec18d6 Change how hover text is displayed. Added some tooltips to DS4Form. Minor changes. 2017-05-04 20:15:22 -07:00
Travis Nickles
0e923ea0ee Do not auto disconnect all controllers when opening options form when DInput only mode is enabled. 2017-05-04 18:12:44 -07:00
Travis Nickles
1876d0a3a3 Minor edits 2017-05-02 08:00:54 -07:00
Travis Nickles
272eba4432 Only read one touch packet 2017-05-02 06:29:46 -07:00
Travis Nickles
633b0d224f Add UAC icon for Run At Startup Task option. Fix option access. 2017-05-01 22:05:58 -07:00
Travis Nickles
5dca9d5dbb Add task delay back in for hotplug routine 2017-05-01 18:32:23 -07:00
Travis Nickles
400ba4f293 Fix process starting issue when activating exclusive mode
Only one hotplug request should be processed at a time now.
Hopefully this fixes issues with devices staying disabled
2017-05-01 11:28:07 -07:00
Travis Nickles
d37e0709c0 More log messages. Tweak DisconnectBT. Other minor changes. 2017-05-01 02:29:19 -07:00
Travis Nickles
242843ab99 Another attempt at fixing Quick Charge to work better for other users
Hotplugging happens quicker now
2017-04-30 02:29:00 -07:00