/** Gets the next UTF-8 encoded string from the keyboard buffer and removes it from there * @return UTF-8 encoded string */ const orxSTRING orxFASTCALL orxKeyboard_ReadString() { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_ReadString)(); }
/** Is key pressed? * @param[in] _eKey Key to check * @return orxTRUE if presse / orxFALSE otherwise */ orxBOOL orxFASTCALL orxKeyboard_IsKeyPressed(orxKEYBOARD_KEY _eKey) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_IsKeyPressed)(_eKey); }
/** Gets the next key from the keyboard buffer and removes it from there * @return orxKEYBOARD_KEY, orxKEYBOARD_KEY_NONE if the buffer is empty */ orxKEYBOARD_KEY orxFASTCALL orxKeyboard_ReadKey() { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_ReadKey)(); }
/** Inits the keyboard module */ orxSTATUS orxFASTCALL orxKeyboard_Init() { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_Init)(); }
/** Exits from the keyboard module */ void orxFASTCALL orxKeyboard_Exit() { orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_Exit)(); }
/** Exits from the joystick module */ void orxFASTCALL orxJoystick_Exit() { orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxJoystick_Exit)(); }
/** Shows mouse cursor * @return orxSTATUS_SUCCESS / orxSTATUS_FAILURE */ orxSTATUS orxFASTCALL orxMouse_ShowCursor(orxBOOL _bShow) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_ShowCursor)(_bShow); }
/** Is mouse button pressed? * @param[in] _eButton Mouse button to check * @return orxTRUE if presse / orxFALSE otherwise */ orxBOOL orxFASTCALL orxMouse_IsButtonPressed(orxMOUSE_BUTTON _eButton) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_IsButtonPressed)(_eButton); }
/** Gets mouse move delta (since last call) * @param[out] _pvMoveDelta Mouse move delta * @return orxVECTOR / orxNULL */ orxVECTOR *orxFASTCALL orxMouse_GetMoveDelta(orxVECTOR *_pvMoveDelta) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_GetMoveDelta)(_pvMoveDelta); }
/** Sets mouse position * @param[in] _pvPosition Mouse position * @return orxSTATUS_SUCCESS / orxSTATUS_FAILURE */ orxSTATUS orxFASTCALL orxMouse_SetPosition(const orxVECTOR *_pvPosition) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_SetPosition)(_pvPosition); }
/** Gets mouse on screen position * @param[out] _pvPosition Mouse position * @return orxVECTOR / orxNULL */ orxVECTOR *orxFASTCALL orxMouse_GetPosition(orxVECTOR *_pvPosition) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_GetPosition)(_pvPosition); }
/** Exits from the mouse module */ void orxFASTCALL orxMouse_Exit() { orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_Exit)(); }
/** Is joystick button pressed? * @param[in] _u32ID ID of the joystick to test * @return orxTRUE if presse / orxFALSE otherwise */ orxBOOL orxFASTCALL orxJoystick_IsButtonPressed(orxJOYSTICK_BUTTON _eButton) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxJoystick_IsButtonPressed)(_eButton); }
/** Gets mouse on screen position * @param[in] _u32ID ID of the joystick to test * @return Value of the axis */ orxFLOAT orxFASTCALL orxJoystick_GetAxisValue(orxJOYSTICK_AXIS _eAxis) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxJoystick_GetAxisValue)(_eAxis); }
/** Empties the keyboard buffer. */ void orxFASTCALL orxKeyboard_ClearBuffer() { orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_ClearBuffer)(); }
/** Gets mouse wheel delta (since last call) * @return Mouse wheel delta */ orxFLOAT orxFASTCALL orxMouse_GetWheelDelta() { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxMouse_GetWheelDelta)(); }
/** Show/Hide the virtual keyboard * @param[in] _bShow Show/hide virtual keyboard * @return orxSTATUS_SUCCESS if supported by platform, orxSTATUS_FAILURE otherwise */ orxSTATUS orxFASTCALL orxKeyboard_Show(orxBOOL _bShow) { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_Show)(_bShow); }
/** Inits the joystick module * @return Returns the status of the operation */ orxSTATUS orxFASTCALL orxJoystick_Init() { return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxJoystick_Init)(); }