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
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
3d463ce7e8
Fixed mouse sensitivity getting throttled when using custom extras
2018-03-18 06:42:12 -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
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
3d387e5fde
Change six axis dead zone calculation to be a proper dead zone
2017-12-20 22:19:40 -06:00
Travis Nickles
71b91bc745
Remove extra gyro dead zone from mapping routine
2017-12-14 00:26:37 -06:00
Travis Nickles
d66c98c139
Remove new DS4State object creation per poll
2017-12-02 01:45:51 -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
9a1590bf4f
Fix macro binding for multiple touchpad swipe controls
...
Related to issue #162 .
2017-11-27 12:43:38 -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
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
2fa075348c
Remove unnecessary check
2017-10-31 18:36:48 -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
6ab0f3f020
Make sure one full wheel click is used per action
2017-10-05 22:00:04 -05:00
Travis Nickles
8dca930400
Create separate output accel values
2017-08-08 20:19:17 -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
acb03500a0
Lower mouse speed factor
2017-08-04 06:11:55 -05:00
Travis Nickles
7f75565aec
Rid another unnecessary state copy call.
2017-07-27 07:32:09 -05:00
Travis Nickles
aab2bb13f4
Add finger on touchpad back as a shift modifier
2017-07-22 20:48:04 -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
dba2b1bbb3
Tweaks to how imu data is used
2017-07-16 07:11:58 -05:00
Travis Nickles
56fff28f65
Try to correct some problems with imu data usage
2017-07-13 08:17:00 -05: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
d74820dbf5
Add rotation routine for LS and RS
2017-06-30 01:42:19 -07:00
Travis Nickles
328b2dc14c
Attempt to smooth out mouse cursor for analog sticks
2017-06-19 08:50:28 -07:00
Travis Nickles
a473224293
Fix mouse distance offset for negative stick axes
2017-06-17 03:13:33 -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
1c613139ef
Use temp arrays to help cache some data
2017-06-08 14:26:50 -07:00
Travis Nickles
9a4fc0476e
Change property access
2017-06-08 11:09:05 -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
ce0ac4f04a
Make sure multi-action button can work with touchpad area button
2017-06-05 01:31:29 -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
c781082425
Add DateTime fields to SpecialAction
2017-05-26 18:57:46 -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
2b741533bb
Minor optimizations
2017-05-17 01:59:09 -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
edeaa30b59
Code clean up. Reset xinput mapping for more bound actions.
2017-05-12 07:48:58 -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
4980cd01dc
Fix issue with multi-action button not working
...
Related to issue #26 .
2017-05-08 07:27:41 -07:00
Travis Nickles
5bfd6df2d3
Added max zone settings
2017-05-05 09:13:12 -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
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
9e153fff97
Fixed a couple of issue with gyro mappings
2017-04-28 13:06:58 -07:00
Travis Nickles
44501c24de
Revert back to old disconnect bluetooth behavior
2017-04-26 18:39:33 -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
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
3e4a5c0562
Fixes for Quick Charge mode
...
Resolves issue #19 .
2017-04-22 07:49:01 -07:00
Travis Nickles
52c5fde941
Some minor changes
2017-04-21 21:22:36 -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
6c83ca2470
Calculate stick angles for each state change
2017-04-16 02:54:34 -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
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
4ea9289a0d
Make sure profile loading and saving works for X360Controls actions
2017-04-11 14:56:37 -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
4a6f2fc278
Tweak button mapping translation
2017-04-09 10:14:44 -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
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
a1f103c483
Some small changes to the mapping routine
2017-04-07 17:13:19 -07:00
Travis Nickles
51cbe22a90
Tweak disconnect routine
2017-04-06 01:19:12 -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
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
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
5ad4e83b58
Add null extras detection when opening button mapping window
2017-03-28 18:41:17 -07:00
Travis Nickles
f103d955f6
Speed up looking for custom action and extras
2017-03-28 08:27:15 -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
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
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
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
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
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