diff --git a/FlippR-Driver/src/input/Detector.cpp b/FlippR-Driver/src/input/Detector.cpp index f0e82ff..9d6dc0b 100644 --- a/FlippR-Driver/src/input/Detector.cpp +++ b/FlippR-Driver/src/input/Detector.cpp @@ -13,7 +13,7 @@ namespace Input { -Detector::Detector(GPIOInterface* in_gpio_interface, std::map events, InputEventNotifier* input_event_notifier) : +Detector::Detector(InputGPIOInterface* in_gpio_interface, std::map events, InputEventNotifier* input_event_notifier) : in_gpio_interface(in_gpio_interface), input_events(events), is_running(true), input_event_notifier(input_event_notifier) { detect_thread = std::thread(&Detector::detect, this); diff --git a/FlippR-Driver/src/input/Detector.h b/FlippR-Driver/src/input/Detector.h index 9d3fba8..ecb14ed 100644 --- a/FlippR-Driver/src/input/Detector.h +++ b/FlippR-Driver/src/input/Detector.h @@ -17,7 +17,7 @@ #include #include -#include "../utilities/GPIOInterface.hpp" +#include "../utilities/InputGPIOInterface.h" #include "InputEvent.h" #include "InputEventNotifier.h" @@ -36,7 +36,7 @@ class Detector { public: - Detector(GPIOInterface* in_gpio_interface, std::map events, InputEventNotifier* input_event_notifier); + Detector(InputGPIOInterface* in_gpio_interface, std::map events, InputEventNotifier* input_event_notifier); ~Detector(); private: @@ -44,7 +44,7 @@ private: bool check_inputs(char& address); private: - GPIOInterface* in_gpio_interface; + InputGPIOInterface* in_gpio_interface; std::map input_events;