public KeymapInput(KeymapInputSource source, string name, string key, bool continous, bool cursor) { this.Source = source; this.Name = name; this.Key = key; this.Continous = continous; this.Cursor = cursor; }
public List <KeymapInput> getAvailableInputs(KeymapInputSource source) { List <KeymapInput> list = new List <KeymapInput>(); foreach (KeymapInput input in allInputs) { if (input.Source == source) { list.Add(input); } } return(list); }
public KeymapInput(KeymapInputSource source, string name, string key) : this(source, name, key, true, false, false) { }