summaryrefslogtreecommitdiff
path: root/src/input/include/input_volume_buttons.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-04-11 15:16:35 +1000
committerjacqueline <me@jacqueline.id.au>2024-04-11 15:16:35 +1000
commit33919e9e3f419e13318fa6b8217d8c8dcd86c1eb (patch)
tree9e3a1209c8f17f9a6d57249fae7067cbb81e0227 /src/input/include/input_volume_buttons.hpp
parented82063af5f83530afa5cfb5bf5bd516f3d05f2a (diff)
downloadtangara-fw-33919e9e3f419e13318fa6b8217d8c8dcd86c1eb.tar.gz
Migrate all existing control schemes to the cool new world
Diffstat (limited to 'src/input/include/input_volume_buttons.hpp')
-rw-r--r--src/input/include/input_volume_buttons.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/include/input_volume_buttons.hpp b/src/input/include/input_volume_buttons.hpp
index 4ca8c16b..162ca8d9 100644
--- a/src/input/include/input_volume_buttons.hpp
+++ b/src/input/include/input_volume_buttons.hpp
@@ -13,6 +13,7 @@
#include "haptics.hpp"
#include "input_device.hpp"
+#include "input_trigger.hpp"
#include "touchwheel.hpp"
namespace input {
@@ -25,6 +26,9 @@ class VolumeButtons : public IInputDevice {
private:
drivers::IGpios& gpios_;
+
+ Trigger up_;
+ Trigger down_;
};
} // namespace input