Class NullInputDevice
Implements Null device for input
Inheritance
System.Object
EmptyKeys.UserInterface.Input.InputDeviceBase
NullInputDevice
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class NullInputDevice : InputDeviceBase
Properties
GamePadState
Gets the state of the game pad.
Declaration
public override GamePadStateBase GamePadState { get; }
Property Value
Type | Description |
---|---|
EmptyKeys.UserInterface.Input.GamePadStateBase | The state of the game pad. |
Overrides
EmptyKeys.UserInterface.Input.InputDeviceBase.GamePadState
KeyboardState
Gets the state of the keyboard.
Declaration
public override KeyboardStateBase KeyboardState { get; }
Property Value
Type | Description |
---|---|
EmptyKeys.UserInterface.Input.KeyboardStateBase | The state of the keyboard. |
Overrides
EmptyKeys.UserInterface.Input.InputDeviceBase.KeyboardState
MouseState
Gets the state of the mouse.
Declaration
public override MouseStateBase MouseState { get; }
Property Value
Type | Description |
---|---|
EmptyKeys.UserInterface.Input.MouseStateBase | The state of the mouse. |
Overrides
EmptyKeys.UserInterface.Input.InputDeviceBase.MouseState
TouchState
Gets or sets the state of the touch.
Declaration
public override TouchStateBase TouchState { get; }
Property Value
Type | Description |
---|---|
EmptyKeys.UserInterface.Input.TouchStateBase | The state of the touch. |
Overrides
EmptyKeys.UserInterface.Input.InputDeviceBase.TouchState
Methods
ShowVirtualKeyboard(Action<String>, Action, String, String, Int32)
Declaration
public override void ShowVirtualKeyboard(Action<string> onSuccess, Action onCancel = null, string defaultText = null, string title = null, int maxLength = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.String> | onSuccess | |
System.Action | onCancel | |
System.String | defaultText | |
System.String | title | |
System.Int32 | maxLength |
Overrides
EmptyKeys.UserInterface.Input.InputDeviceBase.ShowVirtualKeyboard(System.Action<System.String>, System.Action, System.String, System.String, System.Int32)
Update()
Declaration
public override void Update()
Overrides
EmptyKeys.UserInterface.Input.InputDeviceBase.Update()