diff options
| author | a1xd <[email protected]> | 2020-09-25 18:46:04 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-09-25 18:46:04 -0400 |
| commit | fd184b6ffeaf5b1d1dceb7de58a8ebb7c3d8c760 (patch) | |
| tree | 4e00b478ac1d888c50beaa782733cf52c61d038b /common | |
| parent | Merge pull request #22 from JacobPalecki/GUI (diff) | |
| download | rawaccel-fd184b6ffeaf5b1d1dceb7de58a8ebb7c3d8c760.tar.xz rawaccel-fd184b6ffeaf5b1d1dceb7de58a8ebb7c3d8c760.zip | |
add initial writer
move managed settings into wrapper
move gui build into driver build dir
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; }; } |