primer commit

This commit is contained in:
2025-04-08 08:23:18 +02:00
parent 94c89b7ced
commit b6682fe7ff
30 changed files with 18573 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();
}