summaryrefslogtreecommitdiff
path: root/src/drivers/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/include')
-rw-r--r--src/drivers/include/relative_wheel.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/drivers/include/relative_wheel.hpp b/src/drivers/include/relative_wheel.hpp
index a44e3598..e1106143 100644
--- a/src/drivers/include/relative_wheel.hpp
+++ b/src/drivers/include/relative_wheel.hpp
@@ -25,8 +25,8 @@ class RelativeWheel {
auto Update() -> void;
auto SetEnabled(bool) -> void;
- auto SetThreshold(int) -> void;
- auto GetThreshold() -> int;
+ auto SetSensitivity(uint8_t) -> void;
+ auto GetSensitivity() -> uint8_t;
auto is_clicking() const -> bool;
auto ticks() const -> std::int_fast16_t;
@@ -39,7 +39,8 @@ class RelativeWheel {
TouchWheel& touch_;
bool is_enabled_;
- int threshold_;
+ uint8_t sensitivity_;
+ uint8_t threshold_;
bool is_clicking_;
bool was_clicking_;