typedef struct { int16_t x; int16_t y; int16_t buttons; int16_t kstate; } MRETS;
See also: cpx_button cpx_m1 cpx_m2 XCONTROL