| 1 | package Termbox::Event 0.12 { | ||
| 2 | use 5.020; | ||
| 3 | use strictures 2; | ||
| 4 | use warnings; | ||
| 5 | # | ||
| 6 | use FFI::Platypus::Record; | ||
| 7 | record_layout_1( | ||
| 8 | qw[ | ||
| 9 | uint8_t type | ||
| 10 | uint8_t mod | ||
| 11 | uint16_t key | ||
| 12 | uint32_t ch | ||
| 13 | int32_t w | ||
| 14 | int32_t h | ||
| 15 | int32_t x | ||
| 16 | int32_t y | ||
| 17 | ] | ||
| 18 | ); | ||
| 19 | } | ||
| 20 | 1; | ||
| 21 | __END__ |