Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
|
#include <Input.hpp>
Static Public Member Functions | |
static bool | IsKeyPressed (const KeyCode keycode) noexcept |
static bool | AreKeysPressed (const std::initializer_list< KeyCode > &keycodes) noexcept |
static bool | IsMouseButtonPressed (const MouseCode button) noexcept |
static std::pair< float, float > | GetMousePosition () noexcept |
static float | GetMouseX () noexcept |
static float | GetMouseY () noexcept |
Input static class to gather input information at runtime like Mouse position, Is a keyboard button pressed..
|
staticnoexcept |
Returns true if the keyboard buttons are pressed
|
staticnoexcept |
Returns x,y coords of the mouse positon relative to application's window
|
staticnoexcept |
Returns x coord of the mouse positon relative to application's window
|
staticnoexcept |
Returns y coord of the mouse positon relative to application's window
|
staticnoexcept |
Returns true if the keyboard button is pressed
|
staticnoexcept |
Returns true if the mouse button is pressed