Interface IInputDevice
public interface IInputDevice
Properties
Id
The unique identifier of this device
Guid Id { get; }
Property Value
Name
The name of the device
string Name { get; }
Property Value
Priority
The device priority. Larger means higher priority when selecting the first device of some type
int Priority { get; set; }
Property Value
Source
The input source the device belongs to.
IInputSource Source { get; }
Property Value
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