NAME
SDL2::SensorEvent - Sensor event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type
-SDL_SENSORUPDATE
timestamp
- In milliseconds, populated usingSDL_GetTicks( )
which
- The instance ID of the sensordata
- Up to 6 values from the sensor - additional values can be queried usingSDL_SensorGetData( )
.
AUTHOR
Sanko Robinson <sanko@cpan.org>