NAME
SDL2::ControllerSensorEvent - Game controller touchpad event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type
-SDL_CONTROLLERSENSORUPDATE
timestamp
- In milliseconds, populated usingSDL_GetTicks( )
which
- The joystick instance idsensor
- The type of the sensor, one of the values ofSDL_SensorType
data
- Up to 2 values from the sensor, as defined inSDL_sensor.h
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>