18 Creating and Managing Controllers
Q3Controller_New
function to create a new controller.
TQ3ControllerRef Q3Controller_New (
const TQ3ControllerData *controllerData);
controllerData
A pointer to a controller data structure.
Q3Controller_New
function returns, as its function result, a reference to a new controller object having the characteristics specified by the controllerData
parameter. The new controller object is initially made active and is associated with the system cursor's tracker. You can call Q3Controller_SetTracker
to associate the controller with some other tracker. The serial number of the new controller object is set to 1. If Q3Controller_New
cannot create a new controller, it returns NULL
.
You cannot delete a controller, but you can make it no longer operational. See the description of Q3Controller_Decommission
(page 18-15) for details.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker