orx  stable
Portable Game Engine
orxInput.h File Reference
#include "orxInclude.h"
#include "io/orxJoystick.h"
#include "io/orxKeyboard.h"
#include "io/orxMouse.h"

Go to the source code of this file.

Data Structures

struct  orxINPUT_EVENT_PAYLOAD
 

Macros

#define orxINPUT_KC_MODE_PREFIX_NEGATIVE   '-'
 
#define orxINPUT_KC_MODE_PREFIX_POSITIVE   '+'
 
#define orxINPUT_KU32_BINDING_NUMBER   4
 
#define orxINPUT_KZ_INTERNAL_SET_PREFIX   "-="
 

Enumerations

enum  orxINPUT_EVENT {
  orxINPUT_EVENT_ON = 0, orxINPUT_EVENT_OFF, orxINPUT_EVENT_SELECT_SET, orxINPUT_EVENT_NUMBER,
  orxINPUT_EVENT_NONE = orxENUM_NONE
}
 
enum  orxINPUT_MODE {
  orxINPUT_MODE_FULL = 0, orxINPUT_MODE_POSITIVE, orxINPUT_MODE_NEGATIVE, orxINPUT_MODE_NUMBER,
  orxINPUT_MODE_NONE = orxENUM_NONE
}
 
enum  orxINPUT_TYPE {
  orxINPUT_TYPE_KEYBOARD_KEY = 0, orxINPUT_TYPE_MOUSE_BUTTON, orxINPUT_TYPE_MOUSE_AXIS, orxINPUT_TYPE_JOYSTICK_BUTTON,
  orxINPUT_TYPE_JOYSTICK_AXIS, orxINPUT_TYPE_EXTERNAL, orxINPUT_TYPE_NUMBER, orxINPUT_TYPE_NONE = orxENUM_NONE
}
 

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxInput_Bind (const orxSTRING _zName, orxINPUT_TYPE _eType, orxENUM _eID, orxINPUT_MODE _eMode)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_EnableSet (const orxSTRING _zSetName, orxBOOL _bEnable)
 
orxDLLAPI void orxFASTCALL orxInput_Exit ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_GetActiveBinding (orxINPUT_TYPE *_peType, orxENUM *_peID, orxFLOAT *_pfValue)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_GetBinding (const orxSTRING _zName, orxU32 _u32BindingIndex, orxINPUT_TYPE *_peType, orxENUM *_peID, orxINPUT_MODE *_peMode)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_GetBindingList (const orxSTRING _zName, orxINPUT_TYPE _aeTypeList[orxINPUT_KU32_BINDING_NUMBER], orxENUM _aeIDList[orxINPUT_KU32_BINDING_NUMBER], orxINPUT_MODE _aeModeList[orxINPUT_KU32_BINDING_NUMBER])
 
orxDLLAPI const orxSTRING orxFASTCALL orxInput_GetBindingName (orxINPUT_TYPE _eType, orxENUM _eID, orxINPUT_MODE _eMode)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_GetBindingType (const orxSTRING _zName, orxINPUT_TYPE *_peType, orxENUM *_peID, orxINPUT_MODE *_peMode)
 
orxDLLAPI const orxSTRING orxFASTCALL orxInput_GetBoundInput (orxINPUT_TYPE _eType, orxENUM _eID, orxINPUT_MODE _eMode, orxU32 _u32InputIndex)
 
orxDLLAPI orxU32 orxFASTCALL orxInput_GetBoundInputCounter (orxINPUT_TYPE _eType, orxENUM _eID, orxINPUT_MODE _eMode)
 
orxDLLAPI const orxSTRING orxFASTCALL orxInput_GetCurrentSet ()
 
orxDLLAPI orxFLOAT orxFASTCALL orxInput_GetMultiplier (const orxSTRING _zInputName)
 
orxDLLAPI orxFLOAT orxFASTCALL orxInput_GetThreshold (const orxSTRING _zInputName)
 
orxDLLAPI orxFLOAT orxFASTCALL orxInput_GetValue (const orxSTRING _zInputName)
 
orxDLLAPI orxBOOL orxFASTCALL orxInput_HasNewStatus (const orxSTRING _zInputName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxInput_IsActive (const orxSTRING _zInputName)
 
orxDLLAPI orxBOOL orxFASTCALL orxInput_IsInCombineMode (const orxSTRING _zName)
 
orxDLLAPI orxBOOL orxFASTCALL orxInput_IsSetEnabled (const orxSTRING _zSetName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_Load (const orxSTRING _zFileName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_ResetValue (const orxSTRING _zInputName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_Save (const orxSTRING _zFileName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_SelectSet (const orxSTRING _zSetName)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_SetCombineMode (const orxSTRING _zName, orxBOOL _bCombine)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_SetMultiplier (const orxSTRING _zInputName, orxFLOAT _fMultiplier)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_SetPermanentValue (const orxSTRING _zInputName, orxFLOAT _fValue)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_SetThreshold (const orxSTRING _zInputName, orxFLOAT _fThreshold)
 
orxDLLAPI void orxFASTCALL orxInput_Setup ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_SetValue (const orxSTRING _zInputName, orxFLOAT _fValue)
 
orxDLLAPI orxSTATUS orxFASTCALL orxInput_Unbind (orxINPUT_TYPE _eType, orxENUM _eID, orxINPUT_MODE _eMode)
 

Detailed Description


Generated for orx by doxygen 1.5.6