primer commit

This commit is contained in:
2025-04-07 11:01:28 +02:00
parent 9f0fa99694
commit 149a8216bc
26 changed files with 18311 additions and 1 deletions

14
source/mouse.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <SDL3/SDL_events.h> // Para SDL_Event
#include <SDL3/SDL_stdinc.h> // Para Uint32
namespace Mouse
{
extern Uint64 cursor_hide_time; // Tiempo en milisegundos para ocultar el cursor
extern Uint64 last_mouse_move_time; // Última vez que el ratón se movió
extern bool cursor_visible; // Estado del cursor
void handleEvent(const SDL_Event &event);
void updateCursorVisibility();
}