Tscope5
|
Go to the source code of this file.
Functions | |
Response registration | |
Cedrus response boxes can only be used as response devices. See timer.c for more information about response registration. | |
int | ts5_define_cedrusbox_key (int device, int key) |
int | ts5_cedrusbox_set_parameter (int device, int parameter, int value) |
int | ts5_cedrusbox_get_parameter (int device, int parameter) |
Definition in file cedrusbox.c.
int ts5_define_cedrusbox_key | ( | int | device, |
int | key | ||
) |
Define a cedrusbox key as a response key.
device | Number of the cedrusbox (devices are numbered from 1). |
key | Number of the key (keys are counted from 1). |
Give a positive number if you want to monitor key press events, a negative number if you want to monitor key release events.
Definition at line 32 of file cedrusbox.c.
int ts5_cedrusbox_set_parameter | ( | int | device, |
int | parameter, | ||
int | value | ||
) |
Set a parameter on a cedrusbox.
device | Number of the cedrusbox. |
parameter | Code for the parameter that will be set. |
value | The value that will be set. |
The available commands for SV1 voice keys are:
Definition at line 112 of file cedrusbox.c.
int ts5_cedrusbox_get_parameter | ( | int | device, |
int | parameter | ||
) |
Get a parameter on a cedrusbox.
device | Number of the cedrusbox. |
parameter | Code for the parameter that will be queried. |
See ts5_cedrusbox_set_parameter() for the list of parameter values.
Definition at line 248 of file cedrusbox.c.