From 1baaa6dadcea5b8a85f1629e31119f4edba91b75 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 15 Apr 2024 14:18:20 +1000 Subject: Use more generic 'hooks' for each input device's actions --- src/input/include/input_volume_buttons.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/include/input_volume_buttons.hpp') diff --git a/src/input/include/input_volume_buttons.hpp b/src/input/include/input_volume_buttons.hpp index 162ca8d9..68962908 100644 --- a/src/input/include/input_volume_buttons.hpp +++ b/src/input/include/input_volume_buttons.hpp @@ -13,7 +13,7 @@ #include "haptics.hpp" #include "input_device.hpp" -#include "input_trigger.hpp" +#include "input_hook.hpp" #include "touchwheel.hpp" namespace input { @@ -27,8 +27,8 @@ class VolumeButtons : public IInputDevice { private: drivers::IGpios& gpios_; - Trigger up_; - Trigger down_; + TriggerHooks up_; + TriggerHooks down_; }; } // namespace input -- cgit v1.2.3