| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package SDL2::GameControllerButtonBind { | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | package SDL2::GameControllerButtonBind_Hat { | 
| 4 | 2 |  |  | 2 |  | 16 | use SDL2::Utils; | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 17 |  | 
| 5 |  |  |  |  |  |  | has hat => 'int', hat_mask => 'int'; | 
| 6 |  |  |  |  |  |  | }; | 
| 7 | 2 |  |  | 2 |  | 1115 | use SDL2::Utils; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 8 |  | 
| 8 |  |  |  |  |  |  | has | 
| 9 |  |  |  |  |  |  | button => 'int', | 
| 10 |  |  |  |  |  |  | axis   => 'int', | 
| 11 |  |  |  |  |  |  | hat    => 'opaque';    # GameControllerButtonBind_Hat | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | =encoding utf-8 | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =head1 NAME | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | SDL2::GameControllerButtonBind - SDL joystick layer binding | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | use SDL2 qw[:all]; | 
| 22 |  |  |  |  |  |  | # TODO: I need to whip up a quick example | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | Get the SDL joystick layer binding for this controller button/axis mapping. | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head1 Fields | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =over | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =item C | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =item C | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =item C | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | =back | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =head1 AUTHOR | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | Sanko Robinson Esanko@cpan.orgE | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =begin stopwords | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | =end stopwords | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | =cut | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | }; | 
| 52 |  |  |  |  |  |  | 1; |