matchKeyBind
True if matches the named keybind ignoring Keybind.key (ignores
Keybind.also). Usually you want matchBind.
Parameters
Source
Implementation
pub fn matchKeyBind(self: Mod, kb: Keybind) bool {
return ((kb.shift == null or kb.shift.? == self.shift()) and
(kb.control == null or kb.control.? == self.control()) and
(kb.alt == null or kb.alt.? == self.alt()) and
(kb.command == null or kb.command.? == self.command()));
}