NAME
SDL2::MouseButtonEvent - Mouse button event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type-SDL_MOUSEBUTTONDOWNorSDL_MOUSEBUTTONUPtimestamp- In milliseconds, populated usingSDL_GetTicks( )windowID- The window with mouse focus, if anywhich- The mouse instance id, orSDL_TOUCH_MOUSEIDstate-SDL_PRESSEDorSDL_RELEASEDclicks-1for single-click,2for double-click, etc.padding1x- X coordinate, relative to windowy- Y coordinate, relative to window
AUTHOR
Sanko Robinson <sanko@cpan.org>