Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 3 - InputSprocket / InputSprocket Reference
Constants


Directional Pad Element Data Information

These constants specify information for data of kind kElementData. Use the ISpDPadConfigurationInfo structure for help in interpreting the data.

typedef enum {
   kISpPadIdle =         0,
   kISpPadLeft,
   kISpPadUpLeft,
   kISpPadUp,
   kISpPadUpRight,
   kISpPadRight,
   kISpPadDownRight,
   kISpPadDown,
   kISpPadDownLeft
} ISpDPadData;
Constant descriptions

kISpPadIdle
Idle position.
kISpPadLeft
Left position.
kISpPadUpLeft
Upper-left position.
kISpPadUp
Upper-center position.
kISpPadUpRight
Upper-right position.
kISpPadRight
Right position.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996