Commit Graph

216 Commits

Author SHA1 Message Date
Travis Nickles
5b19dc76cd Re-added extra default axis mapping pass
Related to issue #579
2019-02-15 18:04:09 -06:00
Travis Nickles
ce0ac67dcd Remove some struct copying from lightbar routine 2019-02-11 23:51:26 -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
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
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
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
1a6327ecdc Tweaked a couple of axis midpoint methods. Removed unused method. 2019-01-24 04:54:40 -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
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
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
23a25bc504 Raised number of ticks possible for analog mouse wheel
Related to issue #518.
2018-12-26 22:27:01 -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
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
7c2b653163 Loosened enhanced precision curves 2018-12-07 17:43:40 -06:00
Travis Nickles
b9b89be554 Renamed method to make meaning more clear 2018-11-01 14:13:10 -05:00
Travis Nickles
03b3acb209 Lowered mouse stick offset a bit 2018-10-19 03:33:03 -05:00
Travis Nickles
d8aab22051 Raised mouse stick offset 2018-10-19 02:37:50 -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
e317c6e84a Loosen enhanced precision curves 2018-10-15 17:20:05 -05:00
Travis Nickles
3697848b58 Loosened enhanced precision curves 2018-10-09 15:49:45 -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
f076752404 Loosen enhanced precision curve 2018-07-28 02:50:05 -05:00
Travis Nickles
f686b9711e Loosened enhanced precision curves more 2018-07-16 04:16:58 -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
600818a3c0 Changed enhanced precision curves 2018-06-17 19:52:36 -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
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