PumpInput() public method

public PumpInput ( IInputHandler inputHandler ) : void
inputHandler IInputHandler
return void
Ejemplo n.º 1
0
        public void PumpInput(IInputHandler inputHandler)
        {
            VerifyThreadAffinity();
            input.PumpInput(this, inputHandler, lockedMousePosition);

            if (lockedMousePosition.HasValue)
            {
                SDL.SDL_WarpMouseInWindow(window, lockedMousePosition.Value.X, lockedMousePosition.Value.Y);
            }
        }
Ejemplo n.º 2
0
 public void PumpInput(IInputHandler inputHandler)
 {
     VerifyThreadAffinity();
     input.PumpInput(this, inputHandler);
 }