Simulation Instruments

Home›All functions›Dial

Dial

Simulation Instrument Studio 1

dial_add

Simulation Instrument Studio 1

Definition

dial_id = dial_add(image, x, y, width, height, acceleration, click_callback)

Remarks

Add a dial. Callback receives direction (+1 / -1). Dials hold no state.

Example

No sample instrument calls this yet.

dial_add()
Photo slot: shots/dial_add.png

dial_set_acceleration

Simulation Instrument Studio 1

Definition

dial_set_acceleration(dial_id, acceleration)

Remarks

Set acceleration for a dial.

Parameters

NameDescription
dial_idId returned by the call that created the object.
accelerationHow fast the dial speeds up while it is held. 1 is normal.

Example

No sample instrument calls this yet.

dial_set_acceleration(dial_id, acceleration)
Photo slot: shots/dial_set_acceleration.png