Gama C Library
Gama C API Documentation
mouse.h File Reference
#include "position.h"
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  _gmMouse
 Structure representing the current state of the mouse. More...

Variables

struct _gmMouse gm_mouse

Variable Documentation

◆ gm_mouse

struct _gmMouse gm_mouse
Initial value:
= {
.position = {0, 0},
.lastPosition = {0, 0},
.movement = {0, 0},
.clicked = 0,
.down = 0,
}
Examples
/home/engon/gama/gama/lib/gama/gama.h, and /home/engon/gama/gama/lib/gama/mouse.h.