Commit Graph

55 Commits

Author SHA1 Message Date
Travis Nickles
3f68c9bcb8 Removed usage of some unused namespaces
The only real import one is remove System.Windows.Forms
for non GUI items
2017-04-30 06:42:09 -07:00
Travis Nickles
6716291a95 Found issue with IEnumerable in this case. Use temp list instead. 2017-04-29 21:37:28 -07:00
Travis Nickles
83c7bb7740 Minor optimization for device refreshing and profile switching 2017-04-29 01:19:45 -07:00
Travis Nickles
ca2074d76f Version 1.4.65 2017-04-28 11:57:33 -07:00
Travis Nickles
44501c24de Revert back to old disconnect bluetooth behavior 2017-04-26 18:39:33 -07:00
Travis Nickles
508c2b2067 Rename new hotkey option. Some optimizations for Options form. 2017-04-26 14:51:15 -07:00
Travis Nickles
2a20350b6b Some minor changes 2017-04-25 20:07:02 -07:00
Travis Nickles
ea3b1401f0 Only update battery status for one controller instead of entire controller list
Event is also executed async now.
2017-04-25 02:24:14 -07:00
Travis Nickles
00b6c5e1ea Add new byte mapping and xy axis mapping methods 2017-04-24 07:16:42 -07:00
Travis Nickles
e34e8115ad Fix some button mapping issues. Style changes. Change runStartupPanel 2017-04-24 02:43:56 -07:00
Travis Nickles
ade55d3b9f Change methods to check for null thread objects
It looks like there are cases when the stop update
methods could be called before the thread objecs are
created
2017-04-22 19:46:50 -07:00
Travis Nickles
3e4a5c0562 Fixes for Quick Charge mode
Resolves issue #19.
2017-04-22 07:49:01 -07:00
Travis Nickles
ecb271cfb1 Fixed readout of battery status
ds4drv showed that the method used before was not
correct
2017-04-22 07:00:12 -07:00
Travis Nickles
23ee6f9d8a Minor style changes and excess removed 2017-04-22 00:26:44 -07:00
Travis Nickles
52c5fde941 Some minor changes 2017-04-21 21:22:36 -07:00
Travis Nickles
9173ab72fe Cache control to state field information to speed up some methods 2017-04-21 02:48:13 -07:00
Travis Nickles
32cbd77708 Minor edits to improve readability 2017-04-20 20:09:08 -07:00
Travis Nickles
6c83ca2470 Calculate stick angles for each state change 2017-04-16 02:54:34 -07:00
Travis Nickles
92b4e2da24 Trim more property usage 2017-04-15 23:22:04 -07:00
Travis Nickles
beadb313ff Only access length property once in for loop 2017-04-11 19:26:08 -07:00
Travis Nickles
0f705e667e Remove unneeded warn field usage 2017-04-09 01:17:52 -07:00
Travis Nickles
da3efd2589 Fix idle disconnect for Sony Dongle connections
Related to issue #13
2017-04-08 16:13:56 -07:00
Travis Nickles
f050df5f81 Change input delay warning status depending on connection type.
No longer use a fixed interval
2017-04-07 08:59:15 -07:00
Travis Nickles
7ae8e0deb8 Allow idle disconnect for sony dongle 2017-04-06 20:24:16 -07:00
Travis Nickles
6ae80efad4 Make sure idle disconnect can work 2017-04-06 13:05:16 -07:00
Travis Nickles
a239f50192 Remove unnecessary timer and add some minor tweaks 2017-04-06 11:58:47 -07:00
Travis Nickles
a65dfa0624 Only attempt device removal on exit when using Sony dongle 2017-04-06 08:30:41 -07:00
Travis Nickles
51cbe22a90 Tweak disconnect routine 2017-04-06 01:19:12 -07:00
Travis Nickles
5c74a00d90 Allow disconnect routines to work with Sony Dongle.
The main routine was made by aspalmer.
2017-04-05 18:37:38 -07:00
Travis Nickles
bfbcc15df5 Detect the Sony Wireless Adaptor as its own connection type 2017-04-05 16:51:20 -07:00
Travis Nickles
a0cff7ba30 Fixed issue with an unreleased lock blocking device removal. Fixed chance for duplicate log entries for device removal.
Resolves issue #7.
2017-03-29 17:44:10 -07:00
Travis Nickles
a2fb603d72 Minor enhancements. Update changelog link. Add sleep period to reEnableDevice method. 2017-03-29 07:26:07 -07:00
Travis Nickles
a167132c0a Merge https://github.com/ondr3j/DS4Windows into ondr3j_audio 2017-03-29 02:12:37 -07:00
Travis Nickles
7d6e33ba2f Remove some property usage and minor improvements 2017-03-28 01:48:02 -07:00
Travis Nickles
d363257205 Use plain for loop instead of foreach.
There is a noticeable speed difference.
2017-03-27 08:19:10 -07:00
Travis Nickles
82c3d4beff Try getting around wait yet again 2017-03-25 01:29:25 -07:00
Travis Nickles
156b7103e6 Make ds4 threads background threads. Still trying to make output thread exit gracefully.
The switch to using background threads reduced input lag.
2017-03-24 08:06:01 -07:00
Travis Nickles
9d190fcaf7 Correct issue when two threads try to abort ds4Output thread simultaneously 2017-03-24 01:08:31 -07:00
Travis Nickles
4e33578686 Remove some property usage and use explicit getter methods instead.
This shouldn't have been necessary but testing with optimized
release builds has shown that the overhead of using properties
frequently introduces undesired input lag.
2017-03-23 19:32:33 -07:00
Travis Nickles
3e0e5bebfc Change interval used for warnings depending on protocol 2017-03-23 01:12:50 -07:00
Travis Nickles
bd73978204 More testing of threading changes. 2017-03-22 23:39:31 -07:00
Travis Nickles
d295c1af2a Change thread priority back to AboveNormal. Change how threads are killed. 2017-03-22 19:35:18 -07:00
Travis Nickles
7f1a7485a7 Rename static property 2017-03-22 02:41:04 -07:00
Travis Nickles
5dbc193351 Reduced input lag by implementing overlapped IO and changing threading 2017-03-22 00:52:54 -07:00
Travis Nickles
0dd442f813 Use Highest thread priority
It does improve input lag slightly with
no real impact on CPU usage
2017-03-20 15:17:43 -07:00
Travis Nickles
2b00244c62 Raise thread priority.
Using AboveNormal priority for now. Test Highest priority
at some point.
2017-03-19 07:09:57 -07:00
Travis Nickles
1f42e17996 Merge tracking branch 'lag_reduce' into jay 2017-03-19 00:45:28 -07:00
Travis Nickles
36cc2c5012 Add flags to reduce input lag 2017-03-09 16:07:17 -08:00
Travis Nickles
57da16278e Simplify interpreting dpad state 2017-02-18 02:58:44 -06:00
Ondrej Patrovic
2a0cc058e7 Fix disappearing audio with DS4 wireless dongle 2016-11-21 20:06:38 -05:00