line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::JoyDeviceEvent { |
2
|
2
|
|
|
2
|
|
15
|
use SDL2::Utils; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
19
|
|
3
|
|
|
|
|
|
|
has |
4
|
|
|
|
|
|
|
type => 'uint32', |
5
|
|
|
|
|
|
|
timestamp => 'uint32', |
6
|
|
|
|
|
|
|
which => 'sint32'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=encoding utf-8 |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
SDL2::JoyDeviceEvent - Joystick device event structure |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 SYNOPSIS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
17
|
|
|
|
|
|
|
# TODO: I need to whip up a quick example |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 Fields |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=over |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=item C - C or C |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item C - In milliseconds, populated using L<< C|SDL2::FFI/C >> |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=item C - The joystick device index for the ADDED event, instance id for the REMOVED event |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=back |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 AUTHOR |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=begin stopwords |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=end stopwords |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
}; |
46
|
|
|
|
|
|
|
1; |