Velaptor.Factories.HardwareFactory
Velaptor
Velaptor.Factories
HardwareFactory Class
Generates input type objects for processing input such as the keyboard and mouse.
public static class HardwareFactory
Inheritance System.Object → HardwareFactory
Methods
GetDisplays()
Gets all of the displays in the system.
public static System.Collections.Immutable.ImmutableArray<Velaptor.Hardware.SystemDisplay> GetDisplays();
Returns
System.Collections.Immutable.ImmutableArray<SystemDisplay>
The list of displays.
GetKeyboard()
Gets a keyboard object.
public static Velaptor.Input.IAppInput<Velaptor.Input.KeyboardState> GetKeyboard();
Returns
Velaptor.Input.IAppInput<KeyboardState>
The keyboard singleton object.
GetMainDisplay()
Gets the primary display in the system.
public static Velaptor.Hardware.SystemDisplay GetMainDisplay();
Returns
SystemDisplay
The system's primary display.
GetMouse()
Gets a mouse object.
public static Velaptor.Input.IAppInput<Velaptor.Input.MouseState> GetMouse();
Returns
Velaptor.Input.IAppInput<MouseState>
The keyboard singleton object.