Esempio n. 1
0
 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;
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public KeymapInput(KeymapInputSource source, string name, string key)
     : this(source, name, key, true, false, false)
 {
 }