Add input "identifier" map_to_output "identifier"

This commit is contained in:
Drew DeVault 2018-04-08 14:15:13 -04:00
parent 26e5974496
commit 0e3ddf255e
8 changed files with 87 additions and 1 deletions

View file

@ -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;

View file

@ -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;
};