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_GetButtons

You can use the Q3Controller_GetButtons function to get the button state of a controller.

TQ3Status Q3Controller_GetButtons (
TQ3ControllerRef controllerRef, 
unsigned long *buttons);
controllerRef
A reference to a controller.
buttons
On exit, the current button state value of the specified controller.
DESCRIPTION
The Q3Controller_GetButtons function returns, in the buttons parameter, the current button state value of the controller specified by the controllerRef parameter.


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