File Coverage

lib/SDL2/SensorEvent.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::SensorEvent {
2 2     2   15 use SDL2::Utils;
  2         5  
  2         13  
3             has
4             type => 'uint32',
5             timestamp => 'uint32',
6             which => 'sint32',
7             data => 'float[6]';
8              
9             =encoding utf-8
10              
11             =head1 NAME
12              
13             SDL2::SensorEvent - Sensor event structure
14              
15             =head1 SYNOPSIS
16              
17             use SDL2 qw[:all];
18             # TODO: I need to whip up a quick example
19              
20             =head1 DESCRIPTION
21            
22              
23              
24             =head1 Fields
25              
26             =over
27              
28             =item C - C
29              
30             =item C - In milliseconds, populated using L<< C|SDL2::FFI/C >>
31              
32             =item C - The instance ID of the sensor
33              
34             =item C - Up to 6 values from the sensor - additional values can be queried using L<< C|SDL2::FFI/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;