gii_pbutton_event3
Libgii pointer button events
Usage
#include <ggi/events.h>
typedef struct gii_pbutton_event {
COMMON_DATA;
uint32_t button;
} gii_pbutton_event;
Overview
Button events are sent to report a change in pointer button state. Depending on the event type, the button is either being pressed or released.
Generated events
This structure is used for evPtrButtonPress and evPtrButtonRelease events.
Structure members
gii_pbutton_event simply specifies that the button is pressed or released.
Pointer buttons are specified in order of common usage, with 1 being the primary button. The following values are defined:
•
|
|
|---|---|
•
|
|
•
|
|
Of course, applications should avoid hardcoding mouse button values.
Releases
5 releases since Debian 3.1 (Sarge); the text changed 2 times.