diff --git a/sensors/Sensor.h b/sensors/Sensor.h index 6643083..8a7153a 100644 --- a/sensors/Sensor.h +++ b/sensors/Sensor.h @@ -58,7 +58,7 @@ class Sensor { Result injectEvent(const Event& event); protected: - void run(); + virtual void run(); virtual std::vector readEvents(); static void startThread(Sensor* sensor);