Table of Contents

Interface IInputDevice

Namespace
Stride.Input
Assembly
Stride.Input.dll
public interface IInputDevice

Properties

Id

The unique identifier of this device

Guid Id { get; }

Property Value

Guid

Name

The name of the device

string Name { get; }

Property Value

string

Priority

The device priority. Larger means higher priority when selecting the first device of some type

int Priority { get; set; }

Property Value

int

Source

The input source the device belongs to.

IInputSource Source { get; }

Property Value

IInputSource

Methods

Update(List<InputEvent>)

Updates the input device, filling the list inputEvents with input events that were generated by this device this frame

void Update(List<InputEvent> inputEvents)

Parameters

inputEvents List<InputEvent>

A list that gets filled with input events that were generated since the last frame

Remarks

Input devices are always updated after their respective input source