mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
config: add tablet rotate configuration
Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
parent
20bba35570
commit
23ecc32562
5 changed files with 35 additions and 4 deletions
|
|
@ -826,6 +826,8 @@ entry(xmlNode *node, char *nodename, char *content)
|
|||
} else {
|
||||
wlr_log(WLR_ERROR, "Invalid value for <resize popupShow />");
|
||||
}
|
||||
} else if (!strcasecmp(nodename, "rotate.tablet")) {
|
||||
rc.tablet.rotation = tablet_parse_rotation(atoi(content));
|
||||
} else if (!strcasecmp(nodename, "button.map.tablet")) {
|
||||
button_map_from = tablet_button_from_str(content);
|
||||
} else if (!strcasecmp(nodename, "to.map.tablet")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue