diff options
| author | a1xd <[email protected]> | 2021-01-21 22:35:37 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-01-21 22:35:37 -0500 |
| commit | 8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4 (patch) | |
| tree | 6dee579d0928c5ef47247f60d526ce71306c9ba8 /driver | |
| parent | direction/distance calc - small opts (diff) | |
| download | rawaccel-8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4.tar.xz rawaccel-8dac6b3ff1d3fa434c4cd1db752ba34681cae8b4.zip | |
add angle snapping
probably works like interaccel
Diffstat (limited to 'driver')
| -rw-r--r-- | driver/driver.cpp | 1 |
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 = [=] { |