|
SpaceControl DLL
Version 2.8.9
API documentation for the SpaceControl 3D input devices
|
These functions are handling with basic settings as a whole. More...
Functions | |
| ScStatus | scGetBasicSettings (int devIdx, ScBasicSettings *bsP) |
| Retrieves the actual basic settings parameters. More... | |
| ScStatus | scSetBasicSettings (int devIdx, ScBasicSettings *bsP) |
| Sets and retrieves the actual basic settings parameters. More... | |
| ScStatus | scGetNullRad (int devIdx, int *nullRadP) |
| Retrieves the device's null radius (threshold). More... | |
| ScStatus | scSetNullRad (int devIdx, int *nullRadP) |
| Sets and retrieves the device's null radius (threshold). More... | |
| ScStatus | scSetStdZero (int devIdx) |
| Sets the actual displacement of the cap as the standard 0 value. More... | |
These functions are handling with basic settings as a whole.
| ScStatus scGetBasicSettings | ( | int | devIdx, |
| ScBasicSettings * | bsP | ||
| ) |
Retrieves the actual basic settings parameters.
Example:
| devIdx | index of the device the parameters are requested |
| bsP | pointer to the basic settings parameters to be retrieved |
References SC_COMMUNICATION_ERROR, SC_OK, and SC_WRONG_DEVICE_INDEX.
| ScStatus scGetNullRad | ( | int | devIdx, |
| int * | nullRadP | ||
| ) |
Retrieves the device's null radius (threshold).
If the null radius is set to higher values you need a larger displacement of the cap to cause the device sending standard data.
Example:
| devIdx | the index of the device to be requested |
| nullRadP | actual null radius (0..15) |
References SC_COMMUNICATION_ERROR, SC_OK, and SC_WRONG_DEVICE_INDEX.
| ScStatus scSetBasicSettings | ( | int | devIdx, |
| ScBasicSettings * | bsP | ||
| ) |
Sets and retrieves the actual basic settings parameters.
Example:
| devIdx | index of the device the parameters are requested |
| bsP | 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 scSetNullRad | ( | int | devIdx, |
| int * | nullRadP | ||
| ) |
Sets and retrieves the device's null radius (threshold).
If the null radius is set to higher values you need a larger displacement of the cap to cause the device sending standard data.
Example:
| devIdx | the index of the device the data is to be set |
| nullRadP | actual null radius (0..15) |
References MAX_NULL_RAD, MIN_NULL_RAD, SC_COMMUNICATION_ERROR, SC_OK, SC_PARAMETER_OUT_OF_RANGE, and SC_WRONG_DEVICE_INDEX.
| ScStatus scSetStdZero | ( | int | devIdx | ) |
Sets the actual displacement of the cap as the standard 0 value.
All subsequent standard data is calculated relative to this 0 value.
Example:
| devIdx | the index of the device the data is to be set |
References SC_COMMUNICATION_ERROR, SC_OK, and SC_WRONG_DEVICE_INDEX.
| Copyright (c) SpaceControl GmbH & Co. KG, Am Technologiepark 10, D-82229 Seefeld |