Skip to content

Sensors

Federico edited this page Oct 21, 2018 · 25 revisions

Sensors support

Clightd supports both webcam and ALS devices.
It offers an unified API to use them: CaptureSensor and IsSensorAvailable.
When using these methods, first supported sensor found will be used.
Obviously, ALS devices have priority as they are less power hungry and offer better results.

API offers also CaptureX and IsXAvailable methods for each supported sensor.

Clone this wiki locally