internal KeySetting CreateNew(WinAPI.VK inputKey) { ConfigurationElement element = CreateNewElement(); KeySetting settings = element as KeySetting; settings.InputKey = inputKey; settings.OutputKey = inputKey; base.BaseAdd(element); return(settings); }
public KeySetting GetOrCreateNew(WinAPI.VK inputKey) { foreach (KeySetting s in this) { if (s.InputKey.Equals(inputKey)) { return(s); } } return(CreateNew(inputKey)); }
public void Remove(WinAPI.VK inputKey) { base.BaseRemove(inputKey); }