shortcuts: touchpad toggle keybind

This commit is contained in:
Ashley Wulber 2025-09-19 09:33:10 -04:00 committed by GitHub
parent b75be5b305
commit b19f66702f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 21 additions and 18 deletions

View file

@ -1701,6 +1701,7 @@ impl State {
));
let key_pattern = shortcuts::Binding {
modifiers: cosmic_modifiers_from_smithay(modifiers.clone()),
keycode: None,
key: Some(handle.modified_sym()),
description: None,
};
@ -1759,6 +1760,7 @@ impl State {
Action::Private(PrivateAction::Escape),
shortcuts::Binding {
modifiers: shortcuts::Modifiers::default(),
keycode: None,
key: Some(Keysym::Escape),
description: None,
},