summaryrefslogtreecommitdiff
path: root/src/tangara/input/input_device.hpp
diff options
context:
space:
mode:
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 {}
};