コード例 #1
0
        protected override InputMapping GetStandardMapping()
        {
            SpeechBasedInputMapping mapping = new SpeechBasedInputMapping();

            mapping.SetAxisLikeMappingValues("nach links", "nach rechts", "vorwärts", "rückwärts", "links rollen", "rechts rollen", "nach oben", "nach unten", "Tick", "Ticks");
            mapping.SetButtonLikeMappingValues("Start", "Landung", "Schweben", "Notfall", "Nullstellung", "Kamera wechseln", "Spezial");

            return mapping;
        }
 public void Init()
 {
     mapping = new SpeechBasedInputMapping();
     mapping.SetAxisLikeMappingValues("to the left", "to the right", "forward", "backward", "left roll", "right roll", "up", "down", "tick", "ticks");
     mapping.SetButtonLikeMappingValues("Start", "Land", "Hover", "Emergency", "Flat Trim", "Change Camera", "Special");
 }