aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-08 14:15:13 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-08 15:09:12 -0400
commit0e3ddf255ef56b7fe2b868232b80d04ea961120b (patch)
treecd650869ccbeca085a022d7aceb97d5e581ff3bf /include
parent26e5974496e80b9fb07af19fcfb1777b90294a91 (diff)
Add input "identifier" map_to_output "identifier"
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index edb5a213..bc5d5412 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -192,6 +192,7 @@ sway_cmd input_cmd_drag_lock;
sway_cmd input_cmd_dwt;
sway_cmd input_cmd_events;
sway_cmd input_cmd_left_handed;
+sway_cmd input_cmd_map_to_output;
sway_cmd input_cmd_middle_emulation;
sway_cmd input_cmd_natural_scroll;
sway_cmd input_cmd_pointer_accel;
diff --git a/include/sway/config.h b/include/sway/config.h
index 91f772b5..ed49fbbd 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -52,7 +52,7 @@ struct sway_mode {
};
/**
- * libinput options for input devices
+ * options for input devices
*/
struct input_config {
char *identifier;
@@ -75,6 +75,8 @@ struct input_config {
char *xkb_rules;
char *xkb_variant;
+ char *mapped_output;
+
bool capturable;
struct wlr_box region;
};