Commit Graph

1210 Commits

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