Q3Controller_New
You can use theQ3Controller_Newfunction to create a new controller.
TQ3ControllerRef Q3Controller_New ( const TQ3ControllerData *controllerData);
controllerData- A pointer to a controller data structure.
DESCRIPTION
TheQ3Controller_Newfunction returns, as its function result, a reference to a new controller object having the characteristics specified by thecontrollerDataparameter. The new controller object is initially made active and is associated with the system cursor's tracker. You can callQ3Controller_SetTrackerto associate the controller with some other tracker. The serial number of the new controller object is set to 1. IfQ3Controller_Newcannot create a new controller, it returnsNULL.You cannot delete a controller, but you can make it no longer operational. See the description of
Q3Controller_Decommission(page 18-15) for details.SPECIAL CONSIDERATIONS
In general, you need to use this function only if you are writing a device driver for a controller.SEE ALSO
See "Controller Data Structure" on page 18-12 for a description of the fields of the controller data structure.