Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
DZInput.h
/* |
* File: DZInput.h |
* |
* Copyright © 1996 Apple Computer, Inc. |
*/ |
#ifndef __DZInput__ |
#define __DZInput__ |
#include <Types.h> |
typedef enum TInputEvent { |
kInputEvent_None, |
// it's IMPORTANT that end be begin+1 |
kInputEvent_Fire_On, |
kInputEvent_Fire_Off, |
// it's IMPORTANT that off be on+1 |
kInputEvent_InertialDampers_On, |
kInputEvent_InertialDampers_Off, |
kInputEvent_InstantStop, |
kInputEvent_ShowHUD, |
kInputEvent_ShowFPS, |
kInputEvent_ShowThrottle, |
kInputEvent_ShowVelocity, |
kInputEvent_Pause |
} TInputEvent; |
void Input_Init( |
void); |
void Input_Exit( |
void); |
void Input_Configure( |
void); |
float Input_GetRoll (void); |
float Input_GetPitch (void); |
float Input_GetYaw (void); |
float Input_GetThrottle (void); |
TInputEvent Input_GetEvent( |
void); |
void Input_Activate( |
Boolean inActivate); |
#endif /* __DZInput__ */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-10-14