NAME
SDL2::ControllerDeviceEvent - Game controller button event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type
-SDL_CONTROLLERDEVICEADDED
,SDL_CONTROLLERDEVICEREMOVED
, orSDL_CONTROLLERDEVICEREMAPPED
timestamp
- In milliseconds, populated usingSDL_GetTicks( )
which
- The joystick device index for theADDED
event, instance id for theREMOVED
orREMAPPED
event
AUTHOR
Sanko Robinson <sanko@cpan.org>