NAME
SDL2::Event - General event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
SDL2::Event is a C union which generalizes all known SDL2 events.
Fields
As a union, this object main contain the following structures:
common
- SDL2::CommonEventdisplay
- SDL2::DisplayEventwindow
- SDL2::WindowEventkey
- SDL2::KeyboardEventedit
- SDL2::TextEditingEventtext
- SDL2::TextInputEventmotion
- SDL2::MouseMotionEventwheel
- SDL2::MouseWheelEventjaxis
- SDL2::JoyAxisEventjball
- SDL2::JoyBallEventjhat
- SDL2::JoyHatEventjdevice
- SDL2::JoyDeviceEventcaxis
- SDL2::ControllerAxisEventcdevice
- SDL2::ControllerDeviceEventadevice
- SDL2::AudioDeviceEventsensor
- SDL2::SensorEventquit
- SDL2::QuitEventuser
- SDL2::UserEventsyswm
- SDL2::SysWMEventtfinger
- SDL2::TouchFingerEventmgesture
- SDL2::MultiGestureEventdgesture
- SDL2::DollarGestureEventdrop
- SDL2::DropEventpadding
- Raw data used internally to protect ABI compatibility between VC++ and GCC
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.
AUTHOR
Sanko Robinson <sanko@cpan.org>