summaryrefslogtreecommitdiffhomepage
path: root/Touchpad.h
diff options
context:
space:
mode:
Diffstat (limited to 'Touchpad.h')
-rw-r--r--Touchpad.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Touchpad.h b/Touchpad.h
index 9ee8064..0474d04 100644
--- a/Touchpad.h
+++ b/Touchpad.h
@@ -2,6 +2,8 @@
#include <libevdev/libevdev.h>
+#include <optional>
+
class Touchpad
{
public:
@@ -20,5 +22,7 @@ private:
libevdev* m_dev = nullptr;
int m_fd;
bool m_valid;
+
+ std::optional<input_event> m_ev;
};