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.
This commit is contained in:
Histausse
2022-10-07 16:03:52 +02:00
parent fe4a97f245
commit 32ae0c51f0
5 changed files with 59 additions and 0 deletions

View File

@@ -326,6 +326,8 @@ struct SIMEPopup {
struct STouchDevice {
wlr_input_device* pWlrDevice = nullptr;
std::string name = "";
DYNLISTENER(destroy);
bool operator==(const STouchDevice& other) {