You do not need to explicitly provide information about the displays to the zSpace Core SDK. The zsInitialize() function detects the connected displays for you. However, the SDK provides functions to retrieve information about these displays.
The following is a partial list of the functions in the Display API.
The following is a brief code example of how to query the zSpace display's position. Error handling is omitted for brevity.
ZSContext zSpaceContext = NULL; zsInitialize(&zSpaceContext); // Grab a handle to the first zSpace display if it exists. ZSHandle displayHandle = NULL; zsFindDisplayByType(zSpaceContext, ZS_DISPLAY_TYPE_ZSPACE, 0, &displayHandle); // Get the display's position (top-left corner) in pixels. ZSInt32 x = 0; ZSInt32 y = 0; zsGetDisplayPosition(displayHandle, &x, &y);
As a reminder, using the Display API is not required in order to set up stereo, head tracking, or device tracking.