Commit Graph

87 Commits

Author SHA1 Message Date
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
a11e4c9e6d Fix typo 2017-04-21 20:01:20 -07:00
Travis Nickles
8c02cb7309 Some changes made for lightbar modes 2017-04-21 19:58:27 -07:00
Travis Nickles
03029b32c0 More usage of cached data 2017-04-21 06:29:25 -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
5aff8d95f0 Trim some property usage 2017-04-15 22:15:54 -07:00
Travis Nickles
efeaf852ac Make sure analog to analog controls work as expected 2017-04-15 11:16:13 -07:00
Travis Nickles
269ca4782f Fix drifting mouse around dead zone 2017-04-15 00:07:56 -07:00
Travis Nickles
babed4eaf1 Speed up event detection for options window. Use angle for stick dirs controls instead of using an extra dead zone. 2017-04-14 20:11:48 -07:00
Travis Nickles
9de2f436e5 Make sure remainder is used for mouse movement. Minor changes to mouse movement routine. 2017-04-14 00:55:22 -07:00
Travis Nickles
c0152f58c9 Tweak mouse mapping method 2017-04-13 20:23:44 -07:00
Travis Nickles
d72c8539e9 Change keyboard events to use both vk and scan code. 2017-04-13 19:50:46 -07:00
Travis Nickles
2ca4d8c727 Optimizations for event commit method 2017-04-12 14:55:35 -07:00
Travis Nickles
af3c1c8531 Minor optimizations 2017-04-12 13:54:38 -07:00
Travis Nickles
65e7add5b3 Replace foreach loop for dictionary usage 2017-04-12 01:21:51 -07:00
Travis Nickles
4ea9289a0d Make sure profile loading and saving works for X360Controls actions 2017-04-11 14:56:37 -07:00
Travis Nickles
24865da04b Insert some more DS4Controls ids 2017-04-11 14:02:32 -07:00
Travis Nickles
31303fbb4d Change default DS4 to X360 binding to not use an explicit action 2017-04-11 13:57:39 -07:00
Travis Nickles
935bcb43f2 Change foreach loop to for loop 2017-04-11 01:13:27 -07:00
Travis Nickles
fd2eb0f006 Move if statements around and replace some foreach loops 2017-04-11 00:57:22 -07:00
Travis Nickles
7bb6a6cdbc Skip unneeded string operation that slows down actions 2017-04-10 23:19:24 -07:00
Travis Nickles
4a6f2fc278 Tweak button mapping translation 2017-04-09 10:14:44 -07:00
Travis Nickles
4ae7be8823 Missed one minor optimization before 2017-04-09 00:42:53 -07:00
Travis Nickles
c7231164d9 Refactor some mapping methods 2017-04-09 00:38:33 -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
a6adf886dc More mapping translation speed up 2017-04-08 10:31:59 -07:00
Travis Nickles
a0811aa047 Create cache arrays and group statements to speed up output mapping 2017-04-08 02:00:50 -07:00
Travis Nickles
a1f103c483 Some small changes to the mapping routine 2017-04-07 17:13:19 -07:00
Travis Nickles
1a39c00a01 Fix profile action 2017-04-06 20:13:39 -07:00
Travis Nickles
773b90ebe1 Add details back for multiaction 2017-04-06 19:53:12 -07:00
Travis Nickles
91f36e4297 Fix errors when using multiple special actions 2017-04-06 18:16:12 -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
a85d1a50ab Change clause to use typeID instead of name string 2017-04-02 00:17:48 -07:00
Travis Nickles
03912ef1d5 Small performance change 2017-04-02 00:07:53 -07:00
Travis Nickles
54ffcf0201 Fix issue with actions not executing. Cache information for action execution. 2017-04-01 17:46:51 -07:00
Travis Nickles
2a5ee9abe3 Minor tweaks to speed up action execution 2017-03-31 22:42:10 -07:00
Travis Nickles
9a0966d966 Removed some property usage 2017-03-30 18:00:17 -07:00
Travis Nickles
f56d50c8a5 Remove some more unneeded loops from action detection 2017-03-30 07:07:04 -07:00
Travis Nickles
824a1e019c Faster action detection.
Trimmed a lot of foreach loops that slowed the method down.
2017-03-30 06:14:58 -07:00
Travis Nickles
550a860eaf Add anti-deadzone for L2 and R2. Tweak Options form. 2017-03-30 00:37:01 -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
96090fc857 Merge https://github.com/yonilerner/DS4Windows into jay 2017-03-29 03:06:03 -07:00
Travis Nickles
5ad4e83b58 Add null extras detection when opening button mapping window 2017-03-28 18:41:17 -07:00