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:
parent
fe4a97f245
commit
32ae0c51f0
5 changed files with 59 additions and 0 deletions
|
|
@ -326,6 +326,8 @@ struct SIMEPopup {
|
|||
struct STouchDevice {
|
||||
wlr_input_device* pWlrDevice = nullptr;
|
||||
|
||||
std::string name = "";
|
||||
|
||||
DYNLISTENER(destroy);
|
||||
|
||||
bool operator==(const STouchDevice& other) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue