Tao.Sdl SDK Documentation

Sdl.SDL_MouseButtonEvent Fields

The fields of the Sdl.SDL_MouseButtonEvent structure are listed below. For a complete list of Sdl.SDL_MouseButtonEvent structure members, see the Sdl.SDL_MouseButtonEvent Members topic.

Public Instance Fields

button The mouse button index (SDL_BUTTON_LEFT, SDL_BUTTON_MIDDLE, SDL_BUTTON_RIGHT)
state SDL_PRESSED or SDL_RELEASED
type SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP
which The mouse device index
x The X coordinate of the mouse at press/release time
y The Y coordinate of the mouse at press/release time

See Also

Sdl.SDL_MouseButtonEvent Class | Tao.Sdl Namespace | Sdl.SDL_Event | Sdl.SDL_MouseMotionEvent