summaryrefslogtreecommitdiff
path: root/src/tangara/input/input_device.hpp
diff options
context:
space:
mode:
authorslord <slord@noreply.codeberg.org>2025-02-04 21:17:57 +0000
committerslord <slord@noreply.codeberg.org>2025-02-04 21:17:57 +0000
commit508c8c79102c6d095f92eaf72f42d3f61ef5e7ba (patch)
tree8ea20e3fd06a5c6f84d88eb822ba8ef5f8667bcd /src/tangara/input/input_device.hpp
parentff733e8f0c827e3d2d91bb7db29a85807867ab5e (diff)
parent813db15da84ee82066564b51f83be451cf121a00 (diff)
downloadtangara-fw-508c8c79102c6d095f92eaf72f42d3f61ef5e7ba.tar.gz
Merge branch 'main' into playlist-browser
Diffstat (limited to 'src/tangara/input/input_device.hpp')
-rw-r--r--src/tangara/input/input_device.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tangara/input/input_device.hpp b/src/tangara/input/input_device.hpp
index 7edded3e..424c0da3 100644
--- a/src/tangara/input/input_device.hpp
+++ b/src/tangara/input/input_device.hpp
@@ -10,6 +10,7 @@
#include <string>
#include <vector>
+#include "drivers/nvs.hpp"
#include "indev/lv_indev.h"
#include "input/input_hook.hpp"
#include "lua/property.hpp"
@@ -34,7 +35,7 @@ class IInputDevice {
}
/* Called by the LVGL driver when controls are being locked. */
- virtual auto onLock() -> void {}
+ virtual auto onLock(drivers::NvsStorage::LockedInputModes) -> void {}
/* Called by the LVGL driver when controls are being unlocked. */
virtual auto onUnlock() -> void {}
};