SpaceControl DLL
Version 2.8.9
API documentation for the SpaceControl 3D input devices
|
These functions are handling with advanced settings as a whole. More...
Functions | |
ScStatus | scGetAdvancedSettings (int devIdx, ScAdvancedSettings *asP) |
Retrieves the actual advanced settings parameters. More... | |
ScStatus | scSetAdvancedSettings (int devIdx, ScAdvancedSettings *asP) |
Sets and retrieves the actual advanced settings parameters. More... | |
ScStatus | scGetSendDelay (int devIdx, int *maxPeriodP, int *minPeriodP) |
Retrieves the devic's data rate parameters. More... | |
ScStatus | scSetSendDelay (int devIdx, int *maxPeriodP, int *minPeriodP) |
Sets and retrieves the devices's data rate parameters. More... | |
These functions are handling with advanced settings as a whole.
ScStatus scGetAdvancedSettings | ( | int | devIdx, |
ScAdvancedSettings * | asP | ||
) |
Retrieves the actual advanced settings parameters.
Example:
devIdx | index of the device the parameters are requested |
asP | pointer to the advanced settings parameters to be retrieved |
References SC_COMMUNICATION_ERROR, SC_OK, and SC_WRONG_DEVICE_INDEX.
ScStatus scGetSendDelay | ( | int | devIdx, |
int * | maxPeriodP, | ||
int * | minPeriodP | ||
) |
Retrieves the devic's data rate parameters.
In the old spacemouse protocol both parameters given below are used as described, in the SpaceControl protocol only the first parameter is used.
Example:
devIdx | the index of the device to be requested |
maxPeriodP | SpaceMouse: after this time (20..500 ms) the device sends new standard data automatically if not all coordinates are 0. SpaceControl devices: The device will send the next data packet after the delay (20..405 ms) given here; values > 400 mean: send no data at all anymore. |
minPeriodP | SpaceMouse: soonest after this time (20..500 ms) the spacemouse will send new standard data even if requested sooner. SpaceControl devices: not used. |
References SC_COMMUNICATION_ERROR, SC_OK, and SC_WRONG_DEVICE_INDEX.
ScStatus scSetAdvancedSettings | ( | int | devIdx, |
ScAdvancedSettings * | asP | ||
) |
Sets and retrieves the actual advanced settings parameters.
Example:
devIdx | index of the device the parameters are to be set |
asP | pointer to the sensitivity structure to be retrieved |
References SC_COMMUNICATION_ERROR, SC_OK, SC_PARAMETER_OUT_OF_RANGE, and SC_WRONG_DEVICE_INDEX.
ScStatus scSetSendDelay | ( | int | devIdx, |
int * | maxPeriodP, | ||
int * | minPeriodP | ||
) |
Sets and retrieves the devices's data rate parameters.
In the old spacemouse protocol both parameters given below are used as described, in the SpaceControl protocol only the first parameter is used.
Example:
devIdx | the index of the device the data is to be set |
maxPeriodP | SpaceMouse: after this time (20..500 ms) the device sends new standard data automatically if not all coordinates are 0. SpaceControl devices: The device will send the next data packet after the delay (20..405 ms) given here; values > 400 mean: send no data at all anymore. |
minPeriodP | SpaceMouse: soonest after this time (20..500 ms) the spacemouse will send new standard data even if requested sooner. SpaceControl devices: not used. |
References MAX_PERIOD, MIN_PERIOD, SC_COMMUNICATION_ERROR, SC_OK, SC_PARAMETER_OUT_OF_RANGE, and SC_WRONG_DEVICE_INDEX.
Copyright (c) SpaceControl GmbH & Co. KG, Am Technologiepark 10, D-82229 Seefeld |