From aa210ed8a27387882fc7fd0dcd7cf961a9adc88f Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 6 Jan 2025 11:41:05 +0100 Subject: Fix touchpad event input reading --- Touchpad.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Touchpad.h') diff --git a/Touchpad.h b/Touchpad.h index 9ee8064..0474d04 100644 --- a/Touchpad.h +++ b/Touchpad.h @@ -2,6 +2,8 @@ #include +#include + class Touchpad { public: @@ -20,5 +22,7 @@ private: libevdev* m_dev = nullptr; int m_fd; bool m_valid; + + std::optional m_ev; }; -- cgit v1.2.3