C# Class WindowsInput.InputSimulator

Implements the IInputSimulator interface to simulate Keyboard and Mouse input and provide the state of those input devices.
Inheritance: IInputSimulator
ファイルを表示 Open project: Hebo/LeagueMaster Class Usage Examples

Public Methods

Method Description
InputSimulator ( ) : System

Initializes a new instance of the InputSimulator class using the default KeyboardSimulator, MouseSimulator and WindowsInputDeviceStateAdaptor instances.

InputSimulator ( IKeyboardSimulator keyboardSimulator, IMouseSimulator mouseSimulator, IInputDeviceStateAdaptor inputDeviceStateAdaptor ) : System

Initializes a new instance of the InputSimulator class using the specified IKeyboardSimulator, IMouseSimulator and IInputDeviceStateAdaptor instances.

Method Details

InputSimulator() public method

Initializes a new instance of the InputSimulator class using the default KeyboardSimulator, MouseSimulator and WindowsInputDeviceStateAdaptor instances.
public InputSimulator ( ) : System
return System

InputSimulator() public method

Initializes a new instance of the InputSimulator class using the specified IKeyboardSimulator, IMouseSimulator and IInputDeviceStateAdaptor instances.
public InputSimulator ( IKeyboardSimulator keyboardSimulator, IMouseSimulator mouseSimulator, IInputDeviceStateAdaptor inputDeviceStateAdaptor ) : System
keyboardSimulator IKeyboardSimulator The instance to use for simulating keyboard input.
mouseSimulator IMouseSimulator The instance to use for simulating mouse input.
inputDeviceStateAdaptor IInputDeviceStateAdaptor The instance to use for interpreting the state of input devices.
return System