File Coverage

lib/SDL2/Keysym.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package SDL2::Keysym {
2 2     2   14 use SDL2::Utils;
  2         4  
  2         13  
3             ffi->type( 'sint32' => 'SDL_Keycode' );
4             has
5             scancode => 'SDL_Scancode',
6             sym => 'SDL_Keycode', # SDL_Keycode
7             mod => 'uint16',
8             unused => 'uint32';
9              
10             =encoding utf-8
11              
12             =head1 NAME
13              
14             SDL2::Keysym - SDL Keysym structure used in key events device
15              
16             =head1 SYNOPSIS
17              
18             use SDL2 qw[:all];
19             # TODO: I need to whip up a quick example
20              
21             =head1 DESCRIPTION
22              
23              
24             =head1 Fields
25              
26             =over
27              
28             =item C - SDL physical key code - see SDL_Scancode for details
29              
30             =item C - SDL virtual key code - see SDL_Keycode for details
31              
32             =item C - Current key modifiers
33              
34             =item C
35              
36             =back
37              
38             =head1 AUTHOR
39              
40             Sanko Robinson Esanko@cpan.orgE
41              
42             =begin stopwords
43              
44              
45             =end stopwords
46              
47             =cut
48              
49             };
50             1;