diff options
| author | a1xd <[email protected]> | 2021-09-18 05:34:59 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-23 22:36:18 -0400 |
| commit | 94ce1542b03090b81a4250f7f799895c58ab286c (patch) | |
| tree | 84d80e63e929177ee2bf8cb1e081ed0f48a0edbb /common/rawaccel.hpp | |
| parent | refactor SetActiveHandles method (diff) | |
| download | rawaccel-94ce1542b03090b81a4250f7f799895c58ab286c.tar.xz rawaccel-94ce1542b03090b81a4250f7f799895c58ab286c.zip | |
rename directional multipliers
changes profile layout
Diffstat (limited to 'common/rawaccel.hpp')
| -rw-r--r-- | common/rawaccel.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/rawaccel.hpp b/common/rawaccel.hpp index be4e1a5..e2f31b1 100644 --- a/common/rawaccel.hpp +++ b/common/rawaccel.hpp @@ -139,11 +139,11 @@ namespace rawaccel { in.y *= dpi_adjusted_sens * args.yx_sens_ratio; if (apply_dir_mul_x && in.x < 0) { - in.x *= args.dir_multipliers.x; + in.x *= args.lr_sens_ratio; } if (apply_dir_mul_y && in.y < 0) { - in.y *= args.dir_multipliers.y; + in.y *= args.ud_sens_ratio; } } @@ -156,8 +156,8 @@ namespace rawaccel { apply_snap = args.degrees_snap != 0; apply_directional_weight = args.range_weights.x != args.range_weights.y; compute_ref_angle = apply_snap || apply_directional_weight; - apply_dir_mul_x = args.dir_multipliers.x != 1; - apply_dir_mul_y = args.dir_multipliers.y != 1; + apply_dir_mul_x = args.lr_sens_ratio != 1; + apply_dir_mul_y = args.ud_sens_ratio != 1; if (!args.whole) { distance_mode = distance_mode::separate; |