예제 #1
0
        /// <summary>
        /// Connect the keyboard handler to a typer object
        /// </summary>
        /// <param name="typer">The typer object to connect to</param>
        public void ConnectToTyper(Typer typer)
        {
            if (typer == null)
            {
                return;
            }

            this.typer            = typer;
            inFinishedTypingState = false;
        }
예제 #2
0
 /// <summary>
 /// Disconnect from the typer by setting it to null
 /// </summary>
 public void DisconnectFromTyper()
 {
     typer = null;
 }