=encoding utf-8

=head1 NAME

SDL2::MouseButtonEvent - Mouse button event structure

=head1 SYNOPSIS

    use SDL2 qw[:all];
    # TODO: I need to whip up a quick example

=head1 DESCRIPTION


=head1 Fields

=over

=item C<type> - C<SDL_MOUSEBUTTONDOWN> or C<SDL_MOUSEBUTTONUP>

=item C<timestamp> - In milliseconds, populated using L<< C<SDL_GetTicks( )>|SDL2::FFI/C<SDL_GetTicks( )> >>

=item C<windowID> - The window with mouse focus, if any

=item C<which> - The mouse instance id, or C<SDL_TOUCH_MOUSEID>

=item C<button> - The mouse button index

=item C<state> - C<SDL_PRESSED> or C<SDL_RELEASED>

=item C<clicks> - C<1> for single-click, C<2> for double-click, etc.

=item C<padding1>

=item C<x> - X coordinate, relative to window

=item C<y> - Y coordinate, relative to window

=back

=head1 LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under
the terms found in the Artistic License 2. Other copyrights, terms, and
conditions may apply to data transmitted through this module.

=head1 AUTHOR

Sanko Robinson E<lt>sanko@cpan.orgE<gt>

=begin stopwords


=end stopwords

=cut
