Commit Graph

1439 Commits

Author SHA1 Message Date
Travis Nickles
76b31245f8 Default use controller for mapping option to false
This has probably caused issues for other people
2019-03-11 11:54:55 -05:00
Travis Nickles
604d419cb9 Have x86 build target C# 7.3
Missed updating this before
2019-03-10 09:44:34 -05:00
Travis Nickles
0ea8cef46e Merge branch 'jay' into vigem-udpserver 2019-03-10 09:33:00 -05:00
Travis Nickles
b922ba8c7b Version 1.6.13 2019-03-09 11:01:18 -06:00
Travis Nickles
c5f1de1b5c Update newest file 2019-03-09 11:01:05 -06:00
Travis Nickles
3bd0e44dc5 Removed unneeded device check 2019-03-08 17:09:36 -06:00
Travis Nickles
f1a10fb5ec Allow flash at to work at 0% battery
Related to issue #599
2019-03-08 14:29:58 -06:00
Travis Nickles
8f3ce714a2 Removed unwanted boxing for AdvancedColorDialog 2019-03-07 13:35:13 -06:00
Travis Nickles
45485bb44d Added color dialog instance back since VS removed it
Related to issue #599
2019-03-07 13:14:43 -06:00
Travis Nickles
ef01b4d3b3 Altered controller readings to better represent mapped state
Related to issue #587.
2019-03-07 01:06:55 -06:00
Travis Nickles
72802bb5c6 Small message change 2019-03-06 09:55:35 -06:00
Travis Nickles
923f487f39 Added dead check to skip some processes 2019-03-06 02:11:55 -06:00
Travis Nickles
8d4d4b0758 Fixed auto profile use for hotplugging
Related to issue #578
2019-03-05 05:14:39 -06:00
Travis Nickles
098bbf057d Made a note about UWP apps causing exclusive mode problems 2019-03-05 03:34:15 -06:00
Travis Nickles
1dbf9abb02 Implemented square stick functionality
Related to issue #341.
2019-03-04 17:21:58 -06:00
Travis Nickles
6533585a07 Make sure to stop USB controller while suspending
Related to issue #595
2019-03-03 19:27:57 -06:00
Travis Nickles
425b1dd47a Change haptic changing routine to skip always searching for existing device 2019-03-03 00:35:17 -06:00
Travis Nickles
a4d7372e7b Do not reset custom led setting while switching profiles
Related to issue #596
2019-03-02 05:42:49 -06:00
Travis Nickles
c575b3b525 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2019-02-28 04:24:03 -06:00
Travis Nickles
231b418d4c Merge branch 'jay' of https://github.com/mika-n/DS4Windows into mika-n-jay 2019-02-27 01:48:27 -06:00
Travis Nickles
d7d593c997 Use implicit extra dead zones for special actions 2019-02-26 04:13:13 -06:00
mika-n
9cbd4d8a42 Updated Finnish resources.fi.resx translation (added missing translations). 2019-02-25 13:35:22 +02:00
mika-n
7026f8b1c4 SASteeringWheelEmulation: Improved deadzone handling (smooth range instead of just dead gap clipping). Fixed a bug in >360 turn range calculations. Small performance improvements. 2019-02-25 13:29:05 +02:00
mika-n
0ae7c77b61 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-02-25 12:05:51 +02:00
Travis Nickles
306a7ad3d0 Version 1.6.12 2019-02-25 01:34:07 -06:00
Travis Nickles
0434ba3eb7 Updated newest file 2019-02-25 01:33:57 -06:00
Travis Nickles
61f7893d06 Update the updater version number 2019-02-25 01:24:54 -06:00
Travis Nickles
68f8232441 Removed more boxing 2019-02-24 17:11:52 -06:00
mika-n
0da70eaf06 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-02-24 23:40:56 +02:00
Travis Nickles
2497ced5d5 Change main report routine to use custom delegate.
Remove the need to box and unbox data every gamepad poll.
Seems to help with performance.
2019-02-24 15:03:12 -06:00
mika-n
7f0ebb955d Updated missing Finnish translations in ResourcesFI file and changed few resource strings public just like other resources are (few items were accidentally private) 2019-02-24 21:05:24 +02:00
mika-n
668ecafe6c Check synchronized state of controller before trying to load calibation values (SonyWA connected devices could be in non-sync state without a valid controller MAC address) 2019-02-24 00:27:48 +02:00
Travis Nickles
afea15f38f Output report len is constant
No need to pull from property every poll
2019-02-22 01:51:54 -06:00
Travis Nickles
abad91ca2a Changed class name to remove VS name violation warning 2019-02-22 01:50:50 -06:00
mika-n
a3c51c8688 merge 2019-02-20 08:39:55 +02:00
mika-n
e70aa452e3 removed unnecessary using System.Draw reference. 2019-02-19 15:29:33 +02:00
mika-n
48bd457d66 merge 2019-02-19 15:19:45 +02:00
mika-n
4b0134faf9 merge 2019-02-19 15:19:10 +02:00
mika-n
7da6b3434a Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-02-19 15:09:00 +02:00
mika-n
8d087b01ff merge conflicts with base branch 2019-02-19 15:00:17 +02:00
Travis Nickles
a8c722d604 Replace old lock with ReaderWriterLockSlim instance 2019-02-19 04:24:52 -06:00
Travis Nickles
f828eb888c Use struct reference rather than copy 2019-02-19 03:16:42 -06:00
mika-n
27dbab06c5 Deadzone and anti-deadzone handling (the first rugged version, not perfect yet) and small performance improvements here and there. 2019-02-19 11:10:16 +02:00
Travis Nickles
d609453f12 Now target .NET Framework 4.6.2
Seems to work better than version 4.6.1 on my system
2019-02-18 18:33:36 -06:00
Travis Nickles
7f94a33e97 Version 1.6.11 2019-02-17 02:04:37 -06:00
Travis Nickles
9baceec656 Update newest text file 2019-02-17 02:04:03 -06:00
Travis Nickles
40278c9d1b Use enumerator for settings iteration 2019-02-16 15:49:36 -06:00
Travis Nickles
a9e7a3cb5b More enumerator usage 2019-02-16 02:50:53 -06:00
Travis Nickles
3417c08a87 Get rid of more ElementAt usage
Old code is commented out as a reference
2019-02-16 02:41:13 -06:00
Travis Nickles
61a5ab07ea Use enumeartor for KeyCollection as well 2019-02-16 02:25:54 -06:00
Travis Nickles
cd6742cf56 Found faster way to iterate over a ValueCollection 2019-02-16 02:16:56 -06:00
Travis Nickles
50109282f4 Added unchecked region 2019-02-15 21:58:00 -06:00
Travis Nickles
5b19dc76cd Re-added extra default axis mapping pass
Related to issue #579
2019-02-15 18:04:09 -06:00
Travis Nickles
688bc01916 Target C# 7.3 2019-02-12 18:33:42 -06:00
Travis Nickles
6098c91e29 Use ref for more color struct routines 2019-02-12 01:31:18 -06:00
Travis Nickles
ce0ac67dcd Remove some struct copying from lightbar routine 2019-02-11 23:51:26 -06:00
Travis Nickles
42b75c717a Added unchecked blocks for populating field mapping arrays
Seems to help a lot
2019-02-09 21:33:58 -06:00
Travis Nickles
244bdae7f3 Version 1.6.10 2019-02-09 11:36:56 -06:00
Travis Nickles
43b9f9e0c4 Updated newest text file 2019-02-09 11:36:39 -06:00
Travis Nickles
7631080d87 Add const variables to skip type casting 2019-02-09 11:30:06 -06:00
Travis Nickles
fc40e00846 Only take active binding into account for multiple binds. Fixes ATS profile. 2019-02-09 11:06:31 -06:00
Travis Nickles
49c7ee35cf Make remapping to xinput actions a two pass process again
Related to issue #570
2019-02-08 21:04:08 -06:00
Travis Nickles
34e3db6cea Undo last commit. Extra dispose call is not necessary 2019-02-08 16:56:38 -06:00
Travis Nickles
7818e88b72 Added dispose call when closing Options form 2019-02-08 11:26:42 -06:00
Travis Nickles
1f0c144d42 Version 1.6.9 2019-02-08 08:14:14 -06:00
Travis Nickles
925d2584c0 Updated newest.txt file 2019-02-08 08:14:01 -06:00
Travis Nickles
e64c7f0455 Fixed double tap interval issue with Multi-Action Button special action
Related to issue #556
2019-02-07 22:56:07 -06:00
Travis Nickles
8c6cfa4c13 Fixed another action getter 2019-02-07 21:00:36 -06:00
Travis Nickles
3dd88e481c Fixed issue with xinput unplug routine on device removal
Related to issue #554
2019-02-07 16:40:24 -06:00
Travis Nickles
255fc8f8fc Minor fix for update check when offline
Related to issue #568
2019-02-07 11:52:28 -06:00
Travis Nickles
ce87d8c212 Added toggle option for Gyro Mouse activation
Not sure about this feature tbh. Related to issue #464.
2019-02-06 21:42:34 -06:00
Travis Nickles
09103dcea8 Use input field mapping instead of output field mapping for refactor 2019-02-01 05:08:53 -06:00
Travis Nickles
dd96beafbe Purged old state mapping code that required dictionary object 2019-01-31 16:19:08 -06:00
Travis Nickles
6eb5ddf589 Increase minimum size of Options form 2019-01-31 11:48:01 -06:00
Travis Nickles
ff870230a6 Implemented user defined gyro mouse dead zone
Related to issue #338.
2019-01-31 10:59:00 -06:00
Travis Nickles
4a7e233bd1 Fixed bad refactor
Fixes issue #561.
2019-01-31 00:50:37 -06:00
Travis Nickles
7a35ca19cb Fixed sixaxis easeout quad 2019-01-29 22:11:01 -06:00
Travis Nickles
70909bdaa9 Added easeout quad curve option for other axes 2019-01-29 21:50:29 -06:00
Travis Nickles
63f7dcfdce Added easeout quad curves for LS and RS 2019-01-29 21:19:25 -06:00
Travis Nickles
bdea569582 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ScpUtil.cs
2019-01-26 21:34:43 -06:00
Travis Nickles
e0138bdeba Version 1.6.8 2019-01-26 20:26:53 -06:00
Travis Nickles
25991b22c6 Update newest text file 2019-01-26 20:26:41 -06:00
Travis Nickles
3fd9c4c612 Merge branch 'jay' into hidguardpropexe 2019-01-25 10:00:53 -06:00
Travis Nickles
385c3f9b76 Implement FILE_ATTRIBUTE_TEMPORARY use when opening DS4 device 2019-01-25 06:12:12 -06:00
Travis Nickles
0d89170d9c Minor tweaks 2019-01-24 06:20:55 -06:00
Travis Nickles
1a6327ecdc Tweaked a couple of axis midpoint methods. Removed unused method. 2019-01-24 04:54:40 -06:00
Travis Nickles
1f9cf16397 Minor control search optimization 2019-01-24 03:38:21 -06:00
Travis Nickles
719d6a0482 Merge branch 'jay' into vigem-udpserver 2019-01-22 18:05:25 -06:00
Travis Nickles
dc403100f1 Changed another portion to use 128 as stick axis midpoint 2019-01-22 18:04:54 -06:00
Travis Nickles
bf3f10d0ae Apply proposed changes for HG v.1 support 2019-01-18 15:38:13 -06:00
Travis Nickles
ce0fb4f4a8 Merge branch 'jay' into vigem-udpserver 2019-01-18 02:40:42 -06:00
Travis Nickles
8f25e4b630 Version 1.6.7 2019-01-18 02:11:22 -06:00
Travis Nickles
d79e368c6a Updated newest version file 2019-01-18 02:11:09 -06:00
Travis Nickles
190dc5e75c Remove old call for low latency garbage collection 2019-01-17 03:26:19 -06:00
Travis Nickles
920d85cd9f Merge branch 'jay' into vigem-udpserver 2019-01-16 15:11:07 -06:00
Travis Nickles
19c81b8f68 Use base class type for main form ref 2019-01-16 14:12:28 -06:00
Travis Nickles
ec71282ce3 Changed DS4Color to use IEquatable interface
Allows for faster Equals method than the previous
implementation
2019-01-16 05:07:19 -06:00
Travis Nickles
df1ec44f1c Fixed volume updating when sending timeout output reports 2019-01-16 04:08:51 -06:00
Travis Nickles
f37ac07a22 Merge branch 'jay' into vigem-udpserver 2019-01-13 19:02:22 -06:00
Travis Nickles
5ec6bcb11a Increased mouse stick offset value
Increasing it seems viable now
2019-01-13 15:06:26 -06:00
Travis Nickles
a8a55b46dc Start using 128 as proper axis midpoint. Changed some mapping routines.
Helps with mouse cursor in Civ 4
2019-01-13 13:32:38 -06:00
mika-n
13607ebc7c Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-01-13 21:26:50 +02:00
mika-n
abadfb137b Fine tuning vJoy output feeder 2019-01-13 21:25:42 +02:00
Travis Nickles
ccfc74e2fa Version 1.6.6 2019-01-12 16:39:06 -06:00
Travis Nickles
b2eac326b4 Updated newest version file 2019-01-12 16:38:51 -06:00
Travis Nickles
619cbbf53a Merge branch 'jay' into vigem-udpserver 2019-01-11 16:08:19 -06:00
Travis Nickles
2fe34afe2f More removal of old haptic related items 2019-01-10 19:07:49 -06:00
Travis Nickles
f887f334df Remove some unused fields and methods 2019-01-10 18:37:39 -06:00
Travis Nickles
2c471e6eff Change how haptic state changes happen 2019-01-10 18:15:14 -06:00
Travis Nickles
fee5c42fe6 Version 1.6.5 2019-01-10 02:02:36 -06:00
Travis Nickles
beeaa62f69 Updated newest version file 2019-01-10 02:02:22 -06:00
Travis Nickles
eb45a6c06c Minor tweak 2019-01-09 23:57:22 -06:00
Travis Nickles
a253daa95d Minimize influence of stopwatch 2019-01-09 19:30:05 -06:00
Travis Nickles
8556b6ffdb Version 1.6.4 2019-01-09 15:25:10 -06:00
Travis Nickles
e057f30f3b Updated newest version file 2019-01-09 15:24:53 -06:00
Travis Nickles
18c27b7f10 Corrections to output packet changes 2019-01-09 05:41:20 -06:00
Travis Nickles
bc9a7c3e65 Change priority of output threads 2019-01-09 04:24:29 -06:00
Travis Nickles
cceaa31404 Send output packet at least once every 4 seconds
Best attempt at resolving issue #399.
2019-01-09 03:45:39 -06:00
Travis Nickles
1a8548e5b9 Changed thread affinity of some timer objects 2019-01-07 22:01:43 -06:00
Travis Nickles
9dc23ebfc4 Added log notifications when using Load Profile special action
It now seems doable speed wise. Related to issue #540.
2019-01-07 19:35:30 -06:00
Travis Nickles
ac6116ea3d Change x64 download of updater to use base name again.
Related to issue #539.
2019-01-07 19:10:22 -06:00
Travis Nickles
6b8bb9300f Version 1.6.3 2019-01-05 04:23:46 -06:00
Travis Nickles
39583a253c Updated newest version file 2019-01-05 04:23:32 -06:00
Travis Nickles
858fe0a481 Fix power state flags. Make sure to invoke a call on main thread 2019-01-05 00:07:00 -06:00
Travis Nickles
56517e4751 Changed suspend detection routine to use WMI. Removed use of Microsoft.Win32 namespace. 2019-01-04 00:49:55 -06:00
mika-n
853b1ac650 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2019-01-02 21:45:41 +02:00
mika-n
5b49a8ed47 SA steering wheel emulation can now feed VJoy virtual joystick device (analog axies there). This leaves all original X360/DS4 analog axies for other purposes. Useful in games which support mapping controls to more than one controller (for example EurotruckSimulator/AmericalTruckSimulator). 2019-01-02 21:44:15 +02:00
Travis Nickles
4f92a57617 Version 1.6.2
GitHub download migration. Update copyright string
for the future current year
2018-12-31 13:09:28 -06:00
Travis Nickles
992b0941c5 Update version file 2018-12-31 13:00:55 -06:00
Travis Nickles
412d661454 Link to newer version of DS4Updater 2018-12-31 12:57:32 -06:00
Travis Nickles
795754b480 Delay running update check. Move Uri object 2018-12-29 01:20:33 -06:00
Travis Nickles
6ed165c29f Changed ScpVBus download URL 2018-12-29 00:27:36 -06:00
Travis Nickles
79bfb33bbd Change arch updater exe filename 2018-12-28 19:36:04 -06:00
Travis Nickles
481323c68d Change some URLs to https versions 2018-12-28 19:33:03 -06:00
Travis Nickles
d2324eabc5 Change download location of updater 2018-12-28 19:25:43 -06:00
Travis Nickles
eae1d47ba6 Changed remote URL for update file check 2018-12-28 19:02:56 -06:00
Travis Nickles
e1eae85302 Added newest.txt file to project directory 2018-12-28 19:00:30 -06:00
Travis Nickles
bb09eba9db Add newest.txt file generation to post-build step
Related to issue #531.
2018-12-28 17:51:45 -06:00
Jarno
19b440af97 Populate tooltip text on start
This adds version info to tooltip on app start, even if there are no controllers connected
2018-12-27 10:03:53 +01:00
Jarno
676ddea442 Shorten tooltip char limit code
Also removes unnecessary comments
2018-12-27 10:02:05 +01:00
Jarno
5d88d9f54a Change initial text 2018-12-27 10:00:04 +01:00
Travis Nickles
6156d66ffb Added comment noting Scuf Vantage entry 2018-12-26 23:38:37 -06:00
Travis Nickles
e570c1c89e Added info for Scuf Vantage gamepad
Related to issue #524
2018-12-26 23:33:38 -06:00
Travis Nickles
23a25bc504 Raised number of ticks possible for analog mouse wheel
Related to issue #518.
2018-12-26 22:27:01 -06:00
Travis Nickles
83dae66bac Use C# 7.2 for x86 build 2018-12-24 09:15:32 -06:00
Travis Nickles
2d9f3f424c Version 1.6.1 2018-12-24 09:07:14 -06:00
Travis Nickles
8ae68ed7cf Use SuppressUnmanagedCodeSecurity attr for InputMethods class 2018-12-23 19:53:52 -06:00
Travis Nickles
730cbbec29 Now target C# 7.2 2018-12-23 19:53:13 -06:00
Travis Nickles
c4db4d02fa Reference new updater version 2018-12-23 08:45:03 -06:00
mika-n
4678e14408 merge master branch 2018-12-23 13:14:22 +02:00
Travis Nickles
8be9e66f22 Change priority of bus thread.
Lower priority seems better
2018-12-22 16:41:36 -06:00
Travis Nickles
f642371e4d Version 1.6.0 2018-12-18 15:54:09 -06:00
Travis Nickles
a52008cb53 Version 1.5.20 2018-12-18 13:36:35 -06:00
Travis Nickles
accd6c01d6 Fixes invalid string compare. Just check if both strings are the same now 2018-12-17 21:19:18 -06:00
Travis Nickles
de60158262 Version 1.5.19 2018-12-15 12:31:07 -06:00
Travis Nickles
59dbee7c35 Use current enhanced precision settings for LS 2018-12-15 12:26:52 -06:00
Travis Nickles
1019790e25 Revert mouse stick offset 2018-12-14 05:40:20 -06:00
Travis Nickles
bd2a2fe4f0 Lowered mouse stick offset 2018-12-14 05:08:32 -06:00
Travis Nickles
d54f449b02 Experiment with new enhanced precision values 2018-12-14 03:54:26 -06:00
Travis Nickles
c2d26f30ce Make sure to not show main window if app should start minimized
Not a great fix. Related to issue #514.
2018-12-14 02:04:45 -06:00
Travis Nickles
4d5ff945d8 Make WebClient instance local 2018-12-14 01:45:05 -06:00
Travis Nickles
f6bb47451e Moved linked profiles loading further in init 2018-12-13 14:53:49 -06:00
Travis Nickles
f7da78090f Make sure to add timer stop when event is called
I know that I added the call at some point during testing
before.
2018-12-13 13:49:46 -06:00
Travis Nickles
b28a6cb446 Moved updating updater call 2018-12-13 05:55:38 -06:00
Travis Nickles
86fb3c2a0b Hook log routines later in init 2018-12-13 05:44:04 -06:00
Travis Nickles
b0797f4fcc Merge branch 'jay' into vigem-udpserver 2018-12-12 20:37:13 -06:00
Travis Nickles
957f01ee05 Loosen enhanced precision curve 2018-12-12 05:03:18 -06:00
Travis Nickles
461c7936c2 Raised enhanced precision curve 2018-12-12 03:19:41 -06:00
Travis Nickles
d5fa84c52c Raised enhanced precision curve 2018-12-11 22:34:23 -06:00
Travis Nickles
e1bb1ac042 Raised enhanced precision curve 2018-12-11 05:47:44 -06:00
Travis Nickles
8783f199aa Revert "Lowered enhanced precision curve"
This reverts commit a97af00948.
2018-12-11 02:27:57 -06:00
Travis Nickles
a97af00948 Lowered enhanced precision curve 2018-12-11 01:41:04 -06:00
Travis Nickles
bad54b3d4b Remove Settings class 2018-12-10 21:33:14 -06:00
Travis Nickles
899b816f81 Add Settings class 2018-12-10 18:45:27 -06:00
mika-n
5bd4906521 Fine tunes. synced with upstream changes 2018-12-10 20:29:49 +02:00
mika-n
f795e08f8a Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-12-10 20:25:59 +02:00
Travis Nickles
832bd64b5a Version 1.5.18 2018-12-09 12:59:20 -06:00
Travis Nickles
114dd055e1 Ignore warning 2018-12-09 04:23:48 -06:00
Travis Nickles
bc8e6ebd0e Remove component use for ScpVBus classes 2018-12-09 04:05:26 -06:00
Travis Nickles
7c2b653163 Loosened enhanced precision curves 2018-12-07 17:43:40 -06:00
mika-n
94d5f83db1 Added config options of sixaxis steering wheel emulation and calibration btn to config GUI form (Options). If controller is calibrated via this config screen then there is no need to define "calibrate" special action key. Improved >360 turn range calculation. Added possibility to map SA steering values to L2+R2 trigger axis (Z-axis). For example in ETS2/ATS game controller settings it is possible to use that axis for steering if triggers are not used for throttling and braking (this would leave all axis of L and R thumbstick available for other purposes). 2018-12-07 00:09:09 +02:00
mika-n
4359bb082b Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-12-06 15:22:23 +02:00
Travis Nickles
003dbd627e Make slightly better window size saving routine
Related to issue #507
2018-12-06 05:26:44 -06:00
Travis Nickles
145ddb01ba Move Resize event handler use to later in main form init 2018-12-06 02:57:30 -06:00
Travis Nickles
323bde6513 Removed reference to unused assembly 2018-12-05 18:48:28 -06:00
Travis Nickles
397814c244 Fixed typo 2018-12-05 17:57:01 -06:00
Travis Nickles
38faadfcd2 Added comment about intent 2018-12-05 13:59:57 -06:00
Travis Nickles
63829a1eb9 Use local data for InputMethods method calls
Removes lots of locking when emulating KB+M
2018-12-05 06:12:05 -06:00
Travis Nickles
51f7aebb51 Removed unnecessary quote 2018-12-05 05:36:39 -06:00
Travis Nickles
ea3787eef2 Change udp port opening routine for some scenarios
Experimental
2018-12-05 05:16:54 -06:00
Travis Nickles
0f3d6e379a Changing access modifier of resource led to performance boost. Change exclusive mode warning string.
Related to issue #493.
2018-12-05 03:40:38 -06:00
Travis Nickles
391f0a8110 Changed project file. Updated ToolsVersion 2018-12-05 01:28:09 -06:00
mika-n
3ab55d102e Merge remote-tracking branch 'upstream/jay' into jay 2018-12-04 00:54:20 +02:00
mika-n
1eed418022 Added support for 180/360/720/900/1440 turn range (or any other turn range between 90-3240 degrees). New SASteeringWheelEmulationRange profile option with int32 value (default 360). 2018-12-04 00:50:37 +02:00
Travis Nickles
d1d9354f1c Merge branch 'jay' into vigem-udpserver 2018-12-01 00:59:32 -06:00
Travis Nickles
81d08099a7 Make sure to enforce actual wait time 2018-12-01 00:58:50 -06:00
Travis Nickles
26bbfdbf98 Remove unneeded udp start call 2018-11-30 22:00:13 -06:00
Travis Nickles
dac9d1ba52 Merge branch 'jay' into vigem-udpserver
# Conflicts:
#	DS4Windows/DS4Control/ControlService.cs
2018-11-30 14:51:55 -06:00
Travis Nickles
a06c331cd2 Version 1.5.17 2018-11-29 03:41:07 -06:00
Travis Nickles
c02230265c More changes to UDP 2018-11-27 04:38:41 -06:00
Travis Nickles
773a7a0423 Temporary change to UDP server
Don't want to lose these changes but more has to be done
2018-11-27 04:30:42 -06:00
Travis Nickles
84558f805f Make sure to create UDP server outside GUI if first enabled after program launch
More of an incremental change. Probably should remove async and await
2018-11-26 18:54:26 -06:00
mika-n
38458e4a2f Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-26 21:11:41 +02:00
Travis Nickles
532444de48 Found a way to make usage check work.
Related to issue #498.
2018-11-26 10:04:26 -06:00
Travis Nickles
5ef3fc76cf Version 1.5.16 2018-11-19 14:09:54 -06:00
Travis Nickles
67ab6f2692 Disable allowdrop setting for DS4Form 2018-11-19 06:49:20 -06:00
mika-n
1cb04d03ad Changed precision of angle values sent to x360 virtual controller from 1 degree to 1/10th degree precision. Also, minimized "center deadzone" gap (the previous optimization of angle calculation was too aggressive in wheel center position). 2018-11-19 13:32:48 +02:00
mika-n
4f9831cf3f Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-19 13:27:07 +02:00
Travis Nickles
6e037b1422 Removed formatting from profiles listbox 2018-11-19 04:50:52 -06:00
mika-n
09c74e9979 Merge branch 'jay' of https://github.com/Ryochan7/DS4Windows into jay 2018-11-19 11:40:53 +02:00
Travis Nickles
c2edbdf946 Increased timeout for tracking second instance exclusive mode workaround 2018-11-17 18:47:13 -06:00
Travis Nickles
93acec78aa Revert to using asInvoker in manifest file
Related to issue #487.
2018-11-17 18:45:23 -06:00
Travis Nickles
43855ef934 Fixed start minimized option 2018-11-17 08:57:18 -06:00
Travis Nickles
2990013907 Corrected event to watch 2018-11-17 08:09:36 -06:00
Travis Nickles
56903bce1f Removed unnecessary method override at this point 2018-11-17 07:51:12 -06:00
mika-n
a933eae0a9 New "360 degree gyro steering wheel emulation" functionality. This works best if the DS4 controller is mounted on a "DoItYourself steering wheel rig" (ie. controller attached at a tip of a plastic or wooden pipe which acts as a "steering shaft". This way the controller turns around like a steering wheel and gyro sensor values are more consistent).
At this point there is no GUI to enable this, so you should edit a profile XML file (fex default.xml profile) with Notepad and add <SASteeringWheelEmulationAxis>LXPos</SASteeringWheelEmulationAxis> entry.
Accepted values are None, LXPos, LYPos, RXPos, RYPos) which indicates which X360 axis is used for steering wheel values (ie. gyro tilt converted as steering wheel turning range values). The normal behaviour of this axis should be set as "unmapped" to avoid conflicting values. If steering wheel axis is LX then LY axis is still available for other purposes.
2018-11-17 01:41:21 +02:00
Travis Nickles
dedb1c9ad9 Manually calculate device latency average 2018-11-16 05:24:47 -06:00
Travis Nickles
5d1b4b9a4f Removed a color change routine in about window 2018-11-14 05:40:00 -06:00
Travis Nickles
928ee3e76c Changed options form check after clicking window close button
Related to issue #481.
2018-11-13 15:01:57 -06:00
Travis Nickles
5047dcf31f Use build setting change in x86 build 2018-11-12 06:22:20 -06:00
Travis Nickles
b1e2797f78 Edited build settings 2018-11-12 05:18:42 -06:00
Travis Nickles
db859fb4db Changed test rumble check to remove implicit data coercion 2018-11-11 04:56:10 -06:00
Travis Nickles
ad530e4d20 Fixed issue with app not being restored from launching a second session.
Related to issue #417.
2018-11-09 05:23:42 -06:00
Travis Nickles
fb7c731fe5 Version 1.5.15 2018-11-07 04:07:14 -06:00
Travis Nickles
db2b459e6c Force requireAdministrator execution level 2018-11-07 04:00:10 -06:00
Travis Nickles
1fafd0d375 Removed a couple unused methods 2018-11-06 03:11:16 -06:00
Travis Nickles
ccdfd8cfe5 Purge HidGuardian utilities 2018-11-06 02:47:31 -06:00
Travis Nickles
6db6315d72 Added extra calibration check. Might be useful in some cases where people have reported crashes. 2018-11-05 04:49:23 -06:00
Travis Nickles
ad7bbe7ea9 Use ReadWriteLockSlim instance instead of lock 2018-11-02 18:20:27 -05:00
Travis Nickles
79377ced7f Added locking and volatile usage for UdpServer
Related to issue #454.
2018-11-02 13:03:08 -05:00
Travis Nickles
99a1342a51 Merge branch 'jay' into vigem-udpserver 2018-11-01 16:28:56 -05:00
Travis Nickles
0eac27c8d1 Fixed bad copy pasta. I swear this was corrected previously. VS at fault again? 2018-11-01 15:53:32 -05:00
Travis Nickles
b9b89be554 Renamed method to make meaning more clear 2018-11-01 14:13:10 -05:00
Travis Nickles
4c1ef2b63c Don't persist current blank state. Method should probably be renamed
Related to issue #474
2018-11-01 14:11:53 -05:00
Travis Nickles
1a2b6e89c9 Merge branch 'jay' into vigem-udpserver 2018-10-27 13:21:00 -05:00
Travis Nickles
cadcaf57a2 Real version 1.5.14. VS did not save a change before. 2018-10-27 13:17:17 -05:00
Travis Nickles
ae9e9ca1e0 Version 1.5.14 2018-10-27 12:44:19 -05:00
Travis Nickles
49d24fce7d Testing new output report copying thread for USB and SONYWA 2018-10-26 20:58:43 -05:00
Travis Nickles
e3ed777682 Removed unnecessary array copy for USB and SONYWA connections 2018-10-26 01:37:51 -05:00
Travis Nickles
32605524ff Added flag to allow skipping a lock when applicable 2018-10-25 02:51:50 -05:00
Travis Nickles
ce78793dea Removed old unused field 2018-10-25 01:37:26 -05:00
Travis Nickles
687ff05948 Corrected unregister notify call
Changed location and corrected used handle
2018-10-24 21:41:29 -05:00
Travis Nickles
dfcc3250cf Changed index increment placement
Seems to solve #454 on my machine
2018-10-24 04:17:01 -05:00
Travis Nickles
76ccb44a32 Fixed control display in flow control 2018-10-23 03:34:23 -05:00
Travis Nickles
7327758377 Merge branch 'jay' into vigem-udpserver 2018-10-20 13:34:00 -05:00
Travis Nickles
fa333ef3dc Version 1.5.13 2018-10-20 13:31:37 -05:00
Travis Nickles
7bce103417 Merge branch 'jay' into vigem-udpserver 2018-10-20 03:32:03 -05:00
Travis Nickles
98e155c318 Tweaked main form class 2018-10-20 03:31:32 -05:00
Travis Nickles
a3406b805b Merge branch 'jay' into vigem-udpserver 2018-10-19 03:33:34 -05:00
Travis Nickles
03b3acb209 Lowered mouse stick offset a bit 2018-10-19 03:33:03 -05:00
Travis Nickles
d30f0e7147 Merge branch 'jay' into vigem-udpserver 2018-10-19 02:38:09 -05:00
Travis Nickles
d8aab22051 Raised mouse stick offset 2018-10-19 02:37:50 -05:00
Travis Nickles
3d816a3ce2 Merge branch 'jay' into vigem-udpserver 2018-10-19 00:33:45 -05:00
Travis Nickles
0575a95ec1 Added SuppressUnmanagedCodeSecurity to Color Dialog for some unmanaged calls 2018-10-19 00:33:14 -05:00
Travis Nickles
fba091d2d1 Merge branch 'jay' into vigem-udpserver 2018-10-18 02:24:23 -05:00
Travis Nickles
7a1f98e169 Version 1.5.12 2018-10-18 02:18:25 -05:00
Travis Nickles
af33a6a294 Merge branch 'jay' into vigem-udpserver 2018-10-16 23:35:02 -05:00
Travis Nickles
e6646d6c6e Added SuppressUnmanagedCodeSecurity to main form class
Used due to interopt calls used for auto profile system
2018-10-16 23:34:29 -05:00
Travis Nickles
149f4a3e25 Merge branch 'jay' into vigem-udpserver 2018-10-16 23:08:43 -05:00
Travis Nickles
7d871c0709 Added UnregisterNotify call 2018-10-16 23:06:39 -05:00
Travis Nickles
22f1357ebd Merge branch 'jay' into vigem-udpserver 2018-10-16 14:36:07 -05:00
Travis Nickles
2029cc5531 Register for more specific device change events
This should make the WndProc method execution leaner
2018-10-16 14:35:41 -05:00
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