summaryrefslogtreecommitdiff
path: root/common/rawaccel-settings.h
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-01-21 22:35:37 -0500
committera1xd <[email protected]>2021-01-21 22:35:37 -0500
commit8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4 (patch)
tree6dee579d0928c5ef47247f60d526ce71306c9ba8 /common/rawaccel-settings.h
parentdirection/distance calc - small opts (diff)
downloadrawaccel-8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4.tar.xz
rawaccel-8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4.zip
add angle snapping
probably works like interaccel
Diffstat (limited to 'common/rawaccel-settings.h')
-rw-r--r--common/rawaccel-settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rawaccel-settings.h b/common/rawaccel-settings.h
index 6fa2aa9..dedef6d 100644
--- a/common/rawaccel-settings.h
+++ b/common/rawaccel-settings.h
@@ -19,6 +19,7 @@ namespace rawaccel {
struct settings {
double degrees_rotation = 0;
+ double degrees_snap = 0;
bool combine_mags = true;
vec2<accel_mode> modes = { accel_mode::noaccel, accel_mode::noaccel };
vec2<accel_args> argsv;