Q3Controller_SetActivation
You can use theQ3Controller_SetActivationfunction to set the activation state of a controller.
TQ3Status Q3Controller_SetActivation ( TQ3ControllerRef controllerRef, TQ3Boolean active);
controllerRef- A reference to a controller.
active- A Boolean value that indicates whether the specified controller is to be made active (
kQ3True) or inactive (kQ3False).DESCRIPTION
TheQ3Controller_SetActivationfunction sets the activation state of the controller specified by thecontrollerRefparameter to the value specified in theactiveparameter. If the activation state of a controller is changed, the serial number of the list of available controllers is incremented. A controller should be inactive if it is temporarily off-line.The notify function of the tracker currently associated with the specified controller might be called when
Q3Controller_SetActivationis called.SPECIAL CONSIDERATIONS
In general, you need to use this function only if you are writing a device driver for a controller.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help