public interface IInputManager
Properties
Declaration
ReadOnlyArray<InputDevice> devices { get; }
Property Value
Declaration
IEnumerable<string> layouts { get; }
Property Value
Methods
Declaration
InputDevice AddDevice(string layout, string name = null, string variants = null)
Parameters
Returns
Declaration
InputDevice GetDeviceById(int deviceId)
Parameters
Type |
Name |
Description |
Int32 |
deviceId |
|
Returns
Declaration
InputControlLayout LoadLayout(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Declaration
void QueueEvent(InputEventPtr eventPtr)
Parameters
Declaration
void RegisterLayout(string json, string name = null, InputDeviceMatcher? matches = default(InputDeviceMatcher? ))
Parameters
Declaration
void RemoveDevice(InputDevice device)
Parameters
Declaration
void RemoveLayout(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Declaration
void SetDeviceUsage(InputDevice device, string usage)
Parameters
Events
Declaration
event Action<InputDevice, InputDeviceChange> onDeviceChange
Event Type
Declaration
event Action<InputEventPtr, InputDevice> onEvent
Event Type
Declaration
event Action<string, InputControlLayoutChange> onLayoutChange
Event Type
Declaration
event Action<InputRemoting.Message> onMessage
Event Type