NAME
SDL2::KeyboardEvent - Keyboard button event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type
-SDL_KEYDOWN
orSDL_KEYUP
timestamp
- In milliseconds, populated usingSDL_GetTicks( )
windowID
- The window with keyboard focus, if anystate
-SDL_PRESSED
orSDL_RELEASED
repeat
- Non-zero if this is a key repeatpadding2
padding3
keysym
- The key that was pressed or released
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>