Beispiel #1
0
 /// <summary>
 /// For each supported input mapping, get their aliasses and add to the dictionary for later use.
 /// </summary>
 private void FillNameToInputMappingLookupTable()
 {
     foreach (var typeofMapping in this.SupportedInputMappings)
     {
         InputMapping instance = (InputMapping)Activator.CreateInstance(typeofMapping);
         foreach (var alias in instance.GetControllerAliasses())
         {
             this.NameToInputMappingLookupTable[alias] = typeofMapping;
         }
     }
 }