Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: add-sfz-preset , Previous: add-rts-hush-hook , Up: A , Home: Overview

Clamps Dictionary

add-sensor

Function

(add-sensor id &rest args)

Add an Accelerometer sensor with id accessible from a Firefox Browser on a Mobile device at the URL http://<local-ip>:54619/id to the sensor registry.

Note that the id in the URL will be written without the colon of the keyword. An id of :sensor1 will result in the URL http://<local-ip>:54619/sensor1.

Arguments

id Keyword denoting the id of the sensor.
:trigger-active Positive Number denoting if the trigger is active. Defaults to t.
:trigger-threshold Positive Number denoting the trigger threshold. Defaults to 0.1.
:trigger-timeout Positive Number denoting the trigger timeout in ms. Defaults to 200.

Author: Orm Finnendahl

Created: 2025-10-25 Sa 13:53

Validate