diff options
| author | a1xd <[email protected]> | 2020-07-30 22:04:44 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-07-30 22:04:44 -0400 |
| commit | b59cf98c2f326abeb6b993d8ecc5759d23096253 (patch) | |
| tree | 4ac15ce9945e46e135e8a2f1cc1bad619e94856d /common/rawaccel-userspace.hpp | |
| parent | add tweaks for st-refactor (diff) | |
| download | rawaccel-b59cf98c2f326abeb6b993d8ecc5759d23096253.tar.xz rawaccel-b59cf98c2f326abeb6b993d8ecc5759d23096253.zip | |
Make weight a member of accel_base
This exposes weight to derived accel types, which now supply a method to transform acceleration into scale.
Diffstat (limited to 'common/rawaccel-userspace.hpp')
| -rw-r--r-- | common/rawaccel-userspace.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rawaccel-userspace.hpp b/common/rawaccel-userspace.hpp index 49c0fcd..6a79d23 100644 --- a/common/rawaccel-userspace.hpp +++ b/common/rawaccel-userspace.hpp @@ -50,7 +50,7 @@ mouse_modifier parse(int argc, char** argv) { // mode-independent accel options auto opt_weight = "accel multiplier (default = 1)" % - make_opt_vec(args.acc_fn_args.weight, "weight"); + make_opt_vec(args.acc_fn_args.acc_args.weight, "weight"); auto opt_offset = "speed (dots/ms) where accel kicks in (default = 0)" % ( clipp::option("offset") & clipp::number("speed", args.acc_fn_args.acc_args.offset) |