Table of Contents

Class ProcessInputEventArgs

Namespace
nanoFramework.UI.Input
Assembly
nanoFramework.Graphics.dll

Provides access to the input manager's staging area.

public class ProcessInputEventArgs : NotifyInputEventArgs
Inheritance
ProcessInputEventArgs
Derived
Inherited Members
Extension Methods

Remarks

An instance of this class, or a derived class, is passed to the handlers of the following events: cref="InputManager.PreProcessInput" cref="InputManager.PostProcessInput"

Methods

PeekInput()

Returns the input event on the top of the staging area.

public StagingAreaInputItem PeekInput()

Returns

StagingAreaInputItem

The input event that is on the top of the staging area. This can be null, if the staging area is empty.

PopInput()

Pops off the input event on the top of the staging area.

public StagingAreaInputItem PopInput()

Returns

StagingAreaInputItem

The input event that was on the top of the staging area. This can be null, if the staging area was empty.

PushInput(InputEventArgs, StagingAreaInputItem)

Pushes an input event onto the top of the staging area.

public StagingAreaInputItem PushInput(InputEventArgs input, StagingAreaInputItem promote)

Parameters

input InputEventArgs

The input event to place on the staging area. This may not be null, and may not already exist in the staging area.

promote StagingAreaInputItem

An existing staging area item to promote the state from.

Returns

StagingAreaInputItem

The staging area input item that wraps the specified input.

PushInput(StagingAreaInputItem)

Pushes an input event onto the top of the staging area.

public StagingAreaInputItem PushInput(StagingAreaInputItem input)

Parameters

input StagingAreaInputItem

The input event to place on the staging area. This may not be null, and may not already exist in the staging area.

Returns

StagingAreaInputItem

The specified staging area input item.