summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
authorHistausse <histausse@protonmail.com>2022-10-07 16:03:52 +0200
committerHistausse <histausse@protonmail.com>2022-10-08 15:25:46 +0200
commit32ae0c51f006cbcf41cfae3cff4d3f63ba91cccd (patch)
tree0d90ee91ea746368cc5d612d7c4d8752a70ec928 /src/helpers
parentfe4a97f2450f9ebb916bf62502fd46470f7735dd (diff)
Add input:touchdevice:td_rotation config
Add support for touch device roation. The rotation is set globally with `input:touchdevice:td_rotation config` and by device with `td_rotation` in a device block.
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index e66f1b52..a6751cd9 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -326,6 +326,8 @@ struct SIMEPopup {
struct STouchDevice {
wlr_input_device* pWlrDevice = nullptr;
+ std::string name = "";
+
DYNLISTENER(destroy);
bool operator==(const STouchDevice& other) {