File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,18 @@ fn main() -> () {
6868 execute_commands ( commands, & x11_handler, debug_enabled) ;
6969 } ;
7070 }
71+ StateChanges :: CrownTouched { modifiers} => {
72+ let modifiers = Modifier :: from ( modifiers) ;
73+ if let ( _, Some ( commands) ) = config. get_mapping_for_modifiers ( modifiers) {
74+ execute_commands ( & commands. touch , & x11_handler, debug_enabled) ;
75+ }
76+ }
77+ StateChanges :: CrownReleased { modifiers} => {
78+ let modifiers = Modifier :: from ( modifiers) ;
79+ if let ( _, Some ( commands) ) = config. get_mapping_for_modifiers ( modifiers) {
80+ execute_commands ( & commands. release , & x11_handler, debug_enabled) ;
81+ }
82+ }
7183 StateChanges :: CrownClicked { modifiers } => {
7284 let modifiers = Modifier :: from ( modifiers) ;
7385 if let ( _, Some ( commands) ) = config. get_mapping_for_modifiers ( modifiers) {
You can’t perform that action at this time.
0 commit comments