Commit Graph

1777 Commits

Author SHA1 Message Date
Travis Nickles
9bf7e5911f Merge branch 'jay' into vigem-udpserver 2018-10-16 12:57:18 -05:00
Travis Nickles
722bdf9670 Loosened enhanced precision curves further
This seems to be as loose as it can be with the
DS4 analog stick and still be usable.
2018-10-16 12:56:51 -05:00
Travis Nickles
1f96021614 Merge branch 'jay' into vigem-udpserver 2018-10-15 17:20:40 -05:00
Travis Nickles
e317c6e84a Loosen enhanced precision curves 2018-10-15 17:20:05 -05:00
Travis Nickles
e5be19cb93 Merge branch 'jay' into vigem-udpserver 2018-10-15 03:06:39 -05:00
Travis Nickles
52674c7546 Version 1.5.11 2018-10-15 03:05:29 -05:00
Travis Nickles
60a0f3fda0 Fixed device event queueing 2018-10-15 03:01:13 -05:00
Travis Nickles
5f4844c4ce Merge branch 'jay' into vigem-udpserver 2018-10-15 02:27:06 -05:00
Travis Nickles
eb66f38167 Version 1.5.10 2018-10-15 02:22:44 -05:00
Travis Nickles
59deafd013 Merge branch 'jay' into vigem-udpserver 2018-10-13 02:14:25 -05:00
Travis Nickles
6474346f11 Replace stack with simple array in UdpServer 2018-10-13 02:13:42 -05:00
Travis Nickles
d63ea483d9 Merge branch 'jay' into vigem-udpserver 2018-10-12 02:25:29 -05:00
Travis Nickles
1ff066fcf9 Enforce static for SystemEvents.PowerModeChanged
Faster performance
2018-10-12 02:24:55 -05:00
Travis Nickles
2ef6fe312f Merge branch 'jay' into vigem-udpserver 2018-10-11 03:41:11 -05:00
Travis Nickles
af4425763d Added some optimizations 2018-10-11 03:38:52 -05:00
Travis Nickles
48265c750e Merge branch 'jay' into vigem-udpserver 2018-10-09 21:42:02 -05:00
Travis Nickles
3697848b58 Loosened enhanced precision curves 2018-10-09 15:49:45 -05:00
Travis Nickles
e25e0065d3 Version 1.5.9 2018-10-08 06:34:26 -05:00
Travis Nickles
d449f1df7f Merge branch 'jay' into vigem-udpserver 2018-10-08 05:52:57 -05:00
Travis Nickles
5efe6b556e Fixed issue with useDInput variable not being in correct state 2018-10-08 05:51:27 -05:00
Travis Nickles
1215d32ae5 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2018-10-03 16:38:20 -05:00
Travis Nickles
3bbdbe3a0f Attempt to reset KB+M controls after unplugging controller
Related to issue #438.
2018-10-01 19:18:52 -05:00
Travis Nickles
3aa558c85f Version of different gyro trigger conditional
Related to issue #431
2018-09-29 21:54:25 -05:00
Travis Nickles
1019499612 Resolve name collision with Log class and Diagnostics namespace
Makes app snappier
2018-09-29 04:42:22 -05:00
Travis Nickles
9b36f73ed5 Minor tweak to contribution that .NET wanted
Related to #406
2018-09-29 04:18:25 -05:00
Travis Nickles
c324434a05 Merge branch 'outofrangefix' of https://github.com/justalemon/DS4Windows into justalemon-outofrangefix 2018-09-29 03:18:35 -05:00
Travis Nickles
13005458f1 Increase timeout for exclusive attempt process 2018-09-18 03:39:59 -05:00
Travis Nickles
53ec1e2eef Test using stack of SocketAsyncEventArgs 2018-09-14 03:35:54 -05:00
Hannele Ruiz
55764919db Fixed out of range while checking the selected index 2018-08-28 07:44:26 -03:00
Travis Nickles
f99104f997 Merge branch 'jay' into vigem-udpserver 2018-08-24 17:58:54 -05:00
Travis Nickles
cbdace944f Version 1.5.8 2018-08-24 17:52:55 -05:00
Travis Nickles
77af92e722 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-24 17:38:00 -05:00
Travis Nickles
0896f044e8 Fixed problem with unplugging controllers causing cross thread problems 2018-08-24 17:35:57 -05:00
Travis Nickles
d0a60155ec Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-24 15:27:36 -05:00
Travis Nickles
0ce20cdfc8 Version 1.5.7 2018-08-24 15:22:31 -05:00
Travis Nickles
f2de4bc87d Change timer behavior
Using the Stop method is not enough apparently
2018-08-24 15:17:13 -05:00
Travis Nickles
ac360c426d Fixed issue with SONYWA connections having invalid calibration data 2018-08-20 13:14:34 -05:00
Travis Nickles
6f5b17ac37 Remove ui thread from unplug routine
Hotplug routine was starting before removal routine
was being started. No blocking was happening anyway
2018-08-20 04:35:41 -05:00
Travis Nickles
ac9e2411ac Fix variable scope for swap profile routine
Resolves issue #394
2018-08-19 14:03:55 -05:00
Travis Nickles
098bfef33c Merge branch 'jay' into vigem-udpserver 2018-08-18 02:21:18 -05:00
Travis Nickles
1eecdfa836 Version 1.5.6 2018-08-18 02:13:45 -05:00
Travis Nickles
39762a361a Delay execution of service start 2018-08-17 15:11:46 -05:00
Travis Nickles
41ebb0d716 Use BeginInvoke in timer method 2018-08-17 14:36:35 -05:00
Travis Nickles
b5b45a8983 Condense code paths for a section 2018-08-17 02:40:04 -05:00
Travis Nickles
3df7f24a7b Move code out of main form ctor 2018-08-17 02:20:53 -05:00
Travis Nickles
0358002e72 Remove some older unnecessary variables 2018-08-16 17:42:03 -05:00
Travis Nickles
e1743a76eb Merge branch 'jay' into vigem-udpserver 2018-08-13 02:16:49 -05:00
Travis Nickles
96907c5a6a Version 1.5.5 2018-08-13 02:12:48 -05:00
Travis Nickles
1ecd25c926 Only stop timers once 2018-08-13 01:58:00 -05:00
Travis Nickles
b263775395 Tweak 2018-08-13 01:09:11 -05:00
Travis Nickles
30a7e3b2c0 Minor tweak 2018-08-12 21:55:09 -05:00
Travis Nickles
3353b803c3 Quick fix for UDP server memory leak
Related to issue #388.
2018-08-12 01:06:02 -05:00
Travis Nickles
ea159ebe4b Merge branch 'jay' into vigem-udpserver 2018-08-11 02:40:18 -05:00
Travis Nickles
a6e9aea6fe Version 1.5.4 2018-08-11 02:38:53 -05:00
Travis Nickles
78383a77e6 Delay port change for when checkbox gets unchecked 2018-08-11 01:22:33 -05:00
Travis Nickles
262992f757 Change behavior of hotkeys timer 2018-08-10 21:43:11 -05:00
Travis Nickles
dbf2c63094 Change behavior of auto profile timer 2018-08-10 20:09:37 -05:00
Travis Nickles
b1cea0725c Invert bool for minimize to taskbar 2018-08-09 19:50:26 -05:00
Travis Nickles
9f4e12edc7 Merge branch 'jay' into vigem-udpserver 2018-08-08 16:51:32 -05:00
Travis Nickles
289d465b11 Version 1.5.3 2018-08-08 16:50:13 -05:00
Travis Nickles
1bc5da2c6d Merge branch 'jay' into vigem-udpserver 2018-08-08 03:55:32 -05:00
Travis Nickles
a86d8deb4a Some minor tweaks and fixes 2018-08-08 03:54:19 -05:00
Travis Nickles
561ba5c813 Use newer extension ViGEm method 2018-08-06 21:50:00 -05:00
Travis Nickles
c245b2fc2f Fixed build issue 2018-08-06 06:00:52 -05:00
Travis Nickles
8750d6ea08 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-08-06 05:57:53 -05:00
Travis Nickles
5c52cead54 UDP server management changes, UDP server options
Related to issue #228
2018-08-06 05:00:37 -05:00
Travis Nickles
b710c40f44 Added unchecked block 2018-08-04 01:43:02 -05:00
Travis Nickles
f3c64143e2 Added unchecked block 2018-08-04 01:39:46 -05:00
Travis Nickles
8962e493bf Use SendToAsync in another place 2018-08-04 00:51:10 -05:00
Travis Nickles
c3b4190b02 Use SendToAsync in another place 2018-08-04 00:48:28 -05:00
Travis Nickles
4c70b7a8f0 Use SendToAsync and uncheck to improve UDP server performance 2018-08-03 20:05:44 -05:00
Travis Nickles
57af817c00 Use SendToAsync and uncheck to improve UDP server performance 2018-08-03 20:01:00 -05:00
Travis Nickles
24403394ad Merge branch 'jay' into vigem-udpserver 2018-08-03 01:48:27 -05:00
Travis Nickles
28f3414a05 Merge branch 'jay' into udpserver 2018-08-03 00:46:19 -05:00
Travis Nickles
2e0d96fae2 Version 1.5.2 2018-08-01 11:05:26 -05:00
Travis Nickles
bd48966c7d Changed mouse hover events for some controls 2018-08-01 04:03:42 -05:00
Travis Nickles
0fc4cb1e32 Added unchecked blocks 2018-07-30 23:43:10 -05:00
Travis Nickles
a4002ade3a Added unchecked block around axis scaling 2018-07-30 17:01:15 -05:00
Travis Nickles
21350227c6 Added unchecked block for report generation 2018-07-30 16:35:58 -05:00
Travis Nickles
d74abc801f Merge branch 'jay' into vigem-udpserver 2018-07-29 11:40:23 -05:00
Travis Nickles
0f6eaed317 Merge branch 'jay' into udpserver 2018-07-29 10:59:02 -05:00
Travis Nickles
b527478a7b Version 1.5.1 2018-07-29 10:58:41 -05:00
Travis Nickles
9cc93f8128 Removed Form_Resize method for Options 2018-07-29 03:16:24 -05:00
Travis Nickles
f076752404 Loosen enhanced precision curve 2018-07-28 02:50:05 -05:00
Travis Nickles
521ce6835e Enable gcServer option in app config
Causes app to use more memory but reduces perceived
latency
2018-07-27 13:49:23 -05:00
Travis Nickles
7a45df4a30 Merge branch 'jay' into udpserver 2018-07-27 02:40:11 -05:00
Travis Nickles
e5cd923e03 Modify check for EventWaitHandle 2018-07-26 03:23:38 -05:00
Travis Nickles
ffbcdb21b3 More edits to program entry file 2018-07-26 02:42:28 -05:00
Travis Nickles
e86113f27b Edit main program entry file
using System.Runtime made the biggest difference
2018-07-26 02:14:07 -05:00
Travis Nickles
4cfbc098b0 Remove use of WaitHandle 2018-07-26 01:10:53 -05:00
Travis Nickles
cb8ffee055 Merge branch 'jay' into vigem-udpserver 2018-07-23 00:17:08 -05:00
Travis Nickles
b92156f57d Changed thread affinity of UdpServer instance 2018-07-23 00:15:47 -05:00
Travis Nickles
fc62708abf Changed thread affinity of UdpServer instance 2018-07-23 00:10:00 -05:00
Travis Nickles
5a4ed6c440 Merge branch 'jay' into udpserver 2018-07-23 00:06:16 -05:00
Travis Nickles
890db93fe8 Version 1.5.0 2018-07-22 21:58:48 -05:00
Travis Nickles
01ccc74cdd Added SuppressUnmanagedCodeSecurity attribute to ScpDevice class
Leads to a decent speedup
2018-07-22 03:15:24 -05:00
Travis Nickles
a6e6b5279c Added unsafe back to sixaxis method 2018-07-22 02:52:42 -05:00
Travis Nickles
3fa9d2f2b5 Added alt min to taskbar fix 2018-07-22 01:51:58 -05:00
Travis Nickles
d1f124870f Revert "Use unsafe for accessing gyro and accel arrays"
This reverts commit e99e0afe17.
2018-07-22 01:23:16 -05:00
Travis Nickles
e6ac109616 Revert "Removed extra fixed block. Moved method call"
This reverts commit f906178b5b.
2018-07-22 01:22:42 -05:00
Travis Nickles
5c9aec9bd1 Revert "Lower latency buffer to 10 items"
This reverts commit 11c7f03244.
2018-07-22 01:22:13 -05:00
Travis Nickles
e04799db1a Revert "Placeholder settings class"
This reverts commit be6f938e10.
2018-07-22 01:21:49 -05:00
Travis Nickles
ffa3eb08ab Revert "Fix minimize to taskbar option"
This reverts commit b9af99295b.
2018-07-22 01:21:23 -05:00
Travis Nickles
b9af99295b Fix minimize to taskbar option 2018-07-21 15:26:37 -05:00
Travis Nickles
be6f938e10 Placeholder settings class 2018-07-21 14:39:11 -05:00
Travis Nickles
11c7f03244 Lower latency buffer to 10 items 2018-07-21 00:55:16 -05:00
Travis Nickles
f906178b5b Removed extra fixed block. Moved method call 2018-07-20 05:05:20 -05:00
Travis Nickles
e99e0afe17 Use unsafe for accessing gyro and accel arrays 2018-07-20 04:52:45 -05:00
Travis Nickles
70a4cd8989 Merge branch 'jay' into vigem-udpserver 2018-07-18 01:35:39 -05:00
Travis Nickles
53cd5d48d9 Merge branch 'jay' into udpserver 2018-07-18 01:26:24 -05:00
Travis Nickles
9a17500100 Version 1.4.123 2018-07-18 00:58:16 -05:00
Travis Nickles
04140081ce Fixed problem when registry key does not exist 2018-07-18 00:56:05 -05:00
Travis Nickles
46dc83f61c Version 1.4.122 2018-07-18 00:25:23 -05:00
Travis Nickles
ce4a01b99b Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-07-18 00:04:51 -05:00
Travis Nickles
239b9bceba Merge branch 'jay' into udpserver 2018-07-17 23:53:14 -05:00
Travis Nickles
192dedcbc3 Exit GetPadDetailForIdx after processing null reference 2018-07-17 20:46:40 -05:00
Travis Nickles
605c700362 Exit GetPadDetailForIdx after processing null reference
Might be related to issue #326.
2018-07-17 20:45:20 -05:00
Travis Nickles
b8d60e8aa6 Change warning level for build settings
It seems to matter in the final build even though it seems
like it should not
2018-07-17 18:11:32 -05:00
Travis Nickles
2cc8236e02 Removed an unused control 2018-07-17 04:07:32 -05:00
Travis Nickles
f641b7f11c Removed unused component 2018-07-17 02:30:03 -05:00
Travis Nickles
add73e0b49 Removed unused Settings class 2018-07-16 19:20:28 -05:00
Travis Nickles
a3943728e3 Trimmed WndProc method 2018-07-16 17:29:05 -05:00
Travis Nickles
a7b5b2ff35 Enabled HidGuardian whitelist scan 2018-07-16 12:21:54 -05:00
Travis Nickles
f686b9711e Loosened enhanced precision curves more 2018-07-16 04:16:58 -05:00
Travis Nickles
c0b958b43a Updated target framework to .NET 4.6.1
Hopefully this change will not cause problems for some users
2018-07-16 02:42:08 -05:00
Travis Nickles
bf9f476be3 Added placeholder routine to purge old HidGuardian whitelist entries.
Have not decided whether this is truly needed so it is not used
2018-07-16 00:21:34 -05:00
Travis Nickles
f44cc21688 Minor tweak 2018-07-10 01:18:27 -05:00
Travis Nickles
1171a56a6b Make sure calib routine can be skipped on update serial routine
Might not be needed
2018-07-10 00:57:55 -05:00
Travis Nickles
cfa2bea4be Minor tweak for skipping calibration that .NET likes better
Related to issue #330.
2018-07-10 00:46:25 -05:00
Travis Nickles
6ff6f367be Merge branch 'ryochan7' of https://github.com/Yuki-nyan/DS4Windows into Yuki-nyan-ryochan7 2018-07-09 18:25:02 -05:00
Travis Nickles
9c6e99ce6c Carry over enhanced precision curve changes to RS
New points were only used for LS before
2018-07-06 20:09:17 -05:00
Travis Nickles
8d4c7d0c57 Merge branch 'jay' into udpserver 2018-06-24 21:04:20 -05:00
Travis Nickles
cc23f7af0b Merge branch 'jay' into vigem-udpserver 2018-06-24 21:01:53 -05:00
Travis Nickles
cc44352bd5 Version 1.4.121 2018-06-24 03:14:16 -05:00
Travis Nickles
a74f58f7be Remove drag drop importing of profiles. Good app speed boost.
If drag drop import gets added again, put that functionality on
the profile listview instead of the main app window
2018-06-23 16:08:57 -05:00
Yuki-nyan
3ae386cb7c Add support for the Nacon Revolution Pro Controller 2 & disable SixAxis calibrations for Nacon controllers as a preliminary fix for broken support. 2018-06-23 22:04:29 +01:00
Travis Nickles
284011c913 Do not remove auto profiles entries for currently uninstalled apps
Related to issue #317. 5 hours for such a small change just because
performance went south. .NET stinks.
2018-06-23 02:21:48 -05:00
Travis Nickles
36aa91dca5 Removed unused AlreadyRunning form
Been wanting to remove this for a while. No performance
degradation now
2018-06-19 02:33:11 -05:00
Travis Nickles
99bede4448 Make comboboxes not accept keyboard input for profile switching
Related to issue #281
2018-06-19 01:09:52 -05:00
Travis Nickles
e0d7f1ed14 Make sure controller reading can be started when switching auto profiles
Related to issue #325.
2018-06-19 00:04:30 -05:00
Travis Nickles
600818a3c0 Changed enhanced precision curves 2018-06-17 19:52:36 -05:00
Travis Nickles
8989333cdc Add device info for a generic DS4 gamepad
Related to issue #312
2018-06-10 17:25:53 -05:00
Travis Nickles
475723653d Changed logic for implicit stick mouse dead zone
Only force the implicit dead zone if the setting is set to 0.
Lower settings than the implicit dead zone are now possible
for looser aiming
2018-06-07 15:33:02 -05:00
Travis Nickles
b364330f50 Fixed enhanced precision stick curves 2018-06-05 16:16:38 -05:00
Travis Nickles
25b2adc8e5 Corrected stick angles and stick dir unit values 2018-06-05 16:12:11 -05:00
Travis Nickles
a855e67b1a Use rs angle used for RY 2018-06-05 15:46:33 -05:00
Travis Nickles
7229fee556 Merge branch 'jay' into vigem-udpserver 2018-06-04 14:12:58 -05:00
Travis Nickles
b596d82573 Merge branch 'jay' into udpserver 2018-06-04 14:08:57 -05:00
Travis Nickles
c10a0b46ec Version 1.4.120 2018-06-04 09:54:26 -05:00
Travis Nickles
7c70392be8 Fixed issue with profiles listview being partially hidden after closing Options form 2018-06-04 01:55:21 -05:00
Travis Nickles
d6461ed0eb Removed SetCompatibleTextRenderingDefault setting
Reduces latency for some reason
2018-06-03 16:58:56 -05:00
Travis Nickles
6c822e5968 Add minimize to taskbar as a setting
Related to issue #287.
2018-06-01 16:45:58 -05:00
Travis Nickles
49e2cf9398 Raised max for sensitivity options
Related to issue #259
2018-05-31 17:21:08 -05:00
Travis Nickles
bbedb0324e Removed unused log file string 2018-05-31 02:53:09 -05:00
Travis Nickles
3d5909a0e4 Change lookup device name for DS4 v2 audio device 2018-05-29 23:51:06 -05:00
Travis Nickles
5cd84ecb5a Added some const 2018-05-28 15:06:48 -05:00
Travis Nickles
d3fafbb32a Fix issue with USB sending constant output reports. Only copy relevant output bytes for BT.
Related to issue #290.
2018-05-28 03:09:55 -05:00
Travis Nickles
f5ce078488 Removed now unused ThemeUtil class 2018-05-26 02:57:58 -05:00
Travis Nickles
b7b674d4e3 Disable custom theme for debug list view
Apparently, it affects performance quite a bit
2018-05-26 02:44:03 -05:00
Travis Nickles
6468936ad3 Added disconnect options to tray menu
Related to issue #280
2018-05-25 23:52:41 -05:00
Travis Nickles
241bee82a0 Merge branch 'jay' into vigem-udpserver 2018-05-24 14:49:26 -05:00
Travis Nickles
f11095fb5e Merge branch 'jay' into udpserver 2018-05-24 14:40:15 -05:00
Travis Nickles
c18b8d4fc0 Version 1.4.119 2018-05-24 13:58:41 -05:00
Travis Nickles
3cd9912289 Changed parameters for touchpad jitter compensation 2018-05-20 02:18:28 -05:00
Travis Nickles
ffc2e45854 Fixed failed to unplug message from appearing when switching profiles using SONYWA 2018-05-13 12:59:13 -05:00
Travis Nickles
07878dafc3 Changed axis to button mapping routine. Now always take rotation angle into account
Related to issue #282
2018-05-12 21:46:48 -05:00
Travis Nickles
a6b9fb0f4e Re-added unneeded call.
.NET causes performance degradation without it
2018-05-07 01:59:11 -05:00
Travis Nickles
d4ba92b5db Merge branch 'jay' of https://github.com/jdfeng/DS4Windows into jdfeng-jay 2018-05-07 00:06:05 -05:00
Travis Nickles
3d8e2aa16e Removed MakerSupport link from About dialog 2018-05-06 21:35:17 -05:00
Travis Nickles
2f526fa60d Remove unneeded call 2018-05-06 21:31:18 -05:00
Travis Nickles
be6548a000 Commit UdpServer class 2018-05-06 02:16:37 -05:00
Travis Nickles
5e30393647 Initial commit with ViGEm and UdpServer support 2018-05-06 02:13:11 -05:00
Travis Nickles
d925452ed8 Initial commit with UdpServer change 2018-05-06 02:10:49 -05:00
Travis Nickles
1c1a3f747c Fixed timeout disconnect 2018-05-06 01:59:45 -05:00
Travis Nickles
3137983b9c Removed sending output report when charging status changes for SONYWA
Another Windows 7 only bug. Old workaround might not
be needed anymore due to recent changes.
Related to issue #262
2018-04-22 01:47:40 -05:00
jdfeng
565c7b7ea4 Add VID + PID for Hori PS4 Mini 2018-04-21 19:52:46 -07:00
Travis Nickles
bfdb81edd0 Trim USB output report generation. Only grab audio volume when output report data changes.
Possibly related to issue #261
2018-04-21 16:44:49 -05:00
Travis Nickles
ee9049f8d2 Version 1.4.118 2018-04-16 12:29:07 -05:00
Travis Nickles
87182d3b60 Make sure to use sync write for SONYWA 2018-04-16 05:20:48 -05:00
Travis Nickles
dad4606558 Use synchronous write operations for USB and SONYWA connections again
Threaded version caused random device disconnects on Windows 7.
Related to issue #244
2018-04-16 05:03:47 -05:00
Travis Nickles
a9348d1488 Send output report to SONYWA controller when charging status changes 2018-04-13 05:33:59 -05:00
Travis Nickles
a5e9ba57bd Version 1.4.117 2018-04-10 12:05:29 -05:00
Travis Nickles
2beb3988ba Fixed hover button color in Options form 2018-04-09 18:38:42 -05:00
Travis Nickles
0278deb763 Updated TODO file. Minor code removal 2018-04-09 18:21:49 -05:00
Travis Nickles
1c9cfc1dec Remove controller array scan from each report process 2018-04-09 16:04:44 -05:00
Travis Nickles
cba11fd791 Updated TaskScheduler 2018-04-09 02:17:42 -05:00
Travis Nickles
8859879396 Hold max and min lightbar color for pulse charging animation 2018-04-02 23:40:49 -05:00
Travis Nickles
99c812301d Take result status for virtual bus plugin events back into account 2018-04-01 03:01:45 -05:00
Travis Nickles
33aef3a4c6 Change sync output report method to add extra lock for recent changes 2018-04-01 00:36:33 -05:00
Travis Nickles
a1d0836091 Tweaks to improve hotplug detection
Check status of first output report before adding
device to the list
2018-03-25 23:36:46 -05:00
Travis Nickles
981e7afc22 Increased XINPUT_UNPLUG_SETTLE_TIME 2018-03-25 07:43:36 -05:00
Travis Nickles
2c55523ec4 Increased hotplug delay to potentially work around some Windows 7 problems 2018-03-25 05:04:59 -05:00
Travis Nickles
10d9990870 Rename method 2018-03-24 01:52:02 -05:00
Travis Nickles
5608620779 Correct order of key releases when using Win + Print Screen
Related to question in #228.
2018-03-24 01:37:42 -05:00
Travis Nickles
f8dfef41d9 Changed some links in Credits tab 2018-03-22 01:24:33 -05:00
Travis Nickles
dba25fab5a Removed possible double plug event 2018-03-21 18:55:01 -05:00
Travis Nickles
3b33caf247 Remove reliance on plug return status
Plug change can be delayed but still be successful.
Possibly related to issue #147.
2018-03-21 17:43:30 -05:00
Travis Nickles
3c94a872aa Remove unused method 2018-03-21 17:33:03 -05:00
Travis Nickles
18bb83ceef Do not restart service when changing dinput option in profile
Only plug or unplug an xinput device as needed. Only perform
when saving a profile.
2018-03-21 17:31:22 -05:00
Travis Nickles
d91f696b66 Moved when sleep is performed when removing controller 2018-03-21 01:47:32 -05:00
Travis Nickles
943b34e07f Version 1.4.116 2018-03-19 21:21:09 -05:00
Travis Nickles
0410a27f51 Only copy touchpad packet data when changed 2018-03-18 18:32:47 -05:00
Travis Nickles
2dc0950d63 Change some of the wording regarding tipping 2018-03-18 16:20:35 -05:00
Travis Nickles
23b19689fd Remove extras string from profile when reverted back to defaults 2018-03-18 14:58:29 -05:00
Travis Nickles
3d463ce7e8 Fixed mouse sensitivity getting throttled when using custom extras 2018-03-18 06:42:12 -05:00
Travis Nickles
ace46f1011 Make sure to use profile lightbar color when syncing controller to Sony adapter
Related to issue #238
2018-03-17 03:10:39 -05:00
Travis Nickles
46c391f1d9 Changed Enhanced Precision curve for sticks
Actually loosened them a bit more. The curves now correspond
to the curves used in my changes to Touchmote
2018-03-17 01:27:35 -05:00
Travis Nickles
f90a72ee7b Version 1.4.115 2018-03-11 20:47:29 -06:00
Travis Nickles
cf81801564 Update reference version for DS4Updater 2018-03-11 20:47:12 -06:00
Travis Nickles
51ed6eeeef Version 1.4.114 2018-03-11 20:30:11 -06:00
Travis Nickles
1b85b9bf6d Make sure to start imu data copying from proper offset 2018-03-07 00:16:55 -06:00
Travis Nickles
c56f1a7235 Fix accel data copying 2018-03-06 23:54:37 -06:00
Travis Nickles
37bb576aa6 Use unsafe memory pointers for copying imu data 2018-03-06 23:20:26 -06:00
Travis Nickles
60847ee54e Minor tweak 2018-03-06 18:01:57 -06:00
Travis Nickles
cc4bc7f05c Use output thread for USB connections again 2018-03-06 17:41:16 -06:00
Travis Nickles
63688885cd Use unsafe memory pointers for BT output report 2018-03-06 17:16:46 -06:00
Travis Nickles
f3a019742d Use unsafe memory pointers for detecting output report changes 2018-03-06 17:01:18 -06:00
Travis Nickles
895539c787 Minor tweak 2018-03-06 16:21:24 -06:00
Travis Nickles
c228b4348c Removed use of rectangular array for CRC32
Now use one dimensional array instead
2018-03-06 11:47:24 -06:00
Travis Nickles
961cb0b276 Enable unsafe block setting for other builds 2018-03-05 18:21:33 -06:00
Travis Nickles
59dbe6f956 Comment out failed message for now 2018-03-05 18:14:50 -06:00
Travis Nickles
efaafeb235 More pointer usage in CRC32 routine 2018-03-05 17:13:27 -06:00
Travis Nickles
564df12b94 Give attribution to Crc32 project 2018-03-05 16:07:59 -06:00
Travis Nickles
92c7b50d6d Re-add delay on device disable 2018-03-05 15:53:40 -06:00
Travis Nickles
8be2f9f271 Use unsafe blocks in project
Memory pointer access is needed to improve performance
with basic input report copying as well as CRC32
validation
2018-03-05 08:57:30 -06:00
Travis Nickles
f5f6002cdc Removed another loop for known array size in CRC32 method 2018-03-05 05:52:59 -06:00
Travis Nickles
a8b6213c0c Minor tweak for CRC32 method 2018-03-05 02:25:39 -06:00
Travis Nickles
284acc128a Added CRC32 check when obtaining gyro calibration data 2018-03-04 22:43:49 -06:00
Travis Nickles
c7f7537f25 Experimental CRC32 validation
Needs more work but I don't want to lose progress made
so far. Related to issue #228.
2018-03-04 14:37:47 -06:00
Travis Nickles
531b79dcc3 Changed when delay is performed for exclusive mode routine
Keep an eye on this
2018-02-28 15:09:29 -06:00
Travis Nickles
01e5246c61 Use suspending flag rather than using a parameter 2018-02-26 03:51:24 -06:00
Travis Nickles
0ebfa8b96e Minor tweak 2018-02-26 03:22:06 -06:00
Travis Nickles
16341d37b5 Force disconnect for wireless controllers when suspending
Related to issue #227
2018-02-26 02:55:17 -06:00
Travis Nickles
164f6f65e3 Version 1.4.112 2018-02-22 17:57:37 -06:00
Travis Nickles
1c3e612814 Bumped updater version number 2018-02-22 17:49:50 -06:00
Travis Nickles
fece01e9e5 Explicitly close HID device when stopping service
Do not wait for runtime to close the HID device
2018-02-21 12:46:08 -06:00
Travis Nickles
2dd9cb78a1 Enable GenerateSerializationAssemblies for x86 release builds 2018-02-21 02:08:24 -06:00
Travis Nickles
431f58b831 Set GenerateSerializationAssemblies to On for release builds 2018-02-21 02:05:09 -06:00
Travis Nickles
387c137c8c Call StopUpdate for normal device removal when stopping DS4Windows 2018-02-21 01:30:36 -06:00
Travis Nickles
55890cfc81 Make sure to populate oldprofilepath when refreshing profiles 2018-02-20 00:05:52 -06:00
Travis Nickles
2d15badd0a Correct appdata path display for SaveWhere dialog 2018-02-19 22:54:18 -06:00
Travis Nickles
3c17c58409 Renamed method 2018-02-19 22:37:21 -06:00
Travis Nickles
99197be610 Replaced another timer 2018-02-19 05:48:46 -06:00
Travis Nickles
a4abe7e98e Changed About dialog window 2018-02-19 02:57:29 -06:00
Travis Nickles
fa69b8cd1f Removed deprecated flag for updater. Now set updater to auto launch DS4Windows after update
Related to issue #217.
2018-02-12 00:40:34 -06:00
Travis Nickles
4cb0548947 Removed old references to properties. Set some fields to private. 2018-02-12 00:00:27 -06:00
Travis Nickles
cf4a754f5f Merge branch 'language-switch-propery-fix' of https://github.com/czukowski/DS4Windows into czukowski-language-switch-propery-fix 2018-02-11 15:26:49 -06:00
Korney Czukowski
3ced545d9e Forgot to remove implicit get/set 2018-02-11 20:58:55 +01:00
Korney Czukowski
bafdc470e3 Remove control properties that were used before they had a chance of being set 2018-02-11 20:53:10 +01:00
Korney Czukowski
256711f696 Revert "Postpone language packs list population until control Load event"
This reverts commit 45ca80a494.
2018-02-11 20:44:56 +01:00
Travis Nickles
a9c165d058 Merge branch 'language-switch-propery-fix' of https://github.com/czukowski/DS4Windows into czukowski-language-switch-propery-fix 2018-02-10 13:41:43 -06:00
Travis Nickles
154f928536 Version 1.4.111 2018-02-09 09:03:14 -06:00
Korney Czukowski
45ca80a494 Postpone language packs list population until control Load event 2018-02-08 21:44:28 +01:00
Travis Nickles
5202099ab0 Added task version of Check for Update Now 2018-02-08 01:48:12 -06:00
Travis Nickles
d017789f50 Use BeginInvoke call in task call 2018-02-08 01:20:33 -06:00
Travis Nickles
97110bad5a Move version check to a different thread 2018-02-07 23:34:01 -06:00
Travis Nickles
7e24a7f151 Change UseVisualStyleBackColor for more controls 2018-02-07 19:44:45 -06:00
Travis Nickles
b5c40413e0 Change UseVisualStyleBackColor for more checkboxes 2018-02-07 18:06:08 -06:00
Travis Nickles
00e432f81f Minor checkbox tweak for Check for Updates at Startup 2018-02-07 17:49:25 -06:00
Travis Nickles
4a29f53694 Use BeginUpdate and EndUpdate when editing items in combobox 2018-02-07 16:15:58 -06:00
Travis Nickles
f676e6257e Set culture before init component for Welcome Dialog
It was working before. Related to issue #205.
2018-02-06 16:44:18 -06:00
Travis Nickles
bf601d2057 Version 1.4.110 2018-02-06 11:27:00 -06:00
Travis Nickles
c99f3a452d Changed About window. Added LTC address. 2018-02-04 21:25:19 -06:00
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
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
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
699436565c Reduce latency queue capacity 2017-08-22 05:20:23 -05:00
Travis Nickles
13103ff7a8 Removed references to some unused assemblies 2017-08-22 05:10:19 -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
dce5c811f2 Raise timeout interval 2017-08-20 22:02:49 -05:00
Travis Nickles
ece7b25f0c Minor tweaks 2017-08-19 18:48:06 -05:00
Travis Nickles
0571f8b663 Version 1.4.89 2017-08-19 18:54:59 -05:00
Travis Nickles
dd1c2eca62 Change touchpad jitter values 2017-08-19 18:39:03 -05:00
Travis Nickles
c03c173f31 Use EaseOutQuad curve for idle disconnect led color
Linear seems to have the led blank too quickly towards the end
2017-08-18 23:33:37 -05:00
Travis Nickles
f0d967cd63 Minor tweak to touchpad jitter compensation code 2017-08-18 20:52:11 -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
55b2de6d67 Change touchpad jitter compensation routine 2017-08-18 02:41:37 -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
28004dfb22 Version 1.4.88 2017-08-16 16:04:41 -05:00
Travis Nickles
684c8a73b2 Minor tweak 2017-08-15 21:27:11 -05:00
Travis Nickles
b7f5e3fb3c Update TaskScheduler version. Change build target to .NET Framework 4.5.2.
.NET Framework 4.5 has been unsupported for some time
2017-08-15 04:40:43 -05:00
Travis Nickles
8f78d5850e Adding new gyro values
Not sure if I will ever use them
2017-08-10 02:45:11 -05:00
Travis Nickles
bd379e5c7e Add new accel fields 2017-08-09 03:24:24 -05:00
Travis Nickles
2ffc51c8e3 Changed variable name to better show current intent 2017-08-08 22:07:52 -05:00
Travis Nickles
8dca930400 Create separate output accel values 2017-08-08 20:19:17 -05:00
Travis Nickles
a32e80fe61 Add offset for touchpad mouse 2017-08-06 20:31:55 -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
acb03500a0 Lower mouse speed factor 2017-08-04 06:11:55 -05:00
Travis Nickles
315797fe53 Minor changes to exclusive mode routine 2017-08-04 06:10:48 -05:00
Travis Nickles
22babe9ded Trim hotplug launching routine to speed up main thread 2017-08-01 02:42:59 -05:00
Travis Nickles
f042120ede Add wait period after device is enabled.
Seems to be needed for exclusive mode to behave better
with recent Windows 10 update
2017-08-01 02:42:16 -05:00
Travis Nickles
4af6404b49 Version 1.4.87 2017-07-27 19:47:38 -05:00
Travis Nickles
7f75565aec Rid another unnecessary state copy call. 2017-07-27 07:32:09 -05:00
Travis Nickles
473958ba1a Correct touchpad X coordinate. Change DS4State. 2017-07-27 05:41:44 -05:00
Travis Nickles
60a21a9fe3 Minor changes 2017-07-26 21:38:34 -05:00
Travis Nickles
436d0ed1ef No longer make unnecessary state object copies 2017-07-26 06:13:18 -05:00
Travis Nickles
8250f9be5c Attempt to use timestamp from ds4. Preserve changes. 2017-07-26 04:30:50 -05:00
Travis Nickles
9d88fda0d2 Tweak gyro mouse 2017-07-24 22:55:28 -05:00
Travis Nickles
aab2bb13f4 Add finger on touchpad back as a shift modifier 2017-07-22 20:48:04 -05:00
Yuki-nyan
86d311b72a Merge pull request #5 from Ryochan7/jay
Update to Version 1.4.86
2017-07-21 19:35:49 +01:00
Travis Nickles
a8442d2772 Version 1.4.86 2017-07-20 13:49:55 -05:00
Travis Nickles
3dcd4d94b9 Added clamping for rotation. Fixed bug with identical dict keys 2017-07-20 04:25:15 -05:00
Travis Nickles
1b0ddfd910 Minor changes 2017-07-20 00:57:14 -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
0e8daf05b0 Make sure sixaxis value ratios do not go above 1.0 2017-07-18 20:18:01 -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
a335decc90 Move accel dead zone calculations 2017-07-18 14:21:03 -05:00
Travis Nickles
8a6ecb9fe0 Correct default BT poll rate option 2017-07-17 17:50:18 -05:00
Travis Nickles
9972e85e13 More minor gyro changes 2017-07-16 19:42:43 -05:00
Travis Nickles
dba2b1bbb3 Tweaks to how imu data is used 2017-07-16 07:11:58 -05:00
Travis Nickles
887a4fbdbd Make imu data part of the DS4State 2017-07-16 03:30:49 -05:00
Travis Nickles
817505a989 Take poll time into account for gyro mouse 2017-07-16 02:22:21 -05:00
Travis Nickles
6e1b9004de Minor optimizations 2017-07-15 08:50:38 -05:00
Travis Nickles
c5158d66c8 Version 1.4.85 2017-07-14 22:58:52 -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
c5dd97ebe5 Preserve minor optimizations before next test 2017-07-13 07:27:25 -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
Yuki-nyan
48545207b4 Merge pull request #4 from Ryochan7/jay
Update to Version 1.4.84
2017-07-10 00:15:46 +01:00
Travis Nickles
9da0255529 Version 1.4.84 2017-07-04 12:33:28 -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
9bf937d7b9 Program init changes 2017-07-03 08:31:58 -07:00
Travis Nickles
001f2e5432 Preserve refactor 2017-07-03 01:24:54 -07:00
Travis Nickles
089383b64e Simple comment update 2017-07-02 16:59:35 -07:00
Travis Nickles
eab3cdeaad Change output report for USB and Sony 2017-07-02 16:58:30 -07:00
Travis Nickles
0cf1956566 Change output report for BT 2017-07-02 10:14:15 -07:00
Travis Nickles
4ae72cfdb2 Removed more property usage 2017-07-02 08:29:55 -07:00
Travis Nickles
ee6a7fafd4 Improve response time for BT connections 2017-07-02 02:11:16 -07:00
Travis Nickles
ea69d69a6f Improve response time when using USB and Sony dongle 2017-07-02 01:52:55 -07:00
Travis Nickles
b62b490ff1 Allow Disconnect BT special action to work with Sony dongle connections
This might be temporary
2017-06-30 21:29:20 -07:00
Travis Nickles
2d198d6446 Version 1.4.83 2017-06-30 18:46:48 -07: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
2fabd860a2 Enable xinput hotplug from a sync change when using Sony dongle 2017-06-29 19:27:08 -07:00
Travis Nickles
b34c258a59 Fix another version comparison 2017-06-29 18:28:36 -07:00
Travis Nickles
3137801a4b Version 1.4.82 2017-06-29 08:11:39 -07:00
Travis Nickles
6c21572249 Minor changes 2017-06-29 06:16:02 -07:00
Travis Nickles
484337f42f Add gyro mouse smoothing routine 2017-06-28 21:42:16 -07:00
Travis Nickles
86816db41a Lower gyro mouse offset 2017-06-27 08:19:55 -07:00
Travis Nickles
5f907de036 Expose full accel values for future experiments 2017-06-27 03:16:10 -07:00
Travis Nickles
2e74fd67c1 Fixed a couple of urls. Resolves issue #75. 2017-06-27 01:57:38 -07:00
Travis Nickles
49024cddaf Tweak gyro mouse variables 2017-06-26 23:38:01 -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
6c0a1a94a9 Version 1.4.81 2017-06-24 19:43:46 -07:00
Travis Nickles
4dfb2cf0db Minor performance tweaks for input thread 2017-06-24 19:10:09 -07:00
Travis Nickles
64693190f0 Fix gyro mouse coefficient. Change base gyro mouse settings. 2017-06-24 19:09:03 -07:00
Travis Nickles
588c2d4385 Add vertical scale for gyro mouse mode 2017-06-24 02:52:39 -07:00
Travis Nickles
a4b540d62c Change variable name 2017-06-22 22:30:22 -07:00
Travis Nickles
19afe15937 Make lastActive field matter for USB connections again. Related to issue #45. 2017-06-22 22:14:58 -07:00
Travis Nickles
9f554cf6c1 Minor optimization 2017-06-22 09:02:51 -07:00
Travis Nickles
35031f5c5f Double check that mouse remainders are reset when gyro mouse is not active 2017-06-22 07:36:40 -07:00
Travis Nickles
6eb618a934 Lower gyro deadzone value 2017-06-22 06:49:02 -07:00
Travis Nickles
44aef8b90d Fixed distinction between one finger touchpad touch and two finger touch
Touch 2 being active does not necessarily mean two fingers
are currently on the touchpad
2017-06-22 03:24:51 -07:00
Travis Nickles
2d58034415 Allow gyro button triggers to disable gyro 2017-06-22 00:43:44 -07:00
Travis Nickles
162092800e Add deadzone routine to Gyro mouse
Not sure if this will stay
2017-06-21 21:18:15 -07:00
Travis Nickles
bf774ba6f7 Correct some variables 2017-06-21 18:11:14 -07:00
Travis Nickles
f4302a752d Initial attempt at fixing gyro support. Related to issue #48.
It will be a mess for the forseeable future
2017-06-21 18:07:21 -07:00
Travis Nickles
d6d6f63073 Change some thread priorities 2017-06-19 21:37:08 -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
328b2dc14c Attempt to smooth out mouse cursor for analog sticks 2017-06-19 08:50:28 -07:00
Travis Nickles
5678ee6cd5 Version 1.4.80 2017-06-18 23:26:46 -07:00
Travis Nickles
2780dc3ac4 Change thread affinity of x360Bus object 2017-06-18 07:07:48 -07:00
Travis Nickles
1f2f9f16db Minor tweaks to improve responsiveness 2017-06-18 03:20:10 -07:00
Travis Nickles
80d0ef7c9b Version 1.4.79 2017-06-17 15:35:41 -07:00
Travis Nickles
fc929d963e Fix mic device and volume detection 2017-06-17 09:06:33 -07:00
Travis Nickles
39930cf2e8 Small change
Hating the JIT compiler right now
2017-06-17 07:13:39 -07:00
Travis Nickles
cd305dc206 Version 1.4.78 2017-06-17 03:14:00 -07:00
Travis Nickles
a473224293 Fix mouse distance offset for negative stick axes 2017-06-17 03:13:33 -07:00
Travis Nickles
18abb8e7a1 Version 1.4.77 2017-06-17 01:56:18 -07:00
Travis Nickles
712f470b9e Change scope of some variables 2017-06-14 07:42:29 -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
7bf43f93f5 Revert to using temporary variables for now 2017-06-10 19:58:30 -07:00
Travis Nickles
1fc77c5537 Take current stick direction into account for mouse offset 2017-06-10 17:48:34 -07:00
Travis Nickles
ab9c3abe05 Move Quick Charge check to input thread 2017-06-09 23:45:19 -07:00
Travis Nickles
e1efb2bb5b Do not need temp profile index for some properties 2017-06-08 14:38:46 -07:00
Travis Nickles
cbee3dd74c Version 1.4.76 2017-06-08 14:29:55 -07:00
Travis Nickles
1c613139ef Use temp arrays to help cache some data 2017-06-08 14:26:50 -07:00
Travis Nickles
63dddf4373 Changes to fix Quick Charge option 2017-06-08 13:52:47 -07:00
Travis Nickles
7b1d7f243f Version 1.4.75 2017-06-08 11:50:41 -07:00
Travis Nickles
9a4fc0476e Change property access 2017-06-08 11:09:05 -07:00
Travis Nickles
54f0f49680 Change tab page text 2017-06-08 11:07:04 -07:00
Travis Nickles
8f0c5d84ac Define output curve ints in the class instead of using temporary variables 2017-06-08 11:01:14 -07:00
Travis Nickles
751e4f4e7a Add initial output curve options 2017-06-08 00:37:04 -07:00
Travis Nickles
cda84e6499 Keep reference to hidden USB device while using BT and charging
Ensures that DS4 USB HID device is not seen by other applications
2017-06-07 17:52:09 -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
e207114339 Test using Queue instead of List for Latency stats
The Queue version is faster
2017-06-04 19:14:44 -07:00
Travis Nickles
5c5e983ec1 Make sure to update tray icon text 2017-06-04 19:13:14 -07:00
Travis Nickles
31f1382245 Change when sleep is run for device removal 2017-06-03 15:35:13 -07:00
Travis Nickles
6d4527a4c6 Use SpinWait instead of Sleep for Exclusive mode routine 2017-06-03 15:16:59 -07:00
Travis Nickles
12454b6657 Version 1.4.74 2017-06-02 22:33:48 -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
4b0e3dee62 Corrected some control identifiers 2017-06-01 22:58:01 -07:00
Travis Nickles
f61cd593c5 Add timeout test to allow fallback disconnect method to work 2017-05-31 20:37:53 -07:00
Travis Nickles
f7d3d1bf47 Cut off mouse remainders 2017-05-31 14:09:16 -07:00
Travis Nickles
5062e769ec Add initial offset for mouse actions bound to analog sticks
Use magic constant for now. Maybe this will be exposed as a setting
in the future
2017-05-31 13:06:52 -07:00
Travis Nickles
4a642db6e2 Change mouse actions for LS and RS to take poll time into account
Make sure speed stays consistent no matter which connection
type is used
2017-05-31 00:47:13 -07:00
Travis Nickles
0086b953e3 Move lightbar color change to execute later 2017-05-30 15:00:23 -07:00
Travis Nickles
24689aa701 Calculate lightbar color after interacting with ScpVBus 2017-05-29 19:28:21 -07:00
Travis Nickles
ba4bd72755 Minor updates for lightbar dimming 2017-05-27 07:05:46 -07:00
Travis Nickles
f5f0b8fe93 Version 1.4.73 2017-05-26 20:19:45 -07:00
Travis Nickles
05fd7316cf Keep small snippet for future reference 2017-05-26 20:14:48 -07:00
Travis Nickles
de8f1ae354 Change order of syncchange invoking 2017-05-26 19:03:35 -07:00
Travis Nickles
c781082425 Add DateTime fields to SpecialAction 2017-05-26 18:57:46 -07:00
Travis Nickles
312d3b433e Change variable name and revert 2017-05-25 03:01:07 -07:00
Travis Nickles
c7a840194c Fix check for sync byte 2017-05-25 02:56:36 -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
1c6add01eb Change to allow multiple multi-action button actions to work
Related to issue #34
2017-05-22 08:06:20 -07:00
Travis Nickles
17a9b6c9ac Version 1.4.72 2017-05-20 13:31:30 -07:00
Travis Nickles
f65897a4d6 Add tooltip for use controller for mapping controls 2017-05-20 19:00:23 -07:00
Travis Nickles
aa0e0fce50 Fix index out of bounds error 2017-05-20 18:56:11 -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
c6adcc7d79 Version 1.4.71 2017-05-19 18:03:01 -07:00
Travis Nickles
4c99cfd7cf Update source and donation links 2017-05-19 17:53:57 -07:00
Travis Nickles
f9de32e184 Use proper index for dinput only flag 2017-05-18 18:16:08 -07:00
Travis Nickles
1e2c57a08a Minor optimizations 2017-05-18 17:51:01 -07:00
Travis Nickles
b3bd007219 Use proper xinput index on hotplug. Fix bad copy paste job 2017-05-18 16:33:37 -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
b1c640eaa1 Enforce Launch Program with Profile during a hotplug event 2017-05-13 16:47:54 -07:00
Travis Nickles
d02317b5a4 Minor code clean up 2017-05-13 16:47:04 -07:00
Travis Nickles
bca7850a36 Stop using Async methods for FileStream instance. Reduce CPU usage. Initial thread action queue.
No longer uses an application set timeout but it looks like
a timeout will be handled by the system
2017-05-13 15:01:43 -07:00
Travis Nickles
7a1b382c5a Code clean up 2017-05-12 22:54:29 -07:00
Travis Nickles
959966b15c Version 1.4.70 2017-05-12 20:59:23 -07:00
Yuki-nyan
2c2a7c1f2c Merge pull request #3 from Ryochan7/jay
Update to Version 1.4.70
2017-05-12 23:21:44 +01:00
Travis Nickles
edeaa30b59 Code clean up. Reset xinput mapping for more bound actions. 2017-05-12 07:48:58 -07:00
Yuki-nyan
e3f1d9dc1d Nacon Revolution Pro support 2017-05-12 00:57:02 +01: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
298ca21424 Version 1.4.69 2017-05-09 17:27:17 -07:00
Travis Nickles
e620dce4b9 Minor clean up 2017-05-09 17:23:51 -07:00
Travis Nickles
7e61f52dd1 Launch new task for Launch Program with Profile 2017-05-09 16:34:56 -07:00
Travis Nickles
0e6514a072 Fixed reverse 360 button mapping generation
Share and Options were not being mapped properly.
Resolves issue #33.
2017-05-09 07:53:10 -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
8b42562aec Alter how Launch Program with Profile works 2017-05-08 22:12:39 -07:00
Travis Nickles
74aa709583 Only use one instance of field mapping in case of multiple multi-action button assignments 2017-05-08 20:06:48 -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
4980cd01dc Fix issue with multi-action button not working
Related to issue #26.
2017-05-08 07:27:41 -07:00
Travis Nickles
c3fcfbfddf Use getter instead of property to grab volume levels 2017-05-08 03:07:58 -07:00
Travis Nickles
907fed2f1d Fix output report so microphone does not get muted.
Related to issue #20.
2017-05-08 03:06:06 -07:00
Travis Nickles
af2eb5805d Version 1.4.68 2017-05-05 20:21:05 -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
be27af50d3 Some optimizations. Use reverse mapping array. Skip xinput report in dinput mode. 2017-05-04 08:42:27 -07:00
Travis Nickles
3f190bb4bb Some file stream changes 2017-05-04 02:02:38 -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
4ce52da612 Test minor change of usb device removal 2017-05-01 03:40:37 -07:00
Travis Nickles
d35ba4db98 Add lock for DisconnectDongle 2017-05-01 02:50:02 -07:00
Travis Nickles
d37e0709c0 More log messages. Tweak DisconnectBT. Other minor changes. 2017-05-01 02:29:19 -07:00
Travis Nickles
cd5a77359a Version 1.4.67 2017-04-30 07:51:23 -07:00
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
1821658455 Change event check for newly opened devices 2017-04-30 06:39:09 -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
Travis Nickles
95c5c7123d Fix rumble getting activated when opening options window when value is not 100 2017-04-30 02:24:21 -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
2cfaee50e5 Corrects problem with old profiles with duplicate actions
Related to issue #24.
2017-04-28 17:19:05 -07:00
Travis Nickles
01495490b0 Version 1.4.66 2017-04-28 14:32:09 -07:00
Travis Nickles
2fe4a6405d Use zero value for inactive gyro directions 2017-04-28 13:11:37 -07:00
Travis Nickles
9e153fff97 Fixed a couple of issue with gyro mappings 2017-04-28 13:06:58 -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
de1b6b223f Remove use of event in TouchPadOn since the event will be use later 2017-04-26 15:42:28 -07:00
Travis Nickles
508c2b2067 Rename new hotkey option. Some optimizations for Options form. 2017-04-26 14:51:15 -07:00
Travis Nickles
4a159d4216 Make hotkey execution an optional profile setting.
Related to issue #21
2017-04-26 12:43:01 -07:00
Travis Nickles
de0e9a88cb Change device removal event to only hide one device rather than refresh a list 2017-04-26 01:00:05 -07:00
Travis Nickles
2a20350b6b Some minor changes 2017-04-25 20:07:02 -07:00
Travis Nickles
05c94b677b Hopefully correct some behavior for axis to axis mappings 2017-04-25 07:10:36 -07:00
Travis Nickles
2b5ae4fd51 Show 1 based controller indexes in log 2017-04-25 03:36:50 -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
918870f256 Version 1.4.64 2017-04-24 18:28:37 -07:00
Travis Nickles
e63001e3ab Invoke log methods async 2017-04-24 18:26:34 -07:00
Travis Nickles
ad9f707cda Remove attempt to show shield icon 2017-04-24 08:28:51 -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
bba8af6a63 Work around a couple of null reference problems that might occur 2017-04-23 17:48:13 -07:00
Travis Nickles
770ca43a2f Version 1.4.63 2017-04-23 02:29:17 -07:00
Travis Nickles
ae77ad8298 Fix shortcut generation when runtask option is enabled 2017-04-23 02:22:31 -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
8df30a5bbb Change lightbar pulse charging mode to be time dependent 2017-04-22 18:01:31 -07:00
Travis Nickles
064b478683 Fix index out of bounds problem 2017-04-22 08:03:24 -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
3c7aa0d477 Make sure lightbar rainbow mode works properly with multiple devices 2017-04-22 03:31:53 -07:00
Travis Nickles
133d092aab Make lightbar pulse mode time dependent.
Duration might change later. Related to issue #18.
2017-04-22 03:09:11 -07:00
Travis Nickles
52e7c2309b Version 1.4.62 2017-04-22 00:34:16 -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
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
d1994b2876 Add startup task mode.
Related to issue #16.
2017-04-19 22:54:09 -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
ee2df546d1 Version 1.4.61 2017-04-14 13:50:18 -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
beadb313ff Only access length property once in for loop 2017-04-11 19:26:08 -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
c8c6e5265b Version 1.4.60 2017-04-09 10:33:54 -07:00
Travis Nickles
4a6f2fc278 Tweak button mapping translation 2017-04-09 10:14:44 -07:00
Travis Nickles
0f705e667e Remove unneeded warn field usage 2017-04-09 01:17:52 -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
b6f4b3b9d6 Version 1.4.59 2017-04-08 19:09:28 -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
58fe65da7b Version 1.4.58 2017-04-07 18:36:23 -07:00
Travis Nickles
a1f103c483 Some small changes to the mapping routine 2017-04-07 17:13:19 -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
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
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
64e8a137e1 Keep scan code setting enforced in the KBM360 form 2017-04-05 23:35:36 -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
f0d3a55bd0 Change toolstrip controls depending on selected profile. Make selection use fill listbox width 2017-04-03 20:07:56 -07:00
Travis Nickles
09433775de Version 1.4.57 2017-04-02 00:30:25 -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
9eafb54dbc Version 1.4.56 2017-03-31 22:47:04 -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
c2de92ea7f Merge branch 'jay' of https://github.com/CarlosHBC/DS4Windows into CarlosHBC-jay 2017-03-29 21:37:02 -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
a167132c0a Merge https://github.com/ondr3j/DS4Windows into ondr3j_audio 2017-03-29 02:12:37 -07:00
Travis Nickles
5ad4e83b58 Add null extras detection when opening button mapping window 2017-03-28 18:41:17 -07:00
Carlos Cabral
553a8a059a Images optimized lossless 2017-03-28 20:55:44 -03:00
Carlos Cabral
1f6bce3688 Update copyright 2017-03-28 20:53:18 -03:00
Carlos Cabral
3757d52b22 Fix HidLibrary License 2017-03-28 18:48:47 -03:00
Travis Nickles
ac4017fea2 Minor doc 2017-03-28 08:30:22 -07:00
Travis Nickles
f103d955f6 Speed up looking for custom action and extras 2017-03-28 08:27:15 -07:00
Travis Nickles
7d6e33ba2f Remove some property usage and minor improvements 2017-03-28 01:48:02 -07:00
Travis Nickles
0fc12c1038 Removed unnecessary method call 2017-03-27 20:27:51 -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
51dfa8b91b Remove some unneeded checks 2017-03-27 06:02:04 -07:00
Yoni Lerner
88ff296286 Fix an issue where the wrong action was being parsed, causing total failure in special action profile loading 2017-03-27 05:39:40 -07:00
Travis Nickles
9cfae83569 Tweak dead zone calculation 2017-03-27 03:37:05 -07:00
Travis Nickles
768e967e04 Minor property optimization 2017-03-27 02:55:53 -07:00
Travis Nickles
11cc515127 Make anti-deadzone setting persistent 2017-03-27 02:50:32 -07:00
Travis Nickles
11a7f8ca2f Slight tweak to anti-deadzone 2017-03-26 23:03:10 -07:00
Travis Nickles
fa8ba7a0ba Initial anti-deadzone feature. Minor R2 deadzone fix. 2017-03-26 20:55:05 -07:00
Travis Nickles
fc58383a82 Fix interpreting right stick values after leaving dead zone 2017-03-26 18:09:27 -07:00
Travis Nickles
a840089d59 Properly enforce dead zones and interpolate values.
Resolves issue #4.
2017-03-25 18:50:34 -07:00
Travis Nickles
2b42e327cc Minor property optimization 2017-03-25 16:42:34 -07:00
Travis Nickles
b41a669223 Interpolate L2 and R2 based on dead zone values 2017-03-25 16:32:45 -07:00
Travis Nickles
d9f618799e Version 1.4.55 2017-03-25 15:32:31 -07:00
Travis Nickles
112b550473 Fixed hanging when disconnecting a USB controller
Related to issue #3.
2017-03-25 08:49:03 -07:00
Travis Nickles
a5f51f78e9 Changed flash warning interval in settings 2017-03-25 06:31:39 -07:00
Travis Nickles
84bf4759e6 Set FlashWhenLateAt default to 20 ms 2017-03-25 03:32:59 -07:00
Travis Nickles
82c3d4beff Try getting around wait yet again 2017-03-25 01:29:25 -07:00
Travis Nickles
9ec41b207a Version 1.4.54 2017-03-24 16:26:14 -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
983e55a0fa Added explicit x64 build configuration 2017-03-23 08:58:26 -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
ecd36237e7 Fixed issue with sleep being invoked too often
Supposedly the code was needed to help reset the color
of the lightbar. It doesn't seem like it is really needed
though. Keep an eye on this.
2017-03-22 21:45:20 -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
6a3e9ff913 Merge branch 'hold-repeat-macro-fix' of https://github.com/Gorgexpress/DS4Windows into jay 2017-03-19 17:14:14 -07:00
Travis Nickles
d1d7a26a85 Merge branch 'jay' of https://github.com/akashfoss/DS4Windows into jay 2017-03-19 17:09:45 -07:00
Travis Nickles
6fda94f296 Update Xbox 360 Driver Link
Change provided by s-eam
2017-03-19 16:50:01 -07:00
Travis Nickles
419f92ee3f Update some file links to point to new server
Will need to update once a domain name is registered
2017-03-19 16:13:09 -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
ef779afdf2 Version 1.4.53 2017-03-19 01:31:33 -07:00
Travis Nickles
4d5b8ccb96 Raise L2Sens and R2Sens. Change default of Flush HID to false.
With some of the more recent changes, having Flush HID
enabled results in increased input lag.
2017-03-19 01:29:45 -07:00
Travis Nickles
1f42e17996 Merge tracking branch 'lag_reduce' into jay 2017-03-19 00:45:28 -07:00
Travis Nickles
3e8fc84444 Merge branch 'scale_fix' into jay 2017-03-19 00:43:00 -07:00
Travis Nickles
a6d52239e7 Merge branch 'dpad_tweaks' into jay 2017-03-19 00:39:40 -07:00
Travis Nickles
1beb275c4d Remove Prefer 32-bit from project settings 2017-03-19 00:38:30 -07:00
Travis Nickles
36cc2c5012 Add flags to reduce input lag 2017-03-09 16:07:17 -08:00
Travis Nickles
183f88ac46 Allow full XInput axis range for sticks 2017-02-19 01:20:38 -06: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
akashfoss
c0b26a7a29 Fixed typo 2016-11-12 14:24:25 +05:30
Michael
6cd470c5ad fixed hold to repeat macros not working without manually editing the xml file 2016-10-21 01:43:26 -04:00
Jays2Kings
031efa2b0c Version 1.4.52
Added support for New DS4 Controller (thanks andersfischernielsen)
Fixed sensitivity for sticks, causing crashes when trying to edit a
profile
Typo fixes (thanks josevill)
Updates to German, Polish, Nederlands and more translations
2016-10-08 23:21:44 -04:00
Jays2Kings
ad0d2f8648 Fixed senstivity errors, causing crashes when editing profiles 2016-10-08 21:36:21 -04:00
Anders Fischer-Nielsen
02c0c6564b Added PID for new DS4 controller. 2016-10-05 18:18:59 +02:00
Jays2Kings
5b87490644 fixed a merge request 2016-09-21 22:42:25 -04:00
Jays2Kings
547bd7b001 Merge remote-tracking branch 'origin/jay' into jay
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2016-09-21 22:40:27 -04:00
Jays2Kings
1bfc69ee37 Version 1.4.5
Added support for the New DS4 USB Adapater (Thanks to boganhobo and
Chamilsaan)
Implemented teokp's amazing fix for hide ds4 not working on the
anniversary update of Windows 10: when a controller fails to enter
exclusive mode, DS4Windows will ask for admin privilages to fix the
issue.
Now (near)unlimited Special Actions can be made from the previous limit
of 50
Special Action Xbox Game DVR is now no longer limited to Windows 10,
renamed multi action button: Assign a macro to single tap, double tap,
and holding down a button
Added option for White DS4Windows Icon in the notification tray (While
not merged from, thanks to tehmantra)
Added option to temporarily turn off DS4Windows when using a certain
program (togglable in the Auto Profiles Tab) (Same case as above but
thanks to dedChar to bring to light)
Fixed Options crashes in certain locales where decimal points are
repesented with commas, such as German (Thanks to kiliansch)
Added/Updated translations for many languauges, now including Japanese,
Slovenian, Hungarian, Greek, Finnish, Czech, Indonesian, and Ukrainian
2016-09-21 21:38:38 -04:00
Kilian Schuster
465056fff1 Switched config seperator from comma to pipe to not collide with german comma seperated decimals 2016-03-07 18:18:03 +01:00
Jays2Kings
a06d77641f Version 1.4.401
Fixes for inverting the sticks
Updated French, German, Russian, and Vietnamese translations, and added
more credits
2015-12-18 23:11:12 -05:00
Jays2Kings
93936cf311 Version 1.4.4
Revised shift modifier: each button/control has their own independent
shift trigger instead of one universal one
Select an action window: this window now highlights what said control is
currently set to.
Removed unused images, making the exe a meg smaller
Completely revised how the code for custom mapping works
Updated all translations, added partial Dutch/Nederlands Support
2015-12-18 01:25:51 -05:00
Jays2Kings
fa639ba31c Version 1.4.321
Changed the Rainbow button to an actual button
For using the sixaxis as a mouse, changed none to Always on, also better
movement for the gyro when the sensitivity is lowered
Updated Hebrew, Chinese (Traditional), Itilian, Chinese (Simplified)
2015-12-13 16:30:54 -05:00
Jays2Kings
f567bfb0da Fixes for previously broken Updater 2015-12-05 05:38:04 -05:00
Jays2Kings
b528f3ec61 Version 1.4.32
Added Sensitivity settings for both sticks, triggers, and the gyro
Fixed the select an action window popping up after closing the profile
settings or in another tab
Fixed the lightbar button on the main tab being so long, along with some
other random ui fixes
Fixed many issues with making a new profile
When using a custom color the light now fades out based on the current
profile settings (ie. when the battery is low)
Added Hebrew and Vietnamese translations
Updated Chinese (T), Russian, German, Polish
2015-12-05 03:55:11 -05:00
Jays2Kings
2846a0389f Version 1.4.31
Revised the Profile settings UI to fit all the settings on the screen.
Fixed not being able to have a negative scroll value for the touchpad
Less lag when opening/reopening profile settings
Added Arabic Translation (Thanks K.F), updated French, Polish, and
Portuguese translations
2015-11-30 16:15:17 -05:00
Jays2Kings
8d9f69db44 Version 1.4.3
Complete rehaul of the profile settings, bigger workspace to edit
controls, and all the settings are on the side now
Added option to change the lightbar color, regardless of the profile's
lightbar setting (useful for using one profile on the same controller).
to change click the colored button beside edit in the main tab
Can now set the Gyro as an 1:1 absolute mouse, in this mode the mouse
now moves as the controller is moved
Removed the experimental exclusive connection button if on the newest
Windows 10 build (1511/TH2)
Finally updated all the translations and added some new ones (such as
Chinese and Polish, the translations sheets have been merged to one so
it's easier for me to update
2015-11-28 00:47:26 -05:00
jays2kings
3680b6b425 Version 1.4.27
(Windows 10) Thanks to another workaround found, it has been added to
DS4Windows, there is a button on the main tab, to connect your
controller exclusively, this will temporarily kill explorer (The
taskbar) and bring it back once a controller is connected
Macros: When recording with a delay, you can now add rumble and changing
the lightbar color during the macro, you can use the touchpad zones to
add rumble or lightbar options. To change how much rumble happens or the
lightbar color, just double click the item in the list
2015-08-12 23:56:39 -04:00
jays2kings
0cbcccc9ee Version 1.4.269
Fixed trying to edit actions with Xbox Game DVR
Fixed Hide DS4 crashing DS4Windows on 64-bit machines
2015-08-01 17:24:08 -04:00
jays2kings
f5c9dbff11 Version 1.4.267
Fixes for adding programs to auto profiles
2015-07-30 23:51:16 -04:00
jays2kings
86079b029e Version 1.4.266
Flash Lightbar when at high latency now has the option to choose what
you decide is high latency
Show Notifications now has the option to only show warnings, such as
when a controller cannot be grabbed exclusively
Speaking of bad news for Windows 10 users: Hide DS4 has now been
disabled, until i can figure out why this is, it will be disabled, this
means some games that rely on this may not work properly or at all,
sorry about that
As for good news for Windows 10, did you know you can press Windows + G
to open a game bar which can record games. For Windows 10 users, there's
a new special action: Xbox Game DVR. Pick a trigger (only one button)
and tapping/holding/or double tapping does various things, such as
start/stop recording, save an ongoing recording, take a screenshot (via
the xbox app's option or your own hotkey ie form steam), or just open
the gamebar
Much of the code has been updated with c# 6.0
Added manifest so DS4Windows can notice Windows 10 and high DPIs, also
reorganized files
2015-07-30 23:34:22 -04:00
jays2kings
5945185fbc Version 1.4.26
Updated German translation
Added Turkish translation (Thanks Lütfi)
When the battery is low and the controller is disconnected, The
notification tell you to charge the controller, this notification also
now shows the controller number instead of the mac address
While Double tapping to drag or left clicking the touchpad, you can use
a second finger to drag the mouse cursor (ala Mac touchpads)
In Auto Profiles, you can now add a directory/folder of programs
2015-06-01 15:04:22 -04:00
jays2kings
f70b6061e8 Version 1.4.25
Added inverted deadzones to Left and Right Sticks, set the values to
negative and pushing the stick past the red in the controller readout
will make sure the output doesn't pass the set limit
Fixed bug when trying to invert left and right stick with Shift modifier
Fixed "Fall back to" text in shift modifier
Added Romanian Translation (Thanks Vlad Giurgiu and Anonim)
Updated German (added thanks to Jan-Stefan Janetzky & An Op
Turk[DedSec]), Russian, and French translations
2015-04-21 15:00:09 -04:00
jays2kings
3da12e5048 Version 1.4.245
Fix settings tab text being blank after clicking controller/driver setup
Check if .Net 4.5 or higher is installed at the start.
Fix crash with certain macro
Option to disable flashing light when controller latency is over 10ms
Special Action Program: Added Arguments/Command Line and hold trigger
for x seconds to launch program
Bug fixes
2015-03-15 14:16:01 -04:00
jays2kings
e5a26eed47 Version 1.4.241
Fixed being unable to switch profiles when using certain language packs
Removed not yet implemented controls in options
Updated Italian Translation
2015-02-13 15:19:59 -05:00
jays2kings
b0edeb634e Version 1.4.24
New Special Action: Check Battery life, choose to see the battery via a
notification or via the lightbar with a gradient of your choice
Sixaxis tilting added to special action triggers
Added Special macros to be used by pressing the Load Presets button,
selecting Cycle Programs allows you to hold the button to cycle through
open programs, and edit the wait time to choose how long you hold the
button down to go to the next program
Can now add additional recordings between macros, click in the list
where you want to add
Can now delete actions in the macro by pressing delete
Fixed color by battery being inverted
Fixed bluetooth light being completely off when stopping/exiting
DS4Windows
Updated translation sheets (new items highlighted in 3rd column in green
for easier finding)
2015-02-12 14:36:40 -05:00
jays2kings
0cb77ad07f Version 1.4.231
Fixed charging light not saving (thanks tehmantra)
Truly finished Italian Translation
2015-02-10 16:45:56 -05:00
jays2kings
7d7d5d7391 Version 1.4.23
Extended range needed for touchpad swipes actions to register
UI adjustments in profile settings, such as a color box for flashing
color, alignment adjustments, and the Sixaxis reading dot staying in
bounds of the box
Recording a macro for special actions now open up in a new window,
allowing for ctrl+tab to be used
When controller's latency passes 10ms, the log will show and the
controller will flash red until the latency is under 10ms
Hovering over the mac address shows the latency of said controller, if
it's connected via bluetooth
Option to choose when at low battery for the light to flash or pulse
Much cleaner/neater hotkeys/about window
Option to download language packs if your PC is not set to an english
language
Finished Italian Translations (Thanks again Giulio)
Finished German Translations (Thanks Ammonjak)
Updated Italian & Russian Translations
Reorganized the the code so all cs files are under the same project
2015-02-08 16:51:52 -05:00