diff options
| author | cooljqln <cooljqln@noreply.codeberg.org> | 2025-02-03 23:45:28 +0000 |
|---|---|---|
| committer | cooljqln <cooljqln@noreply.codeberg.org> | 2025-02-03 23:45:28 +0000 |
| commit | 38cb3d8219da0d26077d238c3e633f75a11055a3 (patch) | |
| tree | 7279ecbf1be6e7384e3a90c15153863ae1cf994f /src/tangara/input/input_device.hpp | |
| parent | 28846b989b75ca6fe513462c209ce95bce2a46b7 (diff) | |
| parent | 546daf71c1b04284848c4b5edfbaa3c5b4a284f4 (diff) | |
| download | tangara-fw-38cb3d8219da0d26077d238c3e633f75a11055a3.tar.gz | |
Merge pull request 'Add optional support for adjusting volume while locked' (#230) from teisenbe/tangara-fw:locked_input into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/230
Diffstat (limited to 'src/tangara/input/input_device.hpp')
| -rw-r--r-- | src/tangara/input/input_device.hpp | 3 |
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 {} }; |
