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.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/drivers/include/relative_wheel.hpp b/src/drivers/include/relative_wheel.hpp
index 3ff64b70..da4f9e3d 100644
--- a/src/drivers/include/relative_wheel.hpp
+++ b/src/drivers/include/relative_wheel.hpp
@@ -20,9 +20,11 @@ namespace drivers {
class RelativeWheel {
public:
- static auto Create(TouchWheel *touch) -> RelativeWheel* { return new RelativeWheel(touch); }
+ static auto Create(TouchWheel* touch) -> RelativeWheel* {
+ return new RelativeWheel(touch);
+ }
- explicit RelativeWheel(TouchWheel *touch);
+ explicit RelativeWheel(TouchWheel* touch);
// Not copyable or movable.
RelativeWheel(const RelativeWheel&) = delete;
@@ -34,7 +36,7 @@ class RelativeWheel {
auto ticks() -> std::int_fast16_t;
private:
- TouchWheel *touch_;
+ TouchWheel* touch_;
bool is_pressed_;
bool is_first_read_;
std::int_fast16_t ticks_;