summaryrefslogtreecommitdiff
path: root/src/tangara/input/input_touch_wheel.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2025-01-15 15:37:35 +1100
committerjacqueline <me@jacqueline.id.au>2025-01-15 15:37:35 +1100
commita69b95187be4afce4eefa8f7b08ceca7b88b7724 (patch)
tree42b39630c4fac348c87b2e2d4db3cb115f1d83cd /src/tangara/input/input_touch_wheel.hpp
parentdfb4ea54581de68a042746e9f7291ac2f833d47d (diff)
downloadtangara-fw-a69b95187be4afce4eefa8f7b08ceca7b88b7724.tar.gz
Handle lock state in each input device, instead of in the lvgl driver
Diffstat (limited to 'src/tangara/input/input_touch_wheel.hpp')
-rw-r--r--src/tangara/input/input_touch_wheel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tangara/input/input_touch_wheel.hpp b/src/tangara/input/input_touch_wheel.hpp
index d5cdbbfc..982f89f4 100644
--- a/src/tangara/input/input_touch_wheel.hpp
+++ b/src/tangara/input/input_touch_wheel.hpp
@@ -50,6 +50,7 @@ class TouchWheel : public IInputDevice {
TriggerHooks down_;
TriggerHooks left_;
+ bool locked_;
bool is_scrolling_;
uint8_t threshold_;
bool is_first_read_;