summaryrefslogtreecommitdiff
path: root/common/rawaccel-base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/rawaccel-base.hpp')
-rw-r--r--common/rawaccel-base.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/rawaccel-base.hpp b/common/rawaccel-base.hpp
index 6ce4468..dde56f5 100644
--- a/common/rawaccel-base.hpp
+++ b/common/rawaccel-base.hpp
@@ -17,6 +17,9 @@ namespace rawaccel {
inline constexpr size_t LUT_CAPACITY = 1025;
+ inline constexpr double MAX_NORM = 16;
+ inline constexpr double PI = 3.14159265358979323846;
+
enum class accel_mode {
classic,
jump,
@@ -79,7 +82,7 @@ namespace rawaccel {
vec2<accel_args> argsv;
vec2d sens = { 1, 1 };
- vec2d dir_multipliers = {};
+ vec2d dir_multipliers = { 1, 1 };
domain_args dom_args = {};
vec2d range_weights = { 1, 1 };