diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-04-11 15:16:35 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-04-11 15:16:35 +1000 |
| commit | 33919e9e3f419e13318fa6b8217d8c8dcd86c1eb (patch) | |
| tree | 9e3a1209c8f17f9a6d57249fae7067cbb81e0227 /src/input/include/input_device.hpp | |
| parent | ed82063af5f83530afa5cfb5bf5bd516f3d05f2a (diff) | |
| download | tangara-fw-33919e9e3f419e13318fa6b8217d8c8dcd86c1eb.tar.gz | |
Migrate all existing control schemes to the cool new world
Diffstat (limited to 'src/input/include/input_device.hpp')
| -rw-r--r-- | src/input/include/input_device.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/include/input_device.hpp b/src/input/include/input_device.hpp index 09cf9193..5fc3e066 100644 --- a/src/input/include/input_device.hpp +++ b/src/input/include/input_device.hpp @@ -11,6 +11,7 @@ #include <vector> #include "hal/lv_hal_indev.h" +#include "property.hpp" namespace input { @@ -28,6 +29,11 @@ class IInputDevice { // TODO: Add hooks and configuration (or are hooks just one kind of // configuration?) + + virtual auto settings() + -> std::vector<std::pair<std::string, lua::Property>> { + return {}; + } }; } // namespace input |
