diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-12 12:34:13 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-12 12:34:13 +0100 |
commit | cdf85d6e04e664e4f56acd05affa287ac63ed125 (patch) | |
tree | f412284c81b7e9bd76a6e9ab5d40139850478164 /Touchpad.h | |
parent | 4c5f531300efe0faf2aea88dd6c78f05012934c8 (diff) |
Detect touchpad
Diffstat (limited to 'Touchpad.h')
-rw-r--r-- | Touchpad.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; }; |