From 32ae0c51f006cbcf41cfae3cff4d3f63ba91cccd Mon Sep 17 00:00:00 2001 From: Histausse Date: Fri, 7 Oct 2022 16:03:52 +0200 Subject: 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. --- src/helpers/WLClasses.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helpers') 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) { -- cgit v1.2.3