Share via


PreProcessInput Event

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Occurs when the input manager starts to process a raw input item.

Namespace:  Microsoft.SPOT.Input
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Event PreProcessInput As PreProcessInputEventHandler
public event PreProcessInputEventHandler PreProcessInput
public:
 event PreProcessInputEventHandler^ PreProcessInput {
    void add (PreProcessInputEventHandler^ value);
    void remove (PreProcessInputEventHandler^ value);
}
member PreProcessInput : IEvent<PreProcessInputEventHandler,
    PreProcessInputEventArgs>
JScript does not support events.

Remarks

A filter is any code routine that listens for the PreProcessInput event or the PostProcessInput event. Note that filters can modify the input staging area. The handlers attached to the PreProcessInput event are invoked in reverse order so that handlers added by users are invoked before handlers in the system.

Calling the Cancel method on a PreProcessInputEventArgs object that is passed to the PreProcessInputEventHandler delegate will cancel the processing of the raw input.

.NET Framework Security

See Also

Reference

InputManager. . :: . .DeviceEvents Class

Microsoft.SPOT.Input Namespace