diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 0a010c6d..6892c946 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -108,6 +108,12 @@ struct calibration_matrix { | |||
108 | float matrix[6]; | 108 | float matrix[6]; |
109 | }; | 109 | }; |
110 | 110 | ||
111 | enum input_config_mapped_to { | ||
112 | MAPPED_TO_DEFAULT, | ||
113 | MAPPED_TO_OUTPUT, | ||
114 | MAPPED_TO_REGION | ||
115 | }; | ||
116 | |||
111 | /** | 117 | /** |
112 | * options for input devices | 118 | * options for input devices |
113 | */ | 119 | */ |
@@ -147,6 +153,8 @@ struct input_config { | |||
147 | int xkb_capslock; | 153 | int xkb_capslock; |
148 | 154 | ||
149 | struct input_config_mapped_from_region *mapped_from_region; | 155 | struct input_config_mapped_from_region *mapped_from_region; |
156 | |||
157 | enum input_config_mapped_to mapped_to; | ||
150 | char *mapped_to_output; | 158 | char *mapped_to_output; |
151 | struct wlr_box *mapped_to_region; | 159 | struct wlr_box *mapped_to_region; |
152 | 160 | ||