Tscope5
|
Definitions of cedrusbox functions. More...
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_button (int device, int button) |
Define a cedrusbox button as a response button. | |
int | ts5_get_num_cedrusboxes () |
Get then number of cedrusboxes that are connected to the system. | |
int | ts5_get_num_cedrusbox_buttons (int device) |
Get then number of buttons available on a cedrusbox. | |
int | ts5_cedrusbox_set_parameter (int device, int parameter, int value) |
Set a parameter on a cedrusbox. | |
int | ts5_cedrusbox_get_parameter (int device, int parameter) |
Get a parameter on a cedrusbox. |
Definitions of cedrusbox functions.
Definition in file cedrusbox.c.
int ts5_define_cedrusbox_button | ( | int | device, |
int | button | ||
) |
Define a cedrusbox button as a response button.
device | Number of the cedrusbox (devices are numbered from 1). |
button | Number of the button (buttons are counted from 1). |
Give a positive number if you want to monitor button press events, a negative number if you want to monitor button release events.
Definition at line 41 of file cedrusbox.c.
int ts5_get_num_cedrusboxes | ( | ) |
Get then number of cedrusboxes that are connected to the system.
Definition at line 111 of file cedrusbox.c.
int ts5_get_num_cedrusbox_buttons | ( | int | device | ) |
Get then number of buttons available on a cedrusbox.
device | Number of the cedrusbox (devices are numbered from 1). |
Definition at line 127 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 170 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 329 of file cedrusbox.c.