aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 9736a665..4adce8ab 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -101,6 +101,11 @@ struct input_config_mapped_from_region {
bool mm;
};
+struct calibration_matrix {
+ bool configured;
+ float matrix[6];
+};
+
/**
* options for input devices
*/
@@ -109,6 +114,7 @@ struct input_config {
const char *input_type;
int accel_profile;
+ struct calibration_matrix calibration_matrix;
int click_method;
int drag;
int drag_lock;