Beispiel #1
0
/** 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)();
}
Beispiel #2
0
/** 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);
}
Beispiel #3
0
/** 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)();
}
Beispiel #4
0
/** Inits the keyboard module
 */
orxSTATUS orxFASTCALL orxKeyboard_Init()
{
  return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_Init)();
}
Beispiel #5
0
/** Exits from the keyboard module
 */
void orxFASTCALL orxKeyboard_Exit()
{
  orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxKeyboard_Exit)();
}
Beispiel #6
0
/** 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)();
}
Beispiel #13
0
/** 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);
}
Beispiel #14
0
/** 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);
}
Beispiel #15
0
/**  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)();
}
Beispiel #17
0
/** 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);
}
Beispiel #18
0
/** Inits the joystick module
 * @return Returns the status of the operation
 */
orxSTATUS orxFASTCALL orxJoystick_Init()
{
  return orxPLUGIN_CORE_FUNCTION_POINTER_NAME(orxJoystick_Init)();
}