diff options
| author | Jacob Palecki <[email protected]> | 2020-09-25 19:35:54 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-25 19:35:54 -0700 |
| commit | f2279a5c52d5da43e48133e753514b3806bb7e3c (patch) | |
| tree | 328830580cf5bb96a317a61bef3e155dc2a17fd5 /common | |
| parent | Use log LUT rather than binary search for last mouse move point (diff) | |
| parent | add initial writer (diff) | |
| download | rawaccel-f2279a5c52d5da43e48133e753514b3806bb7e3c.tar.xz rawaccel-f2279a5c52d5da43e48133e753514b3806bb7e3c.zip | |
merge with writer
Diffstat (limited to 'common')
| -rw-r--r-- | common/rawaccel-settings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/rawaccel-settings.h b/common/rawaccel-settings.h index 2ba6a98..93f4768 100644 --- a/common/rawaccel-settings.h +++ b/common/rawaccel-settings.h @@ -4,6 +4,9 @@ #include "accel-base.hpp" namespace rawaccel { + using milliseconds = double; + + inline constexpr milliseconds WRITE_DELAY = 1000; enum class accel_mode { linear, classic, natural, naturalgain, power, logarithm, motivity, noaccel @@ -15,7 +18,7 @@ namespace rawaccel { vec2<accel_mode> modes = { accel_mode::noaccel, accel_mode::noaccel }; vec2<accel_args> argsv; vec2d sens = { 1, 1 }; - double time_min = 0.4; + milliseconds time_min = 0.4; }; } |