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