InputSourceSimulated Class
Namespace: Stride.Input
Assembly: Stride.Input.dll
Provides a virtual mouse and keyboard that generate input events like a normal mouse/keyboard when any of the functions (Simulate...) are called
Derived from InputSourceSimulated:
public class InputSourceSimulated : InputSourceBase, IInputSource, IDisposable
|
Improve this Doc
View Source
Properties
public IReadOnlyList<GamePadSimulated> GamePads { get; }
Property Value
public IReadOnlyList<KeyboardSimulated> Keyboards { get; }
Property Value
public IReadOnlyList<MouseSimulated> Mice { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<MouseSimulated> |
|
public IReadOnlyList<PointerSimulated> Pointers { get; }
Property Value
|
Improve this Doc
View Source
Methods
public GamePadSimulated AddGamePad()
Returns
public KeyboardSimulated AddKeyboard()
Returns
public MouseSimulated AddMouse()
Returns
public PointerSimulated AddPointer()
Returns
public override void Dispose()
Overrides
public override void Initialize(InputManager inputManager)
Parameters
Overrides
public void RemoveAllGamePads()
public void RemoveAllKeyboards()
public void RemoveAllMice()
public void RemoveAllPointers()
public void RemoveGamePad(GamePadSimulated gamePad)
Parameters
public void RemoveKeyboard(KeyboardSimulated keyboard)
Parameters
public void RemoveMouse(MouseSimulated mouse)
Parameters
public void RemovePointer(PointerSimulated pointer)
Parameters
Extension Methods