Difference between revisions of "XPMouseState t"

From X-Plane SDK
Jump to: navigation, search
m (1 revision)
(No difference)

Latest revision as of 19:51, 20 April 2009


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;