ferx/engine/include/Input.h
2024-08-28 16:38:19 +04:00

17 lines
310 B
C++

#pragma once
#include <glm/glm.hpp>
#include "KeyCodes.h"
#include "MouseCodes.h"
class Input
{
public:
static bool IsKeyPressed(KeyCode key);
static bool IsMouseButtonPressed(MouseCode button);
static glm::vec2 GetMousePosition();
static float GetMouseX();
static float GetMouseY();
};