GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_events_state Struct Reference

An input events state. More...

#include <gp_event.h>

Data Fields

uint8_t keys_pressed [56]
 Bitmap of pressed keys including mouse buttons.
 
uint32_t cursor_x
 Current cursor x coordinate.
 
uint32_t cursor_y
 Current cursor y coordinate.
 
uint32_t saved_cursor_x
 Saved cursor x coordinate.
 
uint32_t saved_cursor_y
 Saved cursor y coordinate.
 

Detailed Description

An input events state.

Tracks keys pressed at a given moment and a cursor position.

Definition at line 135 of file gp_event.h.


The documentation for this struct was generated from the following file: