Commit Graph

140 Commits

Author SHA1 Message Date
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
1019499612 Resolve name collision with Log class and Diagnostics namespace
Makes app snappier
2018-09-29 04:42:22 -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
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
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
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
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
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
04140081ce Fixed problem when registry key does not exist 2018-07-18 00:56:05 -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
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
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
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
99c812301d Take result status for virtual bus plugin events back into account 2018-04-01 03:01:45 -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
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
01e5246c61 Use suspending flag rather than using a parameter 2018-02-26 03:51:24 -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
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
387c137c8c Call StopUpdate for normal device removal when stopping DS4Windows 2018-02-21 01:30:36 -06:00
Travis Nickles
4cfe5463a7 Added Sony Wireless Adapter to HidGuardian AffectedDevices list 2018-01-26 17:51:03 -06:00
Travis Nickles
3caf4fa514 Add HidGuardian AffectedDevices link to settings 2018-01-25 15:40:59 -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
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
d66c98c139 Remove new DS4State object creation per poll 2017-12-02 01:45:51 -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
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
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
0c303a091a Correct touchpad toggle messages 2017-10-11 21:26:21 -05:00
Travis Nickles
4f4bf78bea Fixed service changing when dinput only mode has changed 2017-10-02 13:38:39 -05:00
Travis Nickles
9ae43db945 Remove unused parameters from method call 2017-09-20 00:52:33 -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
e847fd6458 Tweak temp thread creation 2017-09-05 21:28:54 -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
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
644c674a27 Remove async usage in method 2017-08-24 23:08:35 -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
60a21a9fe3 Minor changes 2017-07-26 21:38:34 -05:00
Travis Nickles
fd1479f09f Added output curve options for L2 and R2 2017-07-19 15:15:59 -05:00
Travis Nickles
8eb9d6391f Some optimizations 2017-07-18 15:37:01 -05:00
Travis Nickles
887a4fbdbd Make imu data part of the DS4State 2017-07-16 03:30:49 -05: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
6c21572249 Minor changes 2017-06-29 06:16:02 -07:00
Travis Nickles
d6d6f63073 Change some thread priorities 2017-06-19 21:37:08 -07:00
Travis Nickles
2780dc3ac4 Change thread affinity of x360Bus object 2017-06-18 07:07:48 -07:00
Travis Nickles
2cf33e1bba Test hotplug changes. Change mouse remainder cutoff 2017-06-11 08:15:45 -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
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
ce0ac4f04a Make sure multi-action button can work with touchpad area button 2017-06-05 01:31:29 -07:00
Travis Nickles
31f1382245 Change when sleep is run for device removal 2017-06-03 15:35:13 -07:00
Travis Nickles
4b0e3dee62 Corrected some control identifiers 2017-06-01 22:58:01 -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
5a0fb09291 Update serial for Sony dongle connection upon sync event
Related to issue #44.
2017-05-25 02:51:28 -07:00
Travis Nickles
f9de32e184 Use proper index for dinput only flag 2017-05-18 18:16:08 -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
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
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
edeaa30b59 Code clean up. Reset xinput mapping for more bound actions. 2017-05-12 07:48:58 -07:00