summaryrefslogtreecommitdiff
path: root/driver
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 /driver
parentdirection/distance calc - small opts (diff)
downloadrawaccel-8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4.tar.xz
rawaccel-8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4.zip
add angle snapping
probably works like interaccel
Diffstat (limited to 'driver')
-rw-r--r--driver/driver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/driver.cpp b/driver/driver.cpp
index a92f773..0c21f34 100644
--- a/driver/driver.cpp
+++ b/driver/driver.cpp
@@ -74,6 +74,7 @@ Arguments:
};
global.modifier.apply_rotation(input);
+ global.modifier.apply_angle_snap(input);
if (enable_accel) {
auto time_supplier = [=] {