Input System  v0.1
ISX.LowLevel.ConnectEvent Struct Reference

Signals that a device got re-connected after a disconnect. More...

Inherits ISX.LowLevel.IInputEventTypeInfo.

Static Public Member Functions

static ConnectEvent Create (int deviceId, double time)
 Create a connection event for the given device at the given time. More...
 

Detailed Description

Signals that a device got re-connected after a disconnect.

See also
InputDeviceChange.Connected, InputSystem.QueueConnectEvent, InputDevice.connected, InputSystem.onDeviceChange

Member Function Documentation

◆ Create()

static ConnectEvent ISX.LowLevel.ConnectEvent.Create ( int  deviceId,
double  time 
)
static

Create a connection event for the given device at the given time.

Parameters
deviceIdID of input device (InputDevice.id).
timeTime (in seconds) for event.
Returns
A device connect event.