NAME
SDL2::TouchFingerEvent - Touch finger event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type
-SDL_FINGERMOTION
orSDL_FINGERDOWN
orSDL_FINGERUP
timestamp
- In milliseconds, populated usingSDL_GetTicks( )
touchId
- The touch device idfingerId
-x
- Normalized in the range0..1
y
- Normalized in the range0..1
dx
- Normalized in the range-1..1
dy
- Normalized in the range-1..1
pressure
- Normalized in the range0..1
windowID
- The window underneath the finger, if any
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>