feat(trackpoint): add left-handed option support

This commit is contained in:
dbeley
2025-03-13 09:20:42 +01:00
committed by Ivan Molodetskikh
parent 9f9c4a99af
commit 3e21585861
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -250,6 +250,8 @@ pub struct Trackpoint {
#[knuffel(child, unwrap(argument))]
pub scroll_button: Option<u32>,
#[knuffel(child)]
pub left_handed: bool,
#[knuffel(child)]
pub middle_emulation: bool,
}
@@ -3902,6 +3904,7 @@ mod tests {
scroll_button: Some(
274,
),
left_handed: false,
middle_emulation: false,
},
trackball: Trackball {