diff options
Diffstat (limited to 'src/tangara/input/input_device.hpp')
| -rw-r--r-- | src/tangara/input/input_device.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tangara/input/input_device.hpp b/src/tangara/input/input_device.hpp index da2b31cd..7edded3e 100644 --- a/src/tangara/input/input_device.hpp +++ b/src/tangara/input/input_device.hpp @@ -32,6 +32,11 @@ class IInputDevice { virtual auto triggers() -> std::vector<std::reference_wrapper<TriggerHooks>> { return {}; } + + /* Called by the LVGL driver when controls are being locked. */ + virtual auto onLock() -> void {} + /* Called by the LVGL driver when controls are being unlocked. */ + virtual auto onUnlock() -> void {} }; } // namespace input |
