XPMouseState t

From X-Plane SDK
Revision as of 19:51, 20 April 2009 by Admin (Talk | contribs) (1 revision)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


When the mouse is clicked or dragged, a pointer to this structure is passed to your widget function.
typedef struct {
     int                       x;
     int                       y;
     int                       button;
Mouse Button number, left = 0 (right button not yet supported.
     int                       delta;
Scroll wheel delta (button in this case would be the wheel axis number).
} XPMouseState_t;