|
Polyphase Game Engine
|
#include "InputDevices.h"#include "Log.h"#include "Engine.h"#include "Maths.h"#include <string.h>#include <ctype.h>#include "Assertion.h"#include "Input/Input.h"Functions | |
| bool | IsKeyDown (int32_t key) |
| bool | IsKeyJustDownRepeat (int32_t key) |
| bool | IsKeyJustDown (int32_t key) |
| bool | IsKeyJustUp (int32_t key) |
| bool | IsControlDown () |
| bool | IsShiftDown () |
| bool | IsAltDown () |
| void | ClearControlDown () |
| void | ClearShiftDown () |
| void | ClearAltDown () |
| bool | IsMouseButtonDown (int32_t button) |
| bool | IsMouseButtonJustDown (int32_t button) |
| bool | IsMouseButtonJustUp (int32_t button) |
| void | GetMousePosition (int32_t &mouseX, int32_t &mouseY) |
| int32_t | GetScrollWheelDelta () |
| bool | IsTouchDown (int32_t touch) |
| bool | IsPointerDown (int32_t pointer) |
| bool | IsPointerJustUp (int32_t pointer) |
| bool | IsPointerJustDown (int32_t pointer) |
| void | GetTouchPosition (int32_t &touchX, int32_t &touchY, int32_t touch) |
| void | GetTouchPositionNormalized (float &touchX, float &touchY, int32_t touch) |
| void | GetPointerPosition (int32_t &pointerX, int32_t &pointerY, int32_t pointer) |
| void | GetPointerPositionNormalized (float &pointerX, float &pointerY, int32_t pointer) |
| bool | IsGamepadButtonDown (int32_t gamepadButton, int32_t gamepadIndex) |
| bool | IsGamepadButtonJustDown (int32_t gamepadButton, int32_t gamepadIndex) |
| bool | IsGamepadButtonJustUp (int32_t gamepadButton, int32_t gamepadIndex) |
| float | GetGamepadAxisValue (int32_t gamepadAxis, int32_t gamepadIndex) |
| GamepadType | GetGamepadType (int32_t gamepadIndex) |
| bool | IsGamepadConnected (int32_t gamepadIndex) |
| void ClearAltDown | ( | ) |
| void ClearControlDown | ( | ) |
| void ClearShiftDown | ( | ) |
| float GetGamepadAxisValue | ( | int32_t | gamepadAxis, |
| int32_t | gamepadIndex | ||
| ) |
| GamepadType GetGamepadType | ( | int32_t | gamepadIndex | ) |
| void GetMousePosition | ( | int32_t & | mouseX, |
| int32_t & | mouseY | ||
| ) |
| void GetPointerPosition | ( | int32_t & | pointerX, |
| int32_t & | pointerY, | ||
| int32_t | pointer | ||
| ) |
| void GetPointerPositionNormalized | ( | float & | pointerX, |
| float & | pointerY, | ||
| int32_t | pointer | ||
| ) |
| int32_t GetScrollWheelDelta | ( | ) |
| void GetTouchPosition | ( | int32_t & | touchX, |
| int32_t & | touchY, | ||
| int32_t | touch | ||
| ) |
| void GetTouchPositionNormalized | ( | float & | touchX, |
| float & | touchY, | ||
| int32_t | touch | ||
| ) |
| bool IsAltDown | ( | ) |
| bool IsControlDown | ( | ) |
| bool IsGamepadButtonDown | ( | int32_t | gamepadButton, |
| int32_t | gamepadIndex | ||
| ) |
| bool IsGamepadButtonJustDown | ( | int32_t | gamepadButton, |
| int32_t | gamepadIndex | ||
| ) |
| bool IsGamepadButtonJustUp | ( | int32_t | gamepadButton, |
| int32_t | gamepadIndex | ||
| ) |
| bool IsGamepadConnected | ( | int32_t | gamepadIndex | ) |
| bool IsKeyDown | ( | int32_t | key | ) |
| bool IsKeyJustDown | ( | int32_t | key | ) |
| bool IsKeyJustDownRepeat | ( | int32_t | key | ) |
| bool IsKeyJustUp | ( | int32_t | key | ) |
| bool IsMouseButtonDown | ( | int32_t | button | ) |
| bool IsMouseButtonJustDown | ( | int32_t | button | ) |
| bool IsMouseButtonJustUp | ( | int32_t | button | ) |
| bool IsPointerDown | ( | int32_t | pointer | ) |
| bool IsPointerJustDown | ( | int32_t | pointer | ) |
| bool IsPointerJustUp | ( | int32_t | pointer | ) |
| bool IsShiftDown | ( | ) |
| bool IsTouchDown | ( | int32_t | touch | ) |