Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 18 - QuickDraw 3D Pointing Device Manager / QuickDraw 3D Pointing Device Manager Reference
QuickDraw 3D Pointing Device Manager Routines / Creating and Managing Controllers


Q3Controller_Next

You can use the Q3Controller_Next function to read through the list of available controllers.

TQ3Status Q3Controller_Next (
TQ3ControllerRef controllerRef, 
TQ3ControllerRef *nextControllerRef);
controllerRef
A reference to a controller, or NULL.
nextControllerRef
On exit, a reference to the controller that immediately follows the specified controller. If the value in the controllerRef parameter is NULL, this parameter returns a reference to the first controller.
DESCRIPTION
The Q3Controller_Next function returns, in the nextControllerRef parameter, a reference to the controller that immediately follows the controller specified by the controllerRef parameter. To get the first controller in the list, pass the value NULL in the controllerRef parameter. If the controller specified by the controllerRef parameter is the last controller in the list, nextControllerRef is set to NULL.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help