Add map-to-focused-window tablet setting

This commit is contained in:
Ivan Molodetskikh
2026-04-30 19:53:34 +03:00
parent adb5b3cd2c
commit 5f6f131b24
4 changed files with 56 additions and 19 deletions
+2
View File
@@ -366,6 +366,8 @@ pub struct Tablet {
#[knuffel(child)]
pub map_to_focused_output: bool,
#[knuffel(child)]
pub map_to_focused_window: bool,
#[knuffel(child)]
pub left_handed: bool,
}
+2
View File
@@ -720,6 +720,7 @@ mod tests {
tablet {
map-to-output "eDP-1"
map-to-focused-output
map-to-focused-window
calibration-matrix 1.0 2.0 3.0 \
4.0 5.0 6.0
}
@@ -1113,6 +1114,7 @@ mod tests {
"eDP-1",
),
map_to_focused_output: true,
map_to_focused_window: true,
left_handed: false,
},
touch: Touch {