ferx/engine/include/Input.h

17 lines
310 B
C
Raw Normal View History

2024-08-28 12:38:19 +00:00
#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();
};