matchKeyBind
True if matches the named keybind (ignores Keybind.also). Usually you
want matchBind.
Parameters
- self:Key
- Key
- kb:enums.Keybind
- enums.Keybind
Source
Implementation
pub fn matchKeyBind(self: Key, kb: enums.Keybind) bool {
return self.mod.matchKeyBind(kb) and (kb.key != null and kb.key.? == self.code);
}