LibGame  v0.4.0
The LG Game Engine - Copyright (C) 2024-2025 ETMSoftware
lg_mouse.h
1 /*
2  * LibGame - Copyright (C) Emmanuel Thomas-Maurin 2011-2025
3  * All rights reserved
4  */
5 
6 #ifndef LG_MOUSE_H
7 #define LG_MOUSE_H
8 
9 #define MOUSE_DELTA_THRESHOLD 8
10 
11 zboolean lg_mouse_get_state(SDL_Event event, zboolean *, zboolean *, int *, int *, int *);
13 
14 #endif /* LG_MOUSE_H */
lg_mouse_get_state
zboolean lg_mouse_get_state(SDL_Event event, zboolean *left_click, zboolean *right_click, int *dx, int *dy, int *dz_wheel)
Definition: lg_mouse.c:31
lg_mouse_override_delta_threshold
int lg_mouse_override_delta_threshold(int new_threshold)
Definition: lg_mouse.c:93