SdlSensorEx extension

on

Static Methods

getFromId(int instanceId) Pointer<SdlSensor> sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Return the SDL_Sensor associated with an instance ID.
getNameForId(int instanceId) String? sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Get the implementation dependent name of a sensor.
getNonPortableTypeForId(int instanceId) int sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Get the platform dependent type of a sensor.
gets() List<int> sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Get a list of currently connected sensors.
getTypeForId(int instanceId) int sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Get the type of a sensor.
open(int instanceId) Pointer<SdlSensor> sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Open a sensor for use.
updates() → void sensor

Available on SdlSensor, provided by the SdlSensorEx extension

Update the current state of the open sensors.