|
Polyphase Game Engine
|
Go to the source code of this file.
Functions | |
| void | INP_Initialize () |
| void | INP_Shutdown () |
| void | INP_Update () |
| void | INP_SetCursorPos (int32_t x, int32_t y) |
| POLYPHASE_API void | INP_ShowCursor (bool show) |
| void | INP_LockCursor (bool lock) |
| void | INP_TrapCursor (bool trap) |
| void | INP_TrapCursorToRect (int32_t x, int32_t y, int32_t w, int32_t h) |
| const char * | INP_ShowSoftKeyboard (bool show) |
| bool | INP_IsSoftKeyboardShown () |
| void | INP_SetKey (int32_t key) |
| void | INP_ClearKey (int32_t key) |
| void | INP_ClearAllKeys () |
| POLYPHASE_API bool | INP_IsKeyDown (int32_t key) |
| POLYPHASE_API bool | INP_IsKeyJustDownRepeat (int32_t key) |
| POLYPHASE_API bool | INP_IsKeyJustDown (int32_t key) |
| POLYPHASE_API bool | INP_IsKeyJustUp (int32_t key) |
| POLYPHASE_API char | INP_ConvertKeyCodeToChar (int32_t key) |
| void | INP_SetMouseButton (int32_t button) |
| void | INP_ClearMouseButton (int32_t button) |
| void | INP_SetScrollWheelDelta (int32_t delta) |
| POLYPHASE_API bool | INP_IsMouseButtonDown (int32_t button) |
| POLYPHASE_API bool | INP_IsMouseButtonJustDown (int32_t button) |
| POLYPHASE_API bool | INP_IsMouseButtonJustUp (int32_t button) |
| POLYPHASE_API int32_t | INP_GetScrollWheelDelta () |
| void | INP_ClearAllMouseButtons () |
| void | INP_SetTouch (int32_t touch) |
| void | INP_ClearTouch (int32_t touch) |
| POLYPHASE_API bool | INP_IsTouchDown (int32_t touch) |
| POLYPHASE_API bool | INP_IsPointerJustUp (int32_t pointer=0) |
| POLYPHASE_API bool | INP_IsPointerJustDown (int32_t pointer=0) |
| POLYPHASE_API bool | INP_IsPointerDown (int32_t pointer=0) |
| void | INP_SetMousePosition (int32_t mouseX, int32_t mouseY) |
| void | INP_SetTouchPosition (int32_t touchX, int32_t touchY, int32_t touch=0) |
| POLYPHASE_API void | INP_GetMousePosition (int32_t &mouseX, int32_t &mouseY) |
| POLYPHASE_API void | INP_GetTouchPosition (int32_t &touchX, int32_t &touchY, int32_t touch) |
| POLYPHASE_API void | INP_GetTouchPositionNormalized (float &touchX, float &touchY, int32_t touch) |
| POLYPHASE_API void | INP_GetPointerPosition (int32_t &pointerX, int32_t &pointerY, int32_t pointer=0) |
| POLYPHASE_API void | INP_GetPointerPositionNormalized (float &pointerX, float &pointerY, int32_t pointer=0) |
| POLYPHASE_API void | INP_GetMouseDelta (int32_t &deltaX, int32_t &deltaY) |
| bool | INP_IsGamepadButtonDown (int32_t gamepadButton, int32_t gamepadIndex) |
| bool | INP_IsGamepadButtonJustDown (int32_t gamepadButton, int32_t gamepadIndex) |
| bool | INP_IsGamepadButtonJustUp (int32_t gamepadButton, int32_t gamepadIndex) |
| float | INP_GetGamepadAxisValue (int32_t gamepadAxis, int32_t gamepadIndex) |
| GamepadType | INP_GetGamepadType (int32_t gamepadIndex) |
| bool | INP_IsGamepadConnected (int32_t gamepadIndex) |
| int32_t | INP_GetGamepadIndex (int32_t inputDevice) |
| void | INP_SetGamepadAxisValue (GamepadAxisCode axisCode, float axisValue, int32_t gamepadIndex) |
| void | INP_SetGamepadButton (GamepadButtonCode buttonCode, int32_t gamepadIndex) |
| void | INP_ClearGamepadButton (GamepadButtonCode buttonCode, int32_t gamepadIndex) |
| void | INP_GetGamepadGyro (float &x, float &y, float &z, int32_t gamepadIndex) |
| void | INP_GetGamepadAcceleration (float &x, float &y, float &z, int32_t gamepadIndex) |
| void | INP_GetGamepadOrientation (float &pitch, float &yaw, float &roll, int32_t gamepadIndex) |
| bool | INP_IsCursorLocked () |
| bool | INP_IsCursorTrapped () |
| bool | INP_IsCursorShown () |
| void INP_ClearAllKeys | ( | ) |
| void INP_ClearAllMouseButtons | ( | ) |
| void INP_ClearGamepadButton | ( | GamepadButtonCode | buttonCode, |
| int32_t | gamepadIndex | ||
| ) |
| void INP_ClearKey | ( | int32_t | key | ) |
| void INP_ClearMouseButton | ( | int32_t | button | ) |
| void INP_ClearTouch | ( | int32_t | touch | ) |
| POLYPHASE_API char INP_ConvertKeyCodeToChar | ( | int32_t | key | ) |
| void INP_GetGamepadAcceleration | ( | float & | x, |
| float & | y, | ||
| float & | z, | ||
| int32_t | gamepadIndex | ||
| ) |
| float INP_GetGamepadAxisValue | ( | int32_t | gamepadAxis, |
| int32_t | gamepadIndex | ||
| ) |
| void INP_GetGamepadGyro | ( | float & | x, |
| float & | y, | ||
| float & | z, | ||
| int32_t | gamepadIndex | ||
| ) |
| int32_t INP_GetGamepadIndex | ( | int32_t | inputDevice | ) |
| void INP_GetGamepadOrientation | ( | float & | pitch, |
| float & | yaw, | ||
| float & | roll, | ||
| int32_t | gamepadIndex | ||
| ) |
| GamepadType INP_GetGamepadType | ( | int32_t | gamepadIndex | ) |
| POLYPHASE_API void INP_GetMouseDelta | ( | int32_t & | deltaX, |
| int32_t & | deltaY | ||
| ) |
| POLYPHASE_API void INP_GetMousePosition | ( | int32_t & | mouseX, |
| int32_t & | mouseY | ||
| ) |
| POLYPHASE_API void INP_GetPointerPosition | ( | int32_t & | pointerX, |
| int32_t & | pointerY, | ||
| int32_t | pointer = 0 |
||
| ) |
| POLYPHASE_API void INP_GetPointerPositionNormalized | ( | float & | pointerX, |
| float & | pointerY, | ||
| int32_t | pointer = 0 |
||
| ) |
| POLYPHASE_API int32_t INP_GetScrollWheelDelta | ( | ) |
| POLYPHASE_API void INP_GetTouchPosition | ( | int32_t & | touchX, |
| int32_t & | touchY, | ||
| int32_t | touch | ||
| ) |
| POLYPHASE_API void INP_GetTouchPositionNormalized | ( | float & | touchX, |
| float & | touchY, | ||
| int32_t | touch | ||
| ) |
| void INP_Initialize | ( | ) |
| bool INP_IsCursorLocked | ( | ) |
| bool INP_IsCursorShown | ( | ) |
| bool INP_IsCursorTrapped | ( | ) |
| bool INP_IsGamepadButtonDown | ( | int32_t | gamepadButton, |
| int32_t | gamepadIndex | ||
| ) |
| bool INP_IsGamepadButtonJustDown | ( | int32_t | gamepadButton, |
| int32_t | gamepadIndex | ||
| ) |
| bool INP_IsGamepadButtonJustUp | ( | int32_t | gamepadButton, |
| int32_t | gamepadIndex | ||
| ) |
| bool INP_IsGamepadConnected | ( | int32_t | gamepadIndex | ) |
| POLYPHASE_API bool INP_IsKeyDown | ( | int32_t | key | ) |
| POLYPHASE_API bool INP_IsKeyJustDown | ( | int32_t | key | ) |
| POLYPHASE_API bool INP_IsKeyJustDownRepeat | ( | int32_t | key | ) |
| POLYPHASE_API bool INP_IsKeyJustUp | ( | int32_t | key | ) |
| POLYPHASE_API bool INP_IsMouseButtonDown | ( | int32_t | button | ) |
| POLYPHASE_API bool INP_IsMouseButtonJustDown | ( | int32_t | button | ) |
| POLYPHASE_API bool INP_IsMouseButtonJustUp | ( | int32_t | button | ) |
| POLYPHASE_API bool INP_IsPointerDown | ( | int32_t | pointer = 0 | ) |
| POLYPHASE_API bool INP_IsPointerJustDown | ( | int32_t | pointer = 0 | ) |
| POLYPHASE_API bool INP_IsPointerJustUp | ( | int32_t | pointer = 0 | ) |
| bool INP_IsSoftKeyboardShown | ( | ) |
| POLYPHASE_API bool INP_IsTouchDown | ( | int32_t | touch | ) |
| void INP_LockCursor | ( | bool | lock | ) |
| void INP_SetCursorPos | ( | int32_t | x, |
| int32_t | y | ||
| ) |
| void INP_SetGamepadAxisValue | ( | GamepadAxisCode | axisCode, |
| float | axisValue, | ||
| int32_t | gamepadIndex | ||
| ) |
| void INP_SetGamepadButton | ( | GamepadButtonCode | buttonCode, |
| int32_t | gamepadIndex | ||
| ) |
| void INP_SetKey | ( | int32_t | key | ) |
| void INP_SetMouseButton | ( | int32_t | button | ) |
| void INP_SetMousePosition | ( | int32_t | mouseX, |
| int32_t | mouseY | ||
| ) |
| void INP_SetScrollWheelDelta | ( | int32_t | delta | ) |
| void INP_SetTouch | ( | int32_t | touch | ) |
| void INP_SetTouchPosition | ( | int32_t | touchX, |
| int32_t | touchY, | ||
| int32_t | touch = 0 |
||
| ) |
| POLYPHASE_API void INP_ShowCursor | ( | bool | show | ) |
| const char * INP_ShowSoftKeyboard | ( | bool | show | ) |
| void INP_Shutdown | ( | ) |
| void INP_TrapCursor | ( | bool | trap | ) |
| void INP_TrapCursorToRect | ( | int32_t | x, |
| int32_t | y, | ||
| int32_t | w, | ||
| int32_t | h | ||
| ) |
| void INP_Update | ( | ) |