Support calibration-matrix in touch input config

This commit is contained in:
Szybet
2025-09-30 17:08:03 +02:00
committed by Ivan Molodetskikh
parent 1b41ef146d
commit 03c564736a
4 changed files with 22 additions and 2 deletions
+2
View File
@@ -371,6 +371,8 @@ pub struct Tablet {
pub struct Touch {
#[knuffel(child)]
pub off: bool,
#[knuffel(child, unwrap(arguments))]
pub calibration_matrix: Option<Vec<f32>>,
#[knuffel(child, unwrap(argument))]
pub map_to_output: Option<String>,
}
+1
View File
@@ -993,6 +993,7 @@ mod tests {
},
touch: Touch {
off: false,
calibration_matrix: None,
map_to_output: Some(
"eDP-1",
),