summaryrefslogtreecommitdiff
path: root/src/tangara/input/input_touch_wheel.hpp
diff options
context:
space:
mode:
authorTess Eisenberger <github@teisen.be>2025-02-01 15:59:08 -0800
committerteisenbe <teisenbe@noreply.codeberg.org>2025-02-02 04:48:42 +0000
commite8eaf3df10a896cb28e91cfc416b19303926a00a (patch)
tree15d20a1108d230285ae37a260f6920ac6c6cb8bf /src/tangara/input/input_touch_wheel.hpp
parentb98e67972bca390961ecd2240ab3d3553ea0bf86 (diff)
downloadtangara-fw-e8eaf3df10a896cb28e91cfc416b19303926a00a.tar.gz
Add a new setting for input controls when locked
This is just the plumbing of the new setting. The input methods will come in subsequent patches.
Diffstat (limited to 'src/tangara/input/input_touch_wheel.hpp')
-rw-r--r--src/tangara/input/input_touch_wheel.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tangara/input/input_touch_wheel.hpp b/src/tangara/input/input_touch_wheel.hpp
index 982f89f4..e8391914 100644
--- a/src/tangara/input/input_touch_wheel.hpp
+++ b/src/tangara/input/input_touch_wheel.hpp
@@ -30,7 +30,7 @@ class TouchWheel : public IInputDevice {
auto name() -> std::string override;
auto triggers() -> std::vector<std::reference_wrapper<TriggerHooks>> override;
- auto onLock() -> void override;
+ auto onLock(drivers::NvsStorage::LockedInputModes) -> void override;
auto onUnlock() -> void override;
auto sensitivity() -> lua::Property&;