diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-26 12:32:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 12:32:10 +0200 |
commit | 64e0731cc7206e8becfe6f80bc58362aa53f07b6 (patch) | |
tree | 3736887591d8464f577d2ad4a753a404d38d77ae /include/sway/config.h | |
parent | d94bb78ff3ade39cc848d0acfd571b9ac6917868 (diff) | |
parent | ff61df17ffd358b03663a35fe7140e51e1ee98fc (diff) |
Merge pull request #1860 from emersion/input-map-from
Add map_from_region command
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 085f7b92..87123289 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -51,6 +51,12 @@ struct sway_mode { list_t *keycode_bindings; }; +struct input_config_mapped_from_region { + double x1, y1; + double x2, y2; + bool mm; +}; + /** * options for input devices */ @@ -77,7 +83,8 @@ struct input_config { char *xkb_rules; char *xkb_variant; - char *mapped_output; + struct input_config_mapped_from_region *mapped_from_region; + char *mapped_to_output; bool capturable; struct wlr_box region; |