diff options
| author | Jacob Palecki <[email protected]> | 2020-07-28 02:44:09 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-07-28 02:44:09 -0700 |
| commit | b1ef35050600978318581586691f5a8f119abf5b (patch) | |
| tree | 1a096e8c6d5ceff50ca169fb2295118184d629f5 /common/rawaccel-userspace.hpp | |
| parent | Remove extra mode from variables (diff) | |
| download | rawaccel-b1ef35050600978318581586691f5a8f119abf5b.tar.xz rawaccel-b1ef35050600978318581586691f5a8f119abf5b.zip | |
Rename variables and add modify functions
Diffstat (limited to 'common/rawaccel-userspace.hpp')
| -rw-r--r-- | common/rawaccel-userspace.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rawaccel-userspace.hpp b/common/rawaccel-userspace.hpp index bca6997..d0722b6 100644 --- a/common/rawaccel-userspace.hpp +++ b/common/rawaccel-userspace.hpp @@ -16,7 +16,7 @@ void error(const char* s) { throw std::domain_error(s); } -variables parse(int argc, char** argv) { +mouse_modifier parse(int argc, char** argv) { double degrees = 0; vec2d sens = { 1, 1 }; args_t accel_args{}; @@ -121,7 +121,7 @@ variables parse(int argc, char** argv) { std::exit(0); } - return variables(-degrees, sens, accel_args); + return mouse_modifier(-degrees, sens, accel_args); } } // rawaccel |