mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
feat(trackpoint): add left-handed option support
This commit is contained in:
committed by
Ivan Molodetskikh
parent
9f9c4a99af
commit
3e21585861
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user