Commit Graph

873 Commits

Author SHA1 Message Date
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