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