NAME

SDL2::ControllerTouchpadEvent - Game controller touchpad event structure

SYNOPSIS

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

DESCRIPTION

Fields

type - SDL_CONTROLLERTOUCHPADDOWN or SDL_CONTROLLERTOUCHPADMOTION or SDL_CONTROLLERTOUCHPADUP
timestamp - In milliseconds, populated using SDL_GetTicks( )
which - The joystick instance id
touchpad - The index of the touchpad
finger - The index of the finger on the touchpad
x - Normalized in the range 0...1 with 0 being on the left
y - Normalized in the range 0...1 with 0 being at the top
pressure - Normalized in the range 0...1

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>