ADDED: cursorLocked variable and review required code #4940 #4955

This commit is contained in:
Ray
2025-08-12 11:33:58 +02:00
parent c4414fa1ed
commit 95e4494cfe
6 changed files with 24 additions and 24 deletions

View File

@@ -333,9 +333,11 @@ typedef struct CoreData {
Vector2 scale; // Mouse scaling
Vector2 currentPosition; // Mouse position on screen
Vector2 previousPosition; // Previous mouse position
Vector2 lockedPosition; // Mouse position when locked
int cursor; // Tracks current mouse cursor
bool cursorHidden; // Track if cursor is hidden
bool cursorLocked; // Track if cursor is locked (disabled)
bool cursorOnScreen; // Tracks if cursor is inside client area
char currentButtonState[MAX_MOUSE_BUTTONS]; // Registers current mouse button state