orx
1.14
Portable Game Engine
|
Go to the source code of this file.
Macros | |
#define | orxJOYSTICK_DECLARE_AXIS_ENUM(ID) |
#define | orxJOYSTICK_DECLARE_BUTTON_ENUM(ID) |
#define | orxJOYSTICK_GET_AXIS(AXIS, ID) ((((orxU32)AXIS) % orxJOYSTICK_AXIS_SINGLE_NUMBER) + ((ID - 1) * orxJOYSTICK_AXIS_SINGLE_NUMBER)) |
#define | orxJOYSTICK_GET_BUTTON(BUTTON, ID) ((((orxU32)BUTTON) % orxJOYSTICK_BUTTON_SINGLE_NUMBER) + ((ID - 1) * orxJOYSTICK_BUTTON_SINGLE_NUMBER)) |
#define | orxJOYSTICK_GET_ID_FROM_AXIS(AXIS) ((((orxU32)AXIS) / orxJOYSTICK_AXIS_SINGLE_NUMBER) + 1) |
#define | orxJOYSTICK_GET_ID_FROM_BUTTON(BUTTON) ((((orxU32)BUTTON) / orxJOYSTICK_BUTTON_SINGLE_NUMBER) + 1) |
#define | orxJOYSTICK_KU32_MAX_ID (orxJOYSTICK_BUTTON_NUMBER / orxJOYSTICK_BUTTON_SINGLE_NUMBER) |
#define | orxJOYSTICK_KU32_MIN_ID 1 |
Functions | |
orxDLLAPI void orxFASTCALL | orxJoystick_Exit () |
orxDLLAPI const orxSTRING orxFASTCALL | orxJoystick_GetAxisName (orxJOYSTICK_AXIS _eAxis) |
orxDLLAPI orxFLOAT orxFASTCALL | orxJoystick_GetAxisValue (orxJOYSTICK_AXIS _eAxis) |
orxDLLAPI const orxSTRING orxFASTCALL | orxJoystick_GetButtonName (orxJOYSTICK_BUTTON _eButton) |
orxDLLAPI orxSTATUS orxFASTCALL | orxJoystick_Init () |
orxDLLAPI orxBOOL orxFASTCALL | orxJoystick_IsButtonPressed (orxJOYSTICK_BUTTON _eButton) |
orxDLLAPI orxBOOL orxFASTCALL | orxJoystick_IsConnected (orxU32 _u32ID) |
orxDLLAPI void orxFASTCALL | orxJoystick_Setup () |