IInputDevice Interface
Namespace: Stride.InputAssembly: Stride.Input.dll
public interface IInputDevice
              | Name | Description | |
|---|---|---|
| Properties | ||
| Id | The unique identifier of this device  | 
                          |
| Name | The name of the device  | 
                          |
| Priority | The device priority. Larger means higher priority when selecting the first device of some type  | 
                          |
| Source | The input source the device belongs to.  | 
                          |
| Methods | ||
| Update(List<InputEvent>) | Updates the input device, filling the list   | 
                          |
Properties
Id
The unique identifier of this device
Guid Id { get; }
              Property Value
| Type | Description | 
|---|---|
| System.Guid | 
Name
The name of the device
string Name { get; }
              Property Value
| Type | Description | 
|---|---|
| System.String | 
Priority
The device priority. Larger means higher priority when selecting the first device of some type
int Priority { get; set; }
              Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Source
The input source the device belongs to.
IInputSource Source { get; }
              Property Value
| Type | Description | 
|---|---|
| IInputSource | 
Methods
Update(List<InputEvent>)
Updates the input device, filling the list 
void Update(List<InputEvent> inputEvents)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.List<InputEvent> | inputEvents | 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